Luma Dream Machine

New
Replicate
Video Generation

Luma AI's video generation model. Fast, high-quality video creation with strong physics simulation.

Examples

See what Luma Dream Machine can generate

0:10

Physics Simulation

"A glass marble rolling down a complex wooden marble run with loops and jumps, realistic physics with momentum and gravity, the marble catching light as it spins, satisfying ASMR-style close-up shots"

0:08

Weather Transition

"A peaceful countryside meadow transitioning from bright sunny day to dramatic thunderstorm, clouds rolling in rapidly, wind bending the tall grass, first raindrops hitting a pond surface, time-lapse style"

Try Luma Dream Machine

Your generated video will appear here

Sign up free to start generating
Get Started

Pricing

Price per Generation
Per generation€4.00

API Integration

Use our OpenAI-compatible API to integrate Luma Dream Machine into your application.

Install
npm install railwail
JavaScript / TypeScript
import railwail from "railwail";

const rw = railwail("YOUR_API_KEY");

// Simple — just pass a string
const reply = await rw.run("luma-dream-machine", "Hello! What can you do?");
console.log(reply);

// With message history
const reply2 = await rw.run("luma-dream-machine", [
  { role: "system", content: "You are a helpful assistant." },
  { role: "user", content: "Explain quantum computing simply." },
]);
console.log(reply2);

// Full response with usage info
const res = await rw.chat("luma-dream-machine", [
  { role: "user", content: "Hello!" },
], { temperature: 0.7, max_tokens: 500 });
console.log(res.choices[0].message.content);
console.log(res.usage);
Specifications
Avg. latency
90.0s
Est. duration
2min
Provider
Replicate
Category
Video Generation
Supported Formats
mp4
Tags
fast
physics
Try this model

Free credits on sign-up

Start using Luma Dream Machine today

Get started with free credits. No credit card required. Access Luma Dream Machine and 100+ other models through a single API.