# Luma Ray Flash 2 720p > Generate 5s and 9s 720p videos, faster and cheaper than Ray 2 - **Provider**: replicate - **Model ID**: luma/ray-flash-2-720p - **Category**: video_generation - **Credits**: 700 per request - **Pricing Type**: input_based ## API Endpoint Base URL: https://api.core.today/v1 ### Create Prediction POST /predictions ### Get Status GET /predictions/{job_id} ### Cancel DELETE /predictions/{job_id} ## Authentication Header: `X-API-Key: YOUR_API_KEY` ## Input Parameters - `start_image_url` (string, optional): Deprecated: Use start_image instead - `loop` (boolean, optional): Whether the video should loop, with the last frame matching the first frame for smooth, continuous playback. (Default: `False`) - `end_image_url` (string, optional): Deprecated: Use end_image instead - `prompt` (string, **required**): Text prompt for video generation - `end_image` (string, optional): An optional last frame of the video to use as the ending frame. - `concepts` (array, optional): 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, handheld, roll_left, pov, aerial_drone, push_in, crane_down, truck_right, tilt_down, elevator_doors, tilt_up, ground_level, pull_out, aerial, crane_up, eye_level - `aspect_ratio` (string, optional): Aspect ratio of the generated video (Default: `16:9`; Options: `1:1`, `3:4`, `4:3`, `9:16`, `16:9`, `9:21`, `21:9`) - `start_image` (string, optional): An optional first frame of the video to use as the starting frame. - `duration` (integer, optional): Duration of the video in seconds (Default: `5`; Options: `5`, `9`) ## Example Request ```json { "model": "luma/ray-flash-2-720p", "input": { "duration": 5, "aspect_ratio": "16:9", "prompt": "A cinematic anime character intimate closeup, she is sitting at a cafe on a busy city street in the morning, it is cold", "loop": false } } ``` ## Response Format ```json { "job_id": "abc123", "status": "pending", "provider": "replicate", "model": "black-forest-labs/flux-schnell", "created_at": "2026-01-01T00:00:00Z", "result": null, "error": null } ``` Status values: `pending`, `processing`, `completed`, `failed`, `cancelled` ## Usage Flow 1. POST /predictions with model and input → receive job_id 2. Poll GET /predictions/{job_id} until status is `completed` or `failed` 3. Result contains output URL(s) or data ## Output Type url ## Tags luma, ray, video-generation, fast, image-to-video, text-to-video, keyframes ## Documentation https://replicate.com/luma/ray-flash-2-720p