Imagen-3 (图片生成)
POST
/302/submit/google-imagen-3来自Google的Imagen-3模型
平均运行时长5-10s
价格:0.1 PTC/次
请求参数
Header 参数
Authorization
string
必需
示例值:
Bearer {{YOUR_API_KEY}}
Body 参数application/json
prompt
string
必需
aspect_ratio
string
必需
1:1
9:16
16:9
3:4
4:3
示例1
{
"prompt": "A portrait of an Asian woman with neon green lights in the background, shallow depth of field.",
"aspect_ratio": "1:1"
}
示例代码
返回响应
OK(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
completed_at
string
必需
created_at
string
必需
error
string
必需
id
string
必需
model
string
必需
output
string
必需
started_at
string
必需
status
string
必需
示例
{
"completed_at": "",
"created_at": "",
"error": "",
"id": "",
"model": "",
"output": "",
"started_at": "",
"status": ""
}
最后修改时间: 1 个月前