ModelsLab/Create Dubbing
create-dubbingThe endpoint enables automatic voice translation of videos from one language to another. It accepts a video file link and various parameters to control the dubbing process.
API Endpoint URL
Base URL for all API requests to this endpoint.
https://modelslab.com/api/v6/voice/create_dubbing
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
{"init_video": "https://assets.modelslab.com/generations/709a647a-082a-4897-8b50-5b65e70c8e87","source_lang": "en","output_lang": "hi","speed": "1.0","base64": "false","seed": "0","webhook": null,"track_id": null,"voice_id": "mariana","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 |
|---|---|---|
| Init Video | init_video | URL to the video file to be dubbed |
| Source lang | source_lang | Select the language of the provided video |
| Output lang | output_lang | Select the language for the video you want output for |
| Speed | speed | Random seed for reproducibility (if 0, a random seed is generated) |
| base64 | base64 | Whether the input sound clip is in base64 format. Default: false. |
| seed | seed | Random seed for reproducibility (0 for random) |
| webhook | webhook | URL to receive POST notification upon completion |
| track_id | track_id | ID for webhook identification |
| voice_id | voice_id | Pre-defined voice to use |