
🇨🇳 Chinese

🇨🇳 Chinese
- OpenAI格式
- Anthropic
- Suno(音乐)
- Udio(音乐)
- Midjourney API文档(生图)
- Flux(生图)
- Recraft(生图)
- Ideogram(生图)
- Luma(视频)
- 官方API格式接口
- RixAPI格式接口
- Runway(视频)
- PIKA(视频)
- 可灵API(官方接口)
- Replicate 通用接口
- MiniMax海螺(视频)
生成视频
POST
/luma/generations
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
string
optional
Header Params
Content-Type
string
optional
Example:
application/json; charset=utf-8
string
optional
Authorization
string
optional
Default:
{{YOUR_API_KEY}}
Body Params application/json
user_prompt
string
deprecated
prompt
string
required
aspect_ratio
string
required
expand_prompt
boolean
optional
loop
boolean
required
image_url
string
deprecated
image_end_url
string
deprecated
keyframes
object
optional
frame0
object
首帧
frame1
object
尾帧
notify_hook
string
optional
task_id
string
required
Example
{
"prompt": "cat dance",
"aspect_ratio": "16:9",
"keyframes": {
"frame0": {
"type": "image",
"url": "https://www.shutterstock.com/image-photo/beautifull-red-black-bengal-tiger-260nw-2526207017.jpg"
}
}
}
Responses
🟢201成功
application/json
Body
created_at
string
required
estimate_wait_seconds
null
required
id
string
required
last_frame
null
required
liked
null
required
prompt
string
required
state
string
required
Examples:
completedpending
thumbnail
null
required
video
null
required
server_id
string
optional
Example
{
"created_at": "2024-07-22T12:47:28.553735Z",
"estimate_wait_seconds": null,
"id": "fc7fb008-7a5e-40ad-a7ff-dbb63db61be8",
"last_frame": null,
"liked": null,
"prompt": "cat dance",
"state": "pending",
"thumbnail": null,
"video": null
}
Modified at 2025-02-26 04:14:28