Luma AI
ModelAPI for Luma's Ray video model and Uni image models
- Price
- Pay per use
- Access
- API key (Bearer token)
About
The Luma Agents API serves Luma's own models through one async endpoint: Ray 3.2 for text-, image- and video-to-video, and uni-1 for image generation and editing. HDR and EXR video output is supported. It is pay per use with no free tier.
What you can do with it
- Generate video clips from a text prompt or start and end frames
- Edit a video with a prompt, or reframe it to a new aspect ratio
- Generate and edit images with up to 9 reference images
Get started
- Create an API key at platform.lumalabs.ai and add credits
- Submit a generation, then poll it until the state is completed
Example
curl -X POST https://agents.lumalabs.ai/v1/generations \
-H "Authorization: Bearer $LUMA_AGENTS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ray-3.2",
"type": "video",
"prompt": "A slow dolly shot through a misty greenhouse at sunrise",
"aspect_ratio": "16:9",
"video": { "resolution": "720p", "duration": "5s" }
}'Details
- Hosting
- Hosted service
- Available in
- Worldwide
- Official SDKs
- Python, JavaScript/TypeScript, Go
- MCP server
- None