# Kling V2.1 Image To Video > Transform static images into smooth, 1080p videos with natural motion, flexible durations (5–10s), and optional text prompts—ideal for content, marketing, and creative storytelling. ## Overview - **Model ID**: `kling-v2-1-i2v` - **Category**: video - **Provider**: klingai - **Status**: model_ready - **Screenshot**: `https://assets.modelslab.com/generations/17b21170-bd49-4758-b9c0-9475512d71d6.webp` ## API Information This model can be used via our HTTP API. See the API documentation and usage examples below. ### Endpoint - **URL**: `https://modelslab.com/api/v7/video-fusion/image-to-video` - **Method**: POST ### Parameters - **`init_image`** (required): Upload the reference image - Type: file - **`prompt`** (required): Text description of the video you want to generate - Type: textarea - Example: Enter prompt for video - **`duration`** (required): Video Length, unit: s (seconds) values: 5,10 The default is 5. - Type: select (options: 5s, 10s) ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v7/video-fusion/image-to-video \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "kling-v2-1-i2v", "init_image": "https://assets.modelslab.com/generations/ee582a49-2fb3-4176-be8b-12a5bc1dfdd1.png", "prompt": "A cinematic action sequence featuring a team of muscular, yellow-suited tactical soldiers wearing black armor and helmets labeled “NEVER GOON.” They move stealthily through a dimly lit corridor filled with smoke and tension. The camera pans dynamically as the soldiers take sniper positions and begin firing precise shots down the hallway — muzzle flashes lighting up the darkness, bullet sparks against concrete walls, and echoing gunfire. Realistic lighting, cinematic depth, intense slow-motion shots, 4K ultra detail, dramatic atmosphere, tactical teamwork, war-movie style realism.", "duration": "5" }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v7/video-fusion/image-to-video", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "kling-v2-1-i2v", "init_image": "https://assets.modelslab.com/generations/ee582a49-2fb3-4176-be8b-12a5bc1dfdd1.png", "prompt": "A cinematic action sequence featuring a team of muscular, yellow-suited tactical soldiers wearing black armor and helmets labeled “NEVER GOON.” They move stealthily through a dimly lit corridor filled with smoke and tension. The camera pans dynamically as the soldiers take sniper positions and begin firing precise shots down the hallway — muzzle flashes lighting up the darkness, bullet sparks against concrete walls, and echoing gunfire. Realistic lighting, cinematic depth, intense slow-motion shots, 4K ultra detail, dramatic atmosphere, tactical teamwork, war-movie style realism.", "duration": "5" } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v7/video-fusion/image-to-video", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "kling-v2-1-i2v", "init_image": "https://assets.modelslab.com/generations/ee582a49-2fb3-4176-be8b-12a5bc1dfdd1.png", "prompt": "A cinematic action sequence featuring a team of muscular, yellow-suited tactical soldiers wearing black armor and helmets labeled “NEVER GOON.” They move stealthily through a dimly lit corridor filled with smoke and tension. The camera pans dynamically as the soldiers take sniper positions and begin firing precise shots down the hallway — muzzle flashes lighting up the darkness, bullet sparks against concrete walls, and echoing gunfire. Realistic lighting, cinematic depth, intense slow-motion shots, 4K ultra detail, dramatic atmosphere, tactical teamwork, war-movie style realism.", "duration": "5" }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Links - [Model Playground](https://modelslab.com/models/kling-v2-1-image-to-video/kling-v2-1-i2v) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)