For accounts without a purchase: runs above 2 credits need a top-up.
New here?
10 free credits ($0.10) when you sign up with Google
Usable 24 hours after sign-up, up to 5 runs per day and at most 2 credits per run. Other sign-in methods start without credits.
02
Examples
Real outputs from the public examples of this model on Replicate, with the prompt and settings that produced them. They were not generated live on this page.
Prompt
A cinematic anime character intimate closeup, she is sitting at a cafe on a busy city street in the morning, it is cold
Length: 0:05
Settings
aspect_ratio
16:9
duration
5
Prompt
A polar bear swimming underwater
Length: 0:05
Settings
aspect_ratio
16:9
duration
5
Prompt
A snow leopard crouched on a rocky ledge, staring directly at camera, snowflakes falling around it
Length: 0:05
Settings
aspect_ratio
16:9
duration
5
Example prompts
Examples from the Railwail catalog. They were not generated live on this page.
Nature
Length: 0:05
Waves crashing on black sand beach
03
About Luma Ray Flash 2
TL;DRAs of September 23, 2026
Luma Ray Flash 2 is a model by Luma AI in the Video generation category. On Railwail, Luma Ray Flash 2 costs $0.072 per second of video. A default run of 5 seconds costs $0.36. Supported aspect ratios: 16:9, 9:16, and 1:1. Possible lengths: 5 or 9 s.
Background
About Luma AI
Founded 2021 ยท Palo Alto, USA
Luma AI, founded in 2021 by Amit Jain (ex-Apple) and Alex Yu (ex-UC Berkeley), began as a 3D / NeRF capture company before becoming a generative-video lab with the launch of Dream Machine in mid-2024. Luma followed with the Ray family of higher-fidelity models: Ray 1 (early 2025), Ray 2 (mid-2025) and Ray Flash 2 (late 2025). Ray Flash 2 is the speed-tier sibling of Ray 2: distilled and quantized for substantially faster and cheaper inference at near-Ray-2 visual quality. The Ray family is available via the Luma web app, the Luma API, and integrations such as Amazon Bedrock and Adobe Firefly partnerships. Luma's investors include a16z, Amplify Partners, NVIDIA and Matrix Partners, with a 2025 valuation above $4B.
Distilled latent video diffusion (DiT-style) speed tier
Luma Ray Flash 2 is the distilled, low-step variant of Ray 2, Luma's flagship video diffusion-transformer model. The base Ray 2 is a multi-billion-parameter latent video diffusion model with a transformer denoiser operating on a learned spatio-temporal latent space and conditioned on text embeddings (multilingual) and optional image embeddings. Flash 2 is produced via consistency-style distillation and quantization, compressing the sampler into far fewer denoising steps and reducing per-clip latency and cost while preserving most of Ray 2's prompt adherence and motion physics. Ray Flash 2 supports text-to-video, image-to-video (first frame), end-frame conditioning and 'extend' operations; output is 5-second clips at 720p / 24 fps with optional upscaling to 1080p.
Parameters
Undisclosed
Capabilities
Speed-tier distilled video model with near-Ray-2 quality
Text-to-video and image-to-video
First-frame and end-frame conditioning
5-second clips at 720p / 24 fps, upscalable to 1080p
Extend operations for ~20-second sequences
Strong cinematic camera moves and physics
Available via Luma web app, API and Amazon Bedrock
Lower cost per second than Ray 2
Best for: high-volume creative iteration, social shorts, ad creative.
Training & license
Closed corpus combining licensed stock footage, curated web video and synthetic data; bilingual captions from an in-house vision-language captioner. Exact dataset size undisclosed.
License: Proprietary commercial licence via Luma API and Bedrock terms.
Safety testing: NSFW, CSAM and likeness filters at prompt and output stage; SynthID-style watermarking via Bedrock.
curl https://railwail.com/api/v1/videos/generations \
-H "Authorization: Bearer $RAILWAIL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "luma-ray-flash",
"prompt": "A slow drone shot over a misty pine forest at sunrise"
}'
# Response: {"job_id": "...", "status": "queued", ...}
# Poll until status is completed, failed or cancelled:
curl https://railwail.com/api/v1/jobs/JOB_ID \
-H "Authorization: Bearer $RAILWAIL_API_KEY"
import os
import time
import requests
API = "https://railwail.com/api/v1"
headers = {"Authorization": f"Bearer {os.environ['RAILWAIL_API_KEY']}"}
job = requests.post(
f"{API}/videos/generations",
headers=headers,
json={
"model": "luma-ray-flash",
"prompt": "A slow drone shot over a misty pine forest at sunrise",
},
).json()
while True:
status = requests.get(f"{API}/jobs/{job['job_id']}", headers=headers).json()
if status["status"] in ("completed", "failed", "cancelled"):
break
time.sleep(5)
print(status["status"], status.get("output_url"))
const API = "https://railwail.com/api/v1";
const headers = {
Authorization: `Bearer ${process.env.RAILWAIL_API_KEY}`,
"Content-Type": "application/json",
};
const job = await fetch(`${API}/videos/generations`, {
method: "POST",
headers,
body: JSON.stringify({
model: "luma-ray-flash",
prompt: "A slow drone shot over a misty pine forest at sunrise"
}),
}).then((r) => r.json());
let status;
do {
await new Promise((r) => setTimeout(r, 5000));
status = await fetch(`${API}/jobs/${job.job_id}`, { headers }).then((r) => r.json());
} while (!["completed", "failed", "cancelled"].includes(status.status));
console.log(status.status, status.output_url);
Luma Ray Flash 2 is a model by Luma AI in the Video generation category. On Railwail you can call it with an API key through the Railwail API.
How much does Luma Ray Flash 2 cost on Railwail?
On Railwail, Luma Ray Flash 2 costs $0.072 per second of video. A default run of 5 seconds costs $0.36. The price is known before the run starts. Usage is paid from prepaid credits; 1 credit equals $0.01.
Which settings does Luma Ray Flash 2 support?
According to its input schema, Luma Ray Flash 2 knows these parameters: prompt, duration (5 or 9), end_image, start_image, and aspect_ratio (16:9, 9:16, or 1:1).
How fast is Luma Ray Flash 2?
There are not enough measured runs of Luma Ray Flash 2 on Railwail yet to state a run time. It depends on the input, the settings and the load at the provider.
Is Luma Ray Flash 2 better than Google Veo 3.1?
That depends on the task. Luma Ray Flash 2 (Luma AI) and Google Veo 3.1 (Google DeepMind) are both models in the Video generation category. The comparison page shows their prices and specifications side by side.
Create a Railwail API key and send your request with the model ID luma-ray-flash. Code examples for curl, Python and JavaScript are in the API section of this page.