# Kling V2 Master Text To Video > Generates cinematic-quality 5-10 second videos from text prompts with 1080p resolution, 30 FPS, temporal attention for smooth motion, and strong prompt adherence. ## Overview - **Model ID**: `kling-v2-master-t2v` - **Category**: video - **Provider**: klingai - **Status**: model_ready - **Screenshot**: `https://assets.modelslab.com/generations/e2bbd2c7-98bb-422a-ab66-09a2200c1046.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/text-to-video` - **Method**: POST ### Parameters - **`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/text-to-video \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "kling-v2-master-t2v", "prompt": "A cinematic tracking shot of a sleek supercar speeding along the scenic highways of Germany, surrounded by lush forests and distant mountains. The camera smoothly follows the car from a low rear angle, capturing reflections on the polished body and motion blur on the asphalt. Sunlight glints off the car’s curves as it accelerates, dynamic camera transitions — drone overhead shot, side tracking shot, and front chase camera. Ultra-realistic lighting, 4K clarity, shallow depth of field, smooth motion, cinematic tone, realistic sound ambience of wind and engine roar.", "duration": "5" }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v7/video-fusion/text-to-video", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "kling-v2-master-t2v", "prompt": "A cinematic tracking shot of a sleek supercar speeding along the scenic highways of Germany, surrounded by lush forests and distant mountains. The camera smoothly follows the car from a low rear angle, capturing reflections on the polished body and motion blur on the asphalt. Sunlight glints off the car’s curves as it accelerates, dynamic camera transitions — drone overhead shot, side tracking shot, and front chase camera. Ultra-realistic lighting, 4K clarity, shallow depth of field, smooth motion, cinematic tone, realistic sound ambience of wind and engine roar.", "duration": "5" } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v7/video-fusion/text-to-video", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "kling-v2-master-t2v", "prompt": "A cinematic tracking shot of a sleek supercar speeding along the scenic highways of Germany, surrounded by lush forests and distant mountains. The camera smoothly follows the car from a low rear angle, capturing reflections on the polished body and motion blur on the asphalt. Sunlight glints off the car’s curves as it accelerates, dynamic camera transitions — drone overhead shot, side tracking shot, and front chase camera. Ultra-realistic lighting, 4K clarity, shallow depth of field, smooth motion, cinematic tone, realistic sound ambience of wind and engine roar.", "duration": "5" }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Links - [Model Playground](https://modelslab.com/models/kling-v2-master-text-to-video-zi1ai/kling-v2-master-t2v) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)