Luma-Photon(图片生成)
POST
/302/submit/luma-photon来自Luma的图片生成模型、
介绍:https://lumalabs.ai/photon
价格:0.05 PTC/次
请求参数
Header 参数
Authorization
string
必需
示例值:
Bearer {{YOUR_API_KEY}}
Body 参数application/json
prompt
string
绘画提示词
aspect_ratio
string
可选
16:9
9:16
1:1
4:3
3:4
21:9
9:21
示例1
{
"prompt": "A plate of sushi, where the fish is replaced with translucent ocean waves and tiny surfers ride on top.",
"aspect_ratio": "16:9"
}
示例代码
返回响应
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": ""
}
最后修改时间: 3 个月前