Skip to main content

Kling AI - Image to Video

Transform static images into dynamic videos using Kling AI's sophisticated image-to-video generation technology with extensive customization options including multiple aspect ratios, quality modes, and advanced generation controls.

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✔️
modelstringklingAI 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.durationnumber5Duration of video in seconds (5 or 10)✔️
promptObject.aspect_ratiostring16:9Video aspect ratio✔️
promptObject.modestringstdQuality mode (std or pro)✔️
promptObject.versionstring1.0Model version to use✔️
promptObject.cfg_scalenumber0.5CFG scale for generation control (0-1)✔️
promptObject.negative_promptstringpeople, buildingsWhat not to include in the video

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": "kling",
"conversationId": "IMAGE_TO_VIDEO",
"promptObject": {
"imageUrl": "images/2025_10_22_07_10_43_846_elon-musk.jpg",
"prompt": "gentle waves rolling on a peaceful beach with soft sunlight",
"duration": 5,
"aspect_ratio": "16:9",
"mode": "pro",
"version": "1.5",
"cfg_scale": 0.5,
"negative_prompt": "people, buildings"
}
}'

Interactive Playground

API Playground

https://api.1min.ai/api/features
Path to the source image file uploaded via Asset API
Choose the duration for your generated video
Choose the aspect ratio for your video output
Select the Kling AI model version for video generation
Controls how closely the generation follows the prompt (0-1, higher values = stricter adherence)
Describe elements you want to avoid in the generated video

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": "kling",
"conversationId": "IMAGE_TO_VIDEO",
"promptObject": {
"imageUrl": "images/2025_10_22_07_10_43_846_elon-musk.jpg",
"prompt": "gentle waves rolling on a peaceful beach with soft sunlight",
"duration": 5,
"aspect_ratio": "16:9",
"mode": "pro",
"version": "1.5",
"cfg_scale": 0.5,
"negative_prompt": "people, buildings"
}
}'

Response

{}