Luma AI Text-to-Video
Generate Videos from Text or Images
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.
Authentication
All API requests require a Bearer token for authentication. Include your token in the Authorization header of each request.
Pricing
Each generation costs 500 000 AI/ML Tokens
API Reference
使用 Luma AI 根据提示生成视频,允许根据文本描述创建视频。
The aspect ratio of the image
16:9Whether to expand the prompt
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 oceanExample
Example
Example
使用 Luma AI 扩展现有视频,为视频项目创建附加内容。
The aspect ratio of the image
16:9Whether to expand the prompt
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 oceanExample
最后更新于