Skip to main content

Luma AI - Image to Video

Generate high-quality videos from images using Luma AI's powerful image-to-video generation model.

Model Information

  • Model ID: luma
  • Display Name: Luma AI
  • Provider: Luma AI

API Usage

API Playground

https://api.1min.ai/api/features
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": {
"image": "<base64-encoded-image-or-url>",
"prompt": "A person walking through a peaceful garden",
"length": 5,
"enhancePrompt": true
}
}'

Parameters

Required Parameters

  • image (string): The source image for video generation. Can be a base64-encoded image or image URL
  • prompt (string): Text description of what you want to see in the generated video
  • length (number): Duration of the video in seconds (5 or 20 seconds supported)
  • enhancePrompt (boolean): Whether to enhance the prompt with AI for better results

Parameter Details

length

  • Type: Number
  • Required: Yes
  • Values: 5, 20
  • Default: 5
  • Description: Video duration in seconds. Currently fixed at 5 seconds in the interface.

enhancePrompt

  • Type: Boolean
  • Required: Yes
  • Default: true
  • Description: When enabled, AI will transform your simple concepts into detailed prompts for better video generation results.

Response Format

{}

Example Request

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": {
"image": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD...",
"prompt": "A serene landscape with flowing water and gentle movement",
"length": 5,
"enhancePrompt": true
}
}'

Features

  • High-quality video generation from static images
  • AI-powered prompt enhancement
  • Support for various image formats
  • Configurable video duration
  • Professional-grade results suitable for creative projects