API Endpoint URL
Base URL for all API requests to this endpoint.
https://modelslab.com/api/v8/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": "medium close up, selfie held at arm's length. a medieval knight drenched in mud and blood. behind him, a battle rages swords clashing, men screaming, horses charging, a trebuchet firing in the distance. the air is smoky. he shouts in an english accent: what’s up viewers! it’s ya boy, sir lancelot, coming at you live from the siege of blackmere! don’t forget to like and subscribe! he holds up two fingers in a peace sign and gets tackled to the grown mid shot by a charging enemy.","model_id": "seedance-t2v","aspect_ratio": "16:9","resolution": "720p","camera_fixed": false,"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 |
| Model | model_id | Model to use for generation |
| Aspect Ratio | aspect_ratio | Select the aspect ratio for the video to be generated |
| Resolution | resolution | Select the resolution for the output video |
| Camera Fixed | camera_fixed | Weather to fix the camera position |
