Luma AI (Dream Machine)
AI videos and images: Ray, Photon and generations
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- API keySecretRequired
Where to find them
- In Luma AI, open “API” → “Keys” and create a key (the API is paid separately from the app plan).
- Copy it.
Tools (1)
Luma AI (Dream Machine) API request
LUMALABS_SEND_REQUESTAuthenticated call to the Luma AI (Dream Machine) API (https://api.lumalabs.ai/dream-machine/v1). Any endpoint of the API is allowed. Examples: POST /generations {"prompt": "…", "model": "ray-2", "aspect_ratio": "16:9"}, GET /generations/{id}, GET /generations?limit=20, POST /generations/image {"prompt": "…", "model": "photon-1"}, GET /credits.
Required scopes
No scopes required
Input
Luma AI (Dream Machine) API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

