You're looking at a specific version of this model. Jump to the model overview.

luma /ray-flash-2-540p:4f9b34fa

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
prompt
string
Text prompt for video generation
start_image_url
string
URL of an image to use as the starting frame
end_image_url
string
URL of an image to use as the ending frame
duration
None
5
Duration of the video in seconds
aspect_ratio
None
16:9
Aspect ratio of the generated video
loop
boolean
False
Whether the video should loop, with the last frame matching the first frame for smooth, continuous playback.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}