API Endpoint URL
Base URL for all API requests to this endpoint.
https://modelslab.com/api/v7/video-fusion/text-to-video
API Authentication
Authentication requires a valid API key included in the request. Generate and manage your API keys from your developer dashboard. Include the key in the key parameter for all API requests.
Integration Examples
Production-ready code samples for API integration
{"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","model_id": "kling-v2-master-t2v","key": "YOUR_API_KEY"}
SDKs
Official SDKs
Production-ready SDKs and client libraries for all major programming languages
API Parameters
Technical specifications for API request parameters.
| Field Name | Parameter | Technical Description |
|---|---|---|
| Prompt | prompt | Text description of the video you want to generate |
| Duration | duration | Video Length, unit: s (seconds) values: 5,10 The default is 5. |
| Model | model_id | model_id is required for selecting the right model for API |
