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": "High-octane Formula 1 race at blistering speed — two rival F1 drivers battle wheel-to-wheel on a sunlit track, overtaking each other with razor-sharp precision. Through their helmet radios, they shout and scold each other mid-race, voices crackling over the roar of 1000-horsepower engines. The camera whips between ultra-fast tracking shots, slow-motion tire sparks, and dramatic cockpit close-ups showing clenched jaws and sweat. Crowds erupt in cheers, flags waving, as the cars dart through corners with cinematic motion blur, lens flares, and dynamic aerial sweeps capturing every heart-pounding moment.","aspect_ratio": "16:9","model_id": "veo-3.0-fast-generate","duration": "8","generate_audio": true,"negative_prompt": null,"enhance_prompt": true,"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 image you want to generate |
| Aspect Ratio | aspect_ratio | The aspect ratio of the generated video — 16:9 is wide |
| Model | model_id | Model to use for generation |
| Duratiom | duration | Veo 3 accept 8 sec duration |
| Generate Audio | generate_audio | Determines whether audio should be generated for the video. Default is true. |
| Negative Prompt | negative_prompt | A negative prompt that specifies what should be avoided during video generation. |
| Enhance Prompt | enhance_prompt | Engance your given prompt. Default true |
