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