Skip to main content

Luma AI - Image to Video

Generate high-quality videos from images using Luma AI's Dream Machine model. Transform static images into dynamic videos with customizable motion and prompt enhancement capabilities.

Note: Image files must first be uploaded using the Asset API before processing. The imageUrl parameter should contain the path returned from the Asset API upload.

Endpoint

Request Headers

FieldValue
API-KEY<api-key>
Content-Typeapplication/json

Request Parameters

Field NameTypeExampleDescriptionRequired
typestringIMAGE_TO_VIDEOFeature identifier✔️
modelstringlumaAI model to use✔️
conversationIdstringIMAGE_TO_VIDEOConversation context✔️
promptObject.imageUrlstringimages/example.jpgSource image path from Asset API upload✔️
promptObject.promptstringgentle waves movingText description of desired motion/scene✔️
promptObject.lengthnumber5Length of video in seconds✔️
promptObject.enhancePromptbooleantrueEnable AI prompt enhancement for better results✔️

Code Examples

curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "IMAGE_TO_VIDEO",
"model": "luma",
"conversationId": "IMAGE_TO_VIDEO",
"promptObject": {
"imageUrl": "images/2025_10_22_07_10_43_846_elon-musk.jpg",
"prompt": "gentle waves moving across a serene lake with soft sunlight",
"length": 5,
"enhancePrompt": true
}
}'

Interactive Playground

API Playground

https://api.1min.ai/api/features
Path to the source image file uploaded via Asset API
Describe the motion and animation you want to see in the video
Choose the duration for your generated video
Let AI transform your simple concepts into detailed prompts

Generated cURL Command:

curl -X POST "https://api.1min.ai/api/features" \
-H "API-KEY: <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"type": "IMAGE_TO_VIDEO",
"model": "luma",
"conversationId": "IMAGE_TO_VIDEO",
"promptObject": {
"imageUrl": "images/2025_10_22_07_10_43_846_elon-musk.jpg",
"prompt": "gentle waves moving across a serene lake with soft sunlight",
"length": 5,
"enhancePrompt": true
}
}'

Response

{}