infery
← All models

Ray 2 540p

ray-2-540p

Video generationby Luma

Luma Ray 2 540p generates realistic videos with coherent motion and physics-based simulations from text or image prompts. Use Ray 2 with an API.

Example

Details

Accepts
text + image

Pricing

Price
12.5 cr / second

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
loopbooleanWhether the video should loop, with the last frame matching the first frame for smooth, continuous playback.
promptrequiredstringText prompt for video generation
conceptsarrayList of camera concepts to apply to the video generation. Concepts include: truck_left, pan_right, pedestal_down, low_angle, pedestal_up, selfie, pan_left, roll_right, zoom_in, over_the_shoulder, orbit_right, orbit_left, static, tiny_planet, high_angle, bolt_cam, dolly_zoom, overhead, zoom_out, hand…
durationenum: 5, 9Duration of the video in seconds
end_imagestringAn optional last frame of the video to use as the ending frame.
start_imagestringAn optional first frame of the video to use as the starting frame.
aspect_ratioenum: 1:1, 3:4, 4:3, 9:16, 16:9, 9:21Aspect ratio of the generated video
end_image_urlstringDeprecated: Use end_image instead
start_image_urlstringDeprecated: Use start_image instead