Luma 1 (Text-to-Video) [legacy]
Description for Luma AI Text-to-Video model: Pricing, API Reference, Examples.
Overview
The Luma AI Dream Machine API allows developers to generate, retrieve, and extend AI-generated content using a variety of inputs. This API is particularly useful for creative applications, such as generating visual content from text prompts.
Each generation costs 500 000 AI/ML Tokens.
Setup your API Key
If you don’t have an API key for the AI/ML API yet, feel free to use our Quickstart guide.
How to Make a Call
API Schemas
Generate Video
Bearer key
ray-1-6Possible values: The aspect ratio of the image
16:9Possible values: Whether to expand the prompt
falseExample: trueThe URL for the end of the image
https://example.com/image-end.jpgThe URL of the main image
https://example.com/main-image.jpgThe user-provided prompt for image generation
A beautiful sunset over the oceanNo content
Example
Fetch Generations
Bearer key
Array of UUID strings or string with comma-separated UUID strings
No content
No content
Example
Extend Video
Extend allows you to effortlessly add length to an existing video.
Bearer key
No content
Example
Last updated
Was this helpful?