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": "Close-up, cinematic TV commercial shot. A woman in her 30s takes her first sip of coffee on a small balcony overlooking a quiet city street at dawn. She’s wrapped in a cozy, oversized sweater; morning light softly brushes her face, highlighting delicate steam rising from the mug. The cold air is visible in gentle wisps, curling past her cheek. Her shoulders relax as warmth spreads through her, eyes closing briefly in a subtle, authentic moment of comfort. The scene captures intimacy and realism, with soft focus on her expression, shallow depth of field on the background city street, warm color tones, and soft ambient morning sounds or gentle background music.","aspect_ratio": "16:9","model_id": "veo-3.1-fast","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, 9:16 for Vertical video generation |
| Model | model_id | model_id is required for selecting the right model for API |
| 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. |
| 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 |
