Omnigen-V1(图片生成)
POST
/302/submit/omnigen-v1开源版图片生成模型Omnigen
平均运行时长20-30s
价格:0.1 PTC/次
请求参数
Header 参数
Authorization
string
必需
示例值:
Bearer {{YOUR_API_KEY}}
Body 参数application/json
prompt
string
必需
negative_prompt
string
可选
image_size
object
可选
width
integer
必需
height
integer
必需
num_inference_steps
integer
可选
guidance_scale
number
可选
output_format
string
可选
seed
integer
可选
示例1
{
"prompt": "A dog",
"negative_prompt": "",
"image_size": {
"width": 1024,
"height": 768
},
"num_inference_steps": 25,
"guidance_scale": 3,
"output_format": "jpeg"
}
示例代码
返回响应
OK(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{}
最后修改时间: 8 天前