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 wide, eye-level cinematic shot captures a man walking slowly across a frost-covered bridge at dawn, his hands tucked into the pockets of a heavy coat. Pale morning light glows faintly through soft, curling fog that clings to the bridge railings. In the distance, bare trees fade into the mist, their skeletal branches barely visible. The pace is unhurried and reflective, evoking a naturalistic and quiet mood. The scene is filled with subtle, atmospheric sounds—faint footsteps crunching on frost, steady breaths in the cold air, and the distant caw of a crow echoing across the stillness.","aspect_ratio": "16:9","duration": "8","generate_audio": true,"model_id": "veo-3.1","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, 9:16 for Vertical video generation |
| Duratiom | duration | Veo 3 models: 4, 6, or 8. The default is 8. |
| Generate Audio | generate_audio | Determines whether audio should be generated for the video. Default is true. |
| Model | model_id | model_id is required for selecting the right model for API |
| 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 |
