luma/ray-flash-2-720p ✓📝❓🖼️ → 🖼️

⭐ Official ▶️ 36.8K runs 📅 Mar 2025 ⚙️ Cog 0.16.7 ⚖️ License
camera-control text-to-video

About

Generate 5s and 9s 720p videos, faster and cheaper than Ray 2

Example Output

Prompt:

"A cinematic anime character intimate closeup, she is sitting at a cafe on a busy city street in the morning, it is cold"

Output

Performance Metrics

32.10s Prediction Time
32.11s Total Time
All Input Parameters
{
  "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"
}
Input Parameters
loop Type: booleanDefault: false
Whether the video should loop, with the last frame matching the first frame for smooth, continuous playback.
prompt (required) Type: string
Text prompt for video generation
concepts Type: 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, 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
duration Default: 5
Duration of the video in seconds
end_image Type: string
An optional last frame of the video to use as the ending frame.
start_image Type: string
An optional first frame of the video to use as the starting frame.
aspect_ratio Default: 16:9
Aspect ratio of the generated video
end_image_url Type: string
Deprecated: Use end_image instead
start_image_url Type: string
Deprecated: Use start_image instead
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
Using ray-flash-2 with resolution 720p
Moderating content...
Moderation complete in 0.20sec
Running prediction...
Generating video...
Generation parameters:
- prompt: A cinematic anime character intimate closeup, she is sitting at a cafe on a busy city street in the morning, it is cold
- aspect_ratio: 16:9
- loop: False
- model: ray-flash-2
- duration: 5s
- resolution: 720p
Completed...
Generated video in 31.53sec
VIDEO_GENERATION_ID: fbd233d2-0fc1-43c7-b022-7264abfaac28
Downloading 842683 bytes
Downloaded 0.80MB in 0.36sec
Version Details
Version ID
7ad07d41fdef1e170152304ef1daf1dd1d723500518e494968f73ee7e7375789
Version Created
September 24, 2025
Run on Replicate →