← All models
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
| Field | Type | Description |
|---|---|---|
| loop | boolean | Whether the video should loop, with the last frame matching the first frame for smooth, continuous playback. |
| promptrequired | string | Text prompt for video generation |
| concepts | array | List 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… |
| duration | —enum: 5, 9 | Duration of the video in seconds |
| end_image | string | An optional last frame of the video to use as the ending frame. |
| start_image | string | An optional first frame of the video to use as the starting frame. |
| aspect_ratio | —enum: 1:1, 3:4, 4:3, 9:16, 16:9, 9:21… | Aspect ratio of the generated video |
| end_image_url | string | Deprecated: Use end_image instead |
| start_image_url | string | Deprecated: Use start_image instead |