Submit Video Generation Task
POST
/luma/generations
- Submit a Luma video generation task
- Official docs: https://docs.lumalabs.ai/docs/video-generation
Authorizations
bearer
Type
HTTP (bearer)
Request Body
application/json
user_prompt
string
Required
Required. User prompt or question description
expand_prompt
boolean
Optional. Prompt expansion toggle
loop
boolean
Optional. Whether to loop the reference image
image_url
string
Optional. Reference image URL
image_end_url
string
Optional. Target keyframe image URL
notify_hook
string
Optional. Webhook URL when processing completes
resolution
string
720p or 1080p; default 720p
duration
string
Duration supports 5s only
model_name
string
ray-v1, ray-v2 (shown as ray1.6, ray2 in official docs)
Responses
Success
application/json
object
code
integer
Required
message
string
Required
request_id
string
Required
data
object
Required