Video generation API
Luma Ray3.2 API
Luma Ray3.2 video via Runware. Text-to-video, or image-to-video with a start frame and an optional end frame. 5 or 10 seconds, 360p to 1080p, silent.
Pay as you go, no subscription.
- Image to video
Quickstart
Three steps from zero to a finished file.
- 1
- 2
Send one request
POST your input to the endpoint. You get a job ID back right away.
- 3
Collect the result
Poll the status URL or pass a webhook. The finished file arrives as a link.
Or let your AI coding tool do it
Copy this prompt into Claude Code, Cursor or Codex. It reads our docs and writes the code.
Add the Pixel Dojo Luma Ray3.2 API to this project. Read https://pixeldojo.ai/llm/luma-ray-3-2.txt for the endpoint, inputs and prices, and https://pixeldojo.ai/llm.txt for auth, job status and webhooks. Read the key from the PIXELDOJO_API_KEY environment variable. Write one function that submits a job, waits for it to finish and returns the file URL, with errors handled.
https://pixeldojo.ai/api/v1/models/luma-ray-3-2/runcurl -X POST "https://pixeldojo.ai/api/v1/models/luma-ray-3-2/run" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A red sports car drifts around a wet mountain bend at dusk, tracking camera, spray from the tires",
"resolution": "720p",
"aspect_ratio": "16:9",
"duration": 5
}'Want the file in one call? Add ?wait=60 to the URL. The request waits for the job and returns the result.
Pricing
You pay per second of video. Every setting is in the table.
| Setting | Per second | 5 second clip |
|---|---|---|
| 360p | $0.031 | $0.16 |
| 540p | $0.063 | $0.31 |
| 720p | $0.125 | $0.63 |
| 1080p | $0.469 | $2.34 |
Pay as you go
Top up from $5. No subscription and no minimum.
Failed runs cost nothing
If a run fails, you get the money back on its own.
Know the price first
Add
?dry_run=trueto any request to get its price. Nothing is charged.
Try it
Run a real request and see the exact input and output your code will handle. It is charged like any API call.
Made with this API
Real outputs. Open one to see the request that made it.
Aerial drone shot gliding low over turquoise waves breaking on a white sand beach at golden hour, palm shadows on the sand
Reference
Every input the endpoint takes, and what comes back.
Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
promptrequiredstringWhat happens in the clip: subject, motion, camera move, light and mood. | string | What happens in the clip: subject, motion, camera move, light and mood. | - |
imageurlOptional first frame. The clip follows the picture's shape and is 5 seconds long. | url | Optional first frame. The clip follows the picture's shape and is 5 seconds long. | - |
last_frame_imageurlOptional last frame. Requires image. | url | Optional last frame. Requires image. | - |
resolutionenum · default 720pOutput resolution. 360p is a cheap draft.360p540p720p1080p | enum | Output resolution. 360p is a cheap draft.360p540p720p1080p | 720p |
aspect_ratioenum · default 16:9Output shape for text-to-video. Ignored when a start frame is given.16:99:161:14:33:4+1 more | enum | Output shape for text-to-video. Ignored when a start frame is given.16:99:161:14:33:4+1 more | 16:9 |
durationenum · default 5Clip length in seconds. Must be 5 when a start frame is given.510 | enum | Clip length in seconds. Must be 5 when a start frame is given.510 | 5 |
What comes back
When you submit (202)
{
"jobId": "job_abc123...",
"status": "pending",
"statusUrl": "https://pixeldojo.ai/api/v1/jobs/job_abc123...",
"priceUsd": 0.625,
"creditCost": 10,
"creditsRemaining": 95,
"expiresAt": "2026-12-05T01:55:10Z"
}When it finishes
{
"jobId": "job_abc123...",
"status": "completed",
"output": {
"video": "https://temp.pixeldojo.ai/pixeldojotemp/1705930123-456789.mp4"
},
"creditCost": 10,
"expiresAt": "2026-12-05T01:55:10Z"
}priceUsd is what the run cost, in dollars. The credit fields show the same charge and your balance in account credits.
Use saved characters (@Name)
This model takes no reference images, so @Name of a saved character is refused (400) before anything is charged. A saved location, prop or style with a description is inserted as text. For saved characters, use a model that takes reference images, such as Nano Banana Pro or Seedream 5 for images, or Seedance 2.5 or WAN 3.0 for video.
Aspect ratios
Built for AI agents
Hand these to a coding assistant and it can write the integration for you.
Questions
How much does the Luma Ray3.2 API cost?
From $0.031 a second. The table above has the price for every setting, and each job's response shows what it cost.
Do I need a subscription?
No. Top up from $5 and pay only for what you run.
Can I see the price before I run something?
Yes. Add ?dry_run=true to the request. You get its price back. Nothing is charged and no job starts.
Do I pay for a run that fails?
No. If a run fails, you get the money back on its own.
How long do output links last?
One hour. Download the file in that time, or call the save endpoint to keep it in your library.
Can an AI assistant use this model?
Yes. Connect Claude, ChatGPT or any agent to our MCP server at https://pixeldojo.ai/mcp. Or give it the docs file for this model.
More video APIs
Same key, same request shape. Switch models by changing one word in the URL.
MiniMax H3 Turbo API
From $0.060 a second
WAN 3.0 API
From $0.069 a second
Seedance 2.5 API
From $0.375 a second
WAN 2.2 Image-to-Video API
From $0.044 a second
Seedance 2 Reference API
From $0.25 a second
P-Video 2 Pro API
From $0.188 a second
P-Video 2 Pro Reference API
From $0.078 a second
MiniMax H3 API
From $0.25 a second
Start building
Get an API key
One key works for every model.
See usage
Requests, spend and logs.
Top up
Add money to your balance, from $5.