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