Luma Ray-2 720p
luma-ray-2-720pLuma Labs' Ray-2 at 720p on Replicate. Text and image-to-video producing 5s and 9s clips with fast, coherent motion and strong camera control. Successor to Dream Machine.
- Price
- $0.216/s
- Aspect ratios
- 16:9, 9:16, 1:1, 4:3, 3:4, 21:9
- Duration
- 5 or 9 s
- Input โ output
- Text + Image โ Video
- Developer
- Luma AI
- Updated
- September 23, 2026
Playground
Try Luma Ray-2 720p
Input & output
This run
$1.08 ยท 108 credits
Billed: 5 s
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.
Examples
Prompt
A pirate ship in a raging sea
Length: 0:05
Settings
- aspect_ratio
- 16:9
- duration
- 5
Prompt
Aggressive camera circles Russian ballet performance in grand setting
Length: 0:05
Settings
- aspect_ratio
- 16:9
- duration
- 5
Prompt
Chaotic camera ducks between breakdancers battling, spotlights pulsing overhead
Length: 0:05
Settings
- aspect_ratio
- 16:9
- duration
- 5
About Luma Ray-2 720p
Luma Ray-2 720p is a model by Luma AI in the Video generation category. On Railwail, Luma Ray-2 720p costs $0.216 per second of video. A default run of 5 seconds costs $1.08. Supported aspect ratios: 16:9, 9:16, 1:1, 4:3, 3:4, and 21:9. Possible lengths: 5 or 9 s.
Pricing
| Per second | $0.216 per second of video |
|---|---|
| Default run (5 s) | $1.08 per run |
- 1 credit = $0.01
Cost calculator
Price calculator
Total
$108.00
10,800 credits
Per run
$1.08 ยท 108 credits
billed as 5 s
Fixed price per run, known before the run starts.
API
curl https://railwail.com/api/v1/videos/generations \
-H "Authorization: Bearer $RAILWAIL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "luma-ray-2-720p",
"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-2-720p",
"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-2-720p",
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);Videos run asynchronously: the first call returns a job_id; query /api/v1/jobs/JOB_ID until the status is completed.
Specifications
- Model ID
luma-ray-2-720p- Developer
- Luma AI
- Category
- Video generation
- Input
- Text, Image
- Output
- Video
- Aspect ratios
- 16:9, 9:16, 1:1, 4:3, 3:4, 21:9
- Duration
- 5 or 9 s
- Billing
- Fixed price, known before the run
- Catalog entry updated
- September 23, 2026
Input parameters
Inputs and settings from the model's input schema. The example in the API section shows which of them the API accepts.
promptrequiredWhat video to generate
Type: TextDefault: โAllowed values: up to 2,000 charactersseedOptional seed for reproducibility
Type: IntegerDefault: โAllowed values: โend_imageLast frame of the video; needs a first frame (image_url or start_image) through the API
Type: TextDefault: โAllowed values: โstart_imageOptional reference image for image-to-video
Type: TextDefault: โAllowed values: โaspect_ratioType: ChoiceDefault:16:9Allowed values: 16:9, 9:16, 1:1, 4:3, 3:4, or 21:9duration_secType: ChoiceDefault:5Allowed values: 5 or 9
Tags
- replicate
- luma
- ray-2
- text-to-video
- image-to-video
- flagship
Use cases
Frequently asked questions
What is Luma Ray-2 720p?
Luma Ray-2 720p 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-2 720p cost on Railwail?
On Railwail, Luma Ray-2 720p costs $0.216 per second of video. A default run of 5 seconds costs $1.08. The price is known before the run starts. Usage is paid from prepaid credits; 1 credit equals $0.01.
Which settings does Luma Ray-2 720p support?
According to its input schema, Luma Ray-2 720p knows these parameters: prompt (up to 2,000 characters), seed, end_image, start_image, aspect_ratio (16:9, 9:16, 1:1, 4:3, 3:4, or 21:9), and duration_sec (5 or 9).
How fast is Luma Ray-2 720p?
There are not enough measured runs of Luma Ray-2 720p on Railwail yet to state a run time. It depends on the input, the settings and the load at the provider.
Is Luma Ray-2 720p better than Google Veo 3.1?
That depends on the task. Luma Ray-2 720p (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.
Compare Luma Ray-2 720p and Google Veo 3.1Can Luma Ray-2 720p use an image as input?
Yes. Send the image in the end_image parameter.
How do I use Luma Ray-2 720p through the API?
Create a Railwail API key and send your request with the model ID luma-ray-2-720p. Code examples for curl, Python and JavaScript are in the API section of this page.
Comparable models
All in this category- Google Veo 2Google DeepMind
Google's state-of-the-art video generation model. Simulates real-world physics with various visual styles.
- Google Veo 3 (Replicate)Google DeepMind
Google's Veo 3 served via Replicate. Text-to-video with native synchronized audio generation. High-fidelity motion and scene coherence in short clips.
- Google Veo 3.1Google DeepMind
Latest Veo with image-to-video and context-aware audio
Use Luma Ray-2 720p via the API
One API key for every model on Railwail. Usage is charged from prepaid credits, 1 credit = $0.01.