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": "Ultra-realistic cinematic shot of a beautiful young woman riding a stylish motorcycle along a scenic seashore road at golden hour. The ocean glistens under the warm sunlight, waves gently crashing against the shore, and a cool breeze flows through her hair. People on the beach stop to admire her, smiling and taking photos as she rides past. Smooth tracking camera angles follow the bike from the side, front, and overhead, with motion blur, soft lens flares, and rich colors capturing the joyful, serene atmosphere","aspect_ratio": "16:9","model_id": "veo-3.0-fast-generate-preview","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 |
