LumaAI
AI API keyGenerate video and images with Luma Dream Machine from any Windmill script, flow or app.
Set up in 3 steps
1
Create an API key
In the Luma dashboard, open API Keys and create one.
2
Add the resource in Windmill
Open Resources, add a resource of type lumaai, and paste the key.
3
Run your first script
Fork any script below and read before writing anything.
Scripts
Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.
Upscale a generation
Script lumaai Verified
Ping
Script lumaai Verified
List generations
Script lumaai Verified
Get credits
Script lumaai Verified
Get camera motions
Script lumaai Verified
Get a generation
Script lumaai Verified
Generate an image
Script lumaai Verified
Delete a generation
Script lumaai Verified
Create a generation
Script lumaai Verified
Add audio to a generation
Script lumaai Verified
Resource type
lumaai — the shape of the credential every script on this page expects.
| Field | Type | Required | What it is |
|---|---|---|---|
| apiKey | string | Yes | API key retrieved from LUMA dashboard. |
Questions
Generation is asynchronous
A generation call returns an id and a state. Poll it until it completes — video takes minutes, not seconds.
Generation costs credits
Every video draws on your Luma balance, and a failed generation can still consume it.
Is my key stored on the hub?
Never. It lives only in your own Windmill workspace, encrypted at rest.