Luma AI Dream Machine
Video Generationby Luma AI
AI video and image generation platform with Dream Machine for video and Photon for images. Offers both web and API access.
Registration & API Key Steps
Pricing
| Tier | Price | Features |
|---|---|---|
| Lite | $9.99/month | 3,200 credits/month, Priority processing, Basic features |
| Plus | $29.99/month | 10,000 credits/month, No watermark, Commercial use |
| Unlimited | $94.99/month | 10,000 fast + unlimited relaxed, All features, Top priority |
| API | $0.32/million pixels generated | Pay-as-you-go, Separate from web credits, REST API |
Application Tips
API Billing Separate
Web subscription credits do NOT apply to API usage. API is billed separately per pixel.
Credit Costs per Video
5-second video: ~170 credits. 10-second: ~340 credits. Image (Photon): 4 credits each.
20% Annual Discount
All plans offer ~20% discount for annual billing.
China Access Solutions
API Proxy
Use proxy in supported region for API access.
Third-Party via PiAPI
PiAPI.ai offers Luma Dream Machine API access with potentially better pricing.
Code Example
// Luma AI Dream Machine API
const createGeneration = await fetch('https://api.lumalabs.ai/dream-machine/v1/generations', {
method: 'POST',
headers: {
'Authorization': `Bearer ${process.env.LUMA_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
prompt: 'A majestic eagle soaring over snow-capped mountains at golden hour',
aspect_ratio: '16:9',
loop: false,
}),
});
const generation = await createGeneration.json();
console.log('Generation ID:', generation.id);
// Poll for status
const checkStatus = async (id: string) => {
const res = await fetch(`https://api.lumalabs.ai/dream-machine/v1/generations/${id}`, {
headers: { 'Authorization': `Bearer ${process.env.LUMA_API_KEY}` },
});
const data = await res.json();
if (data.state === 'completed') {
console.log('Video URL:', data.assets.video);
}
};Rate Limits
| Tier | Limits |
|---|---|
| Lite | 3,200 credits/month |
| Plus | 10,000 credits/month |
| API | Pay-as-you-go, rate limited |
Recommended Use Cases
Related API Guides
Runway Gen-3/Gen-4
Runway ML
Leading AI video generation with Gen-3 and Gen-4 models. Text-to-video, image-to-video, and editing.
Pika Labs
Pika
AI video generation platform with text-to-video and image-to-video capabilities. API access available through Fal.ai partnership.
OpenAI GPT-4o / GPT-4.1 / o3
OpenAI
OpenAI's flagship LLM family including GPT-4o for multimodal tasks, GPT-4.1 for long-context coding, and o3 for advanced reasoning. Industry-leading models with the largest developer ecosystem.
Anthropic Claude (Sonnet 4.5 / Opus 4.5)
Anthropic
Anthropic's Claude model family excels in nuanced reasoning, safety, and long-context tasks. Claude Sonnet 4.5 offers the best balance of cost and performance, while Opus 4.5 delivers frontier intelligence.