AI video API · Luma
Ray 2 API pricing per second
Generate video with Luma's Ray 2 through the Cut.Pro API. You see the price before you generate and pay only for what you use.
- Pay as you go, no subscription
- 15 free credits on a new account
- Free quote before every call
From$0.36per secondR$1.20 · 21 credits5 seconds at 720p: $1.79Updated November 29, 2026
Pricing
Ray 2 pricing by mode and resolution
| Mode | Resolution | Price per second | In reais | Credits |
|---|---|---|---|---|
| Text only | 720p | $0.36 | R$1.20 | 21 credits |
| Text only | 1080p | $0.81 | R$2.70 | 46 credits |
Updated November 29, 2026. Prices use the largest credit pack, the lowest price per credit: 1 credit costs $0.0179 (R$0.0599).
Limits
What Ray 2 accepts in each request
- Modes
- Text only
- Duration
- 5 or 9 seconds
- Resolutions
- 720p, 1080p
- Aspect ratios
- 21:9, 16:9, 4:3, 1:1, 3:4, 9:16
Code
How to call Ray 2 free quote, generation and result
BODY='{"model":"luma/ray-2","prompt":"a dog surfing at sunset","seconds":5,"resolution":"720p","aspect_ratio":"9:16"}'
CREDITS=$(curl -s -X POST https://api.cut.pro/api/v1/generations/quote \
-H "X-Api-Key: $CUTPRO_API_KEY" \
-H "Content-Type: application/json" \
-d "$BODY" | jq .credits)
curl -X POST "https://api.cut.pro/api/v1/generations?wait=60" \
-H "X-Api-Key: $CUTPRO_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d "$(jq -c --argjson credits "$CREDITS" '. + {credits: $credits}' <<< "$BODY")"const api = "https://api.cut.pro/api/v1";
const headers = { "X-Api-Key": process.env.CUTPRO_API_KEY, "Content-Type": "application/json" };
const body = {
model: "luma/ray-2",
prompt: "a dog surfing at sunset",
seconds: 5,
resolution: "720p",
aspect_ratio: "9:16",
};
const quote = await fetch(`${api}/generations/quote`, { method: "POST", headers, body: JSON.stringify(body) }).then((res) => res.json());
let generation = await fetch(`${api}/generations?wait=60`, {
method: "POST",
headers: { ...headers, "Idempotency-Key": crypto.randomUUID() },
body: JSON.stringify({ ...body, credits: quote.credits }),
}).then((res) => res.json());
while (generation.status === "processing") {
generation = await fetch(`${api}/generations/${generation.id}?wait=60`, { headers }).then((res) => res.json());
}
console.log(generation.outputs[0]?.url ?? generation.error_code);import os, uuid, requests
API = "https://api.cut.pro/api/v1"
headers = {"X-Api-Key": os.environ["CUTPRO_API_KEY"]}
body = {
"model": "luma/ray-2",
"prompt": "a dog surfing at sunset",
"seconds": 5,
"resolution": "720p",
"aspect_ratio": "9:16",
}
quote = requests.post(f"{API}/generations/quote", json=body, headers=headers).json()
generation = requests.post(
f"{API}/generations",
params={"wait": 60},
json={**body, "credits": quote["credits"]},
headers={**headers, "Idempotency-Key": str(uuid.uuid4())},
).json()
while generation["status"] == "processing":
generation = requests.get(f"{API}/generations/{generation['id']}", params={"wait": 60}, headers=headers).json()
print(generation["outputs"][0]["url"] if generation["status"] == "ready" else generation["error_code"])Read the docsQuestions
API questions before your first call
- At 720p, each second costs $0.36 and a minute comes to $21.52 (R$72.02, 1,203 credits). Each generation runs 5 or 9 seconds.
- Create an account, generate an API key, and request a free quote. The smallest Ray 2 generation costs 101 credits, more than the 15 free credits, so you can use them to try a lower-cost model in the catalog.
- No. Buy a credit pack by card, or in reais with Pix from Brazil, and spend it on Ray 2 and every other model with the same key.
- No. The Cut.Pro key calls Ray 2 without a Luma account, with one balance for every model in the catalog.
- Yes. With a CPF or CNPJ and full address in your billing details, the nota fiscal is issued after each payment is confirmed.
Still missing one? Help center
Compare
Other models of the same kind
- Luma Ray 3.2Luma · from $0.17 per secondSee price
- Wan 3Alibaba · from $0.095 per secondSee price
- Kling O3 ProKling · from $0.24 per secondSee price
- Kling 3.0 ProKling · from $0.24 per secondSee price
- Kling 3.0 StandardKling · from $0.18 per secondSee price
- Seedance 2.0 FastByteDance · from $0.0688 per secondSee price
Generate with Ray 2 today
Create a key, get a free quote and pay only for what you generate.
Create API key