# Kling V2.1 Start/End Frame > AI model for generating video content ## Overview - **Model ID**: `kling-v2-1-start-end-frame` - **Category**: video - **Provider**: klingai - **Status**: under_review - **Screenshot**: `https://assets.modelslab.com/generations/c94d839a-6203-4e00-9427-1c99e80f38ad.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: array - **`prompt`** (required): Text description of the video you want to generate - Type: textarea - Example: Enter prompt for video ## 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-start-end-frame", "prompt": "Transition from dawn to night as the camera flies forward across the city skyline, lights gradually turning on, colors shifting from orange warmth to neon blues." }' ``` ### 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-start-end-frame", "prompt": "Transition from dawn to night as the camera flies forward across the city skyline, lights gradually turning on, colors shifting from orange warmth to neon blues." } ) 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-start-end-frame", "prompt": "Transition from dawn to night as the camera flies forward across the city skyline, lights gradually turning on, colors shifting from orange warmth to neon blues." }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Links - [Model Playground](https://modelslab.com/models/kling-v2-1-start-end-frame/kling-v2-1-start-end-frame) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)