Skip to main content
Core.Today
|
LumaFastHigh

Luma Ray Flash 2 720p

Luma's Ray Flash 2 generates 5 or 9 second 720p videos faster and cheaper than Ray 2. Supports keyframe control via start and end images, seamless loops, and a rich library of camera motion concepts โ€” the first Luma model on the platform.

700 credits
per 5s video โ€” billed at 140 credits/second; duration is 5 or 9 seconds (9s = 1260)
Faster and cheaper than Ray 2 at 720p output
Keyframe control: anchor the first frame (start_image) and last frame (end_image)
Loop option for seamless, continuously repeating playback
34 camera motion concepts (orbit, dolly zoom, aerial drone, crane, and more)
7 aspect ratios from 1:1 to ultrawide 21:9

Run it right now

Test this model instantly in the Console Playground โ€” no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Quick Start

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "luma/ray-flash-2-720p",
  "input": {
    "loop": false,
    "prompt": "A cinematic anime character intimate closeup, she is sitting at a cafe on a busy city street in the morning, it is cold",
    "duration": 5,
    "aspect_ratio": "16:9"
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
promptstringYes-Text prompt for video generation
loopbooleanNofalseWhether the video should loop, with the last frame matching the first frame for smooth, continuous playback
conceptsarrayNo-List of camera concepts to apply, e.g. orbit_left, dolly_zoom, aerial_drone, crane_up, push_in, handheld, tiny_planet (34 total)
durationintegerNo5Duration of the video in seconds
59
end_imagestringNo-An optional last frame of the video to use as the ending frame
start_imagestringNo-An optional first frame of the video to use as the starting frame
aspect_ratiostringNo16:9Aspect ratio of the generated video
1:13:44:39:1616:99:2121:9
end_image_urlstringNo-Deprecated: Use end_image instead
start_image_urlstringNo-Deprecated: Use start_image instead

How to Provide File Input

There are 3 ways to provide files for the end_imagestart_image parameters:

Recommended

Direct Upload (Multipart)

Attach files directly to POST /v1/predictions/upload. No separate upload step needed.

curl -X POST "https://api.core.today/v1/predictions/upload" \
  -H "X-API-Key: cdt_your_api_key" \
  -F "model=luma/ray-flash-2-720p" \
  -F 'input={"prompt":"your prompt here"}' \
  -F "file:end_image=@your_file.png"

Image URL

Pass a publicly accessible URL directly. You can also use file_url from the Storage API.

{
  "model": "luma/ray-flash-2-720p",
  "input": {
    "prompt": "your prompt here",
    "end_image": "https://example.com/image.jpg"
  }
}
See the File Upload docs for more upload methods including Presigned URLs.

Common Parameters

Common parameters used when calling POST /v1/predictions.

ParameterTypeRequiredDefaultDescription
modelstringYes-Model identifier
inputobjectYes-Object containing the model-specific parameters from the table above
output_folderstringNo-Folder path for output files (max 256 chars, '..' not allowed)
webhook_urlstringNo-Webhook URL to call on completion
is_publicbooleanNofalseIf true, output files are also available via permanent public URLs

Examples

Cinematic Anime Close-up (5s)

Text-to-video at the default 5 second duration โ€” 450 credits

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "luma/ray-flash-2-720p",
  "input": {
    "loop": false,
    "prompt": "A cinematic anime character intimate closeup, she is sitting at a cafe on a busy city street in the morning, it is cold",
    "duration": 5,
    "aspect_ratio": "16:9"
  }
}'

Seamless Loop with Camera Orbit

A looping clip with an orbiting camera concept, ideal for background video

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "luma/ray-flash-2-720p",
  "input": {
    "prompt": "A glass terrarium with a miniature rainforest inside, soft mist drifting between tiny trees",
    "loop": true,
    "duration": 5,
    "aspect_ratio": "1:1",
    "concepts": [
      "orbit_left"
    ]
  }
}'

Tips & Best Practices

1Billing is 90 credits/second: a 5s clip costs 450 and a 9s clip costs 810 โ€” default to 5s unless you truly need the longer cut
2Use start_image and end_image together for keyframed transitions between two specific frames
3Enable loop for background videos โ€” the last frame matches the first for seamless playback
4concepts gives you precise camera language (dolly_zoom, crane_up, aerial_drone) that is hard to reach with prompts alone
5Use start_image/end_image, not the deprecated start_image_url/end_image_url fields

Use Cases

Seamless looping backgrounds for websites and digital signage
Keyframed transitions between two brand images or product shots
Cinematic camera moves (orbit, crane, dolly zoom) without a film crew
Image-to-video animation anchored on a start frame
Ultrawide 21:9 clips for hero banners and trailers