Skip to main content
POST
Generate videos based on prompt and image frames

授权

Authorization
string
header
必填

请求头

accept
enum<string>

Luma Videos Param Accept

可用选项:
application/json

请求体

application/json
loop
boolean
默认值:false

Luma Videos Loop

action
enum<string>
默认值:generate

Luma Videos Action

可用选项:
generate,
extend
prompt
string

Luma Videos Prompt

示例:

"Astronauts shuttle from space to volcano"

timeout
number
默认值:300

Luma Videos Timeout

video_id
string

Luma Videos Video Id

aspect_ratio
string

Luma Videos Aspect Ratio

video_url
string

Luma Videos Video Url

enhancement
boolean
默认值:true

Luma Videos Enhancement

callback_url
string

Luma Videos Callback Url

async
boolean

Luma Videos Async

end_image_url
string

Luma Videos End Image Url

示例:

"https://cdn.acedata.cloud/0iad3k.png"

start_image_url
string

Luma Videos Start Image Url

示例:

"https://cdn.acedata.cloud/r9vsv9.png"

响应

Luma Videos Response 200

state
string

Luma Videos Response 200 State

prompt
string

Luma Videos Response 200 Prompt

success
boolean

Luma Videos Response 200 Success

task_id
string

Luma Videos Response 200 Task Id

video_id
string

Luma Videos Response 200 Video Id

video_url
string

Luma Videos Response 200 Video Url

video_width
number

Luma Videos Response 200 Video Width

video_height
number

Luma Videos Response 200 Video Height

thumbnail_url
string

Luma Videos Response 200 Thumbnail Url

thumbnail_width
number

Luma Videos Response 200 Thumbnail Width

thumbnail_height
number

Luma Videos Response 200 Thumbnail Height