För konton utan tidigare köp: körningar över 2 credits kräver en påfyllning.
Ny här?
10 gratis credits (0,10 US$) när du registrerar dig med Google
Användbar 24 timmar efter registrering, upp till 5 körningar per dag och högst 2 credits per körning. Andra inloggningsmetoder startar utan 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
Längd: 0:05
Settings
aspect_ratio
16:9
duration
5
Prompt
A polar bear swimming underwater
Längd: 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
Längd: 0:05
Settings
aspect_ratio
16:9
duration
5
Exempelprompts
Exempel från Railwail-katalogen. De genererades inte live på denna sida.
Nature
Längd: 0:05
Waves crashing on black sand beach
03
Om Luma Ray Flash 2
Kort sagtFrån och med 23 september 2026
Luma Ray Flash 2 är en modell av Luma AI i kategorin Videogenerering. På Railwail kostar Luma Ray Flash 2 0,072 US$ per videosekund. En standardkörning på 5 sekunder kostar 0,36 US$. Bildförhållanden som stöds: 16:9, 9:16 och 1:1. Möjliga längder: 5 eller 9 s.
Bakgrund
Om Luma AI
Grundat 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.
Parameter
Undisclosed
Funktioner
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.
Träning & licens
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.
Licens: Proprietary commercial licence via Luma API and Bedrock terms.
Säkerhetstestning: 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 är en modell av Luma AI i kategorin Videogenerering. På Railwail kan du anropa den med en API-nyckel via Railwail API.
Vad kostar Luma Ray Flash 2 på Railwail?
På Railwail kostar Luma Ray Flash 2 0,072 US$ per videosekund. En standardkörning på 5 sekunder kostar 0,36 US$. Priset är känt innan körningen startar. Användningen betalas från förbetald kredit; 1 kredit motsvarar 0,01 US$.
Vilka inställningar stöder Luma Ray Flash 2?
Enligt sitt inmatningsschema känner Luma Ray Flash 2 till dessa parametrar: prompt, duration (5 eller 9), end_image, start_image och aspect_ratio (16:9, 9:16 eller 1:1).
Hur snabb är Luma Ray Flash 2?
Det finns ännu inte tillräckligt många uppmätta körningar av Luma Ray Flash 2 på Railwail för att ange en körningstid. Det beror på inmatningen, inställningarna och belastningen hos leverantören.
Är Luma Ray Flash 2 bättre än Google Veo 3.1?
Det beror på uppgiften. Luma Ray Flash 2 (Luma AI) och Google Veo 3.1 (Google DeepMind) är båda modeller i kategorin Videogenerering. Jämförelsesidan visar deras priser och specifikationer sida vid sida.
Kan Luma Ray Flash 2 använda en bild som inmatning?
Ja. Skicka bilden i parametern end_image.
Hur använder jag Luma Ray Flash 2 via API:et?
Skapa en Railwail API-nyckel och skicka din begäran med modell-ID:t luma-ray-flash. Kodexempel för curl, Python och JavaScript finns i API-avsnittet på denna sida.