# Create Dubbing > The 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. ## Overview - **Model ID**: `create-dubbing` - **Category**: audio - **Provider**: modelslab - **Status**: active - **Screenshot**: `https://assets.modelslab.com/generations/772a8071-916f-4fa1-b396-5acb6c0c1419.webp` ## API Information This model can be used via our HTTP API. See the API documentation and usage examples below. ### Endpoint - **URL**: `https://modelslab.com/api/v6/voice/create_dubbing` - **Method**: POST ### Parameters - **`init_video`** (required): URL to the video file to be dubbed - Type: file - Example: Init Video - **`source_lang`** (required): Select the language of the provided video - Type: select (options: English, Hindi, Afrikaans, Arabic, Spanish, French, Russian, Portuguese, Urdu, Indonesian, German, Chinese) - Example: Source lang - **`output_lang`** (required): Select the language for the video you want output for - Type: select (options: US English, Spanish, French, Hindi, Italian, Portuguese (Brazilian), English (United Kingdom), Japanese, Chinese) - Example: Output lang - **`voice_id`** (optional): - Type: select (options: mariana, augusto, henry, madison, adam, elodie, dorita, tara, Leo, Mia, anaya, riya, vishal, takashi, yui) ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v6/voice/create_dubbing \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "create-dubbing", "init_video": "https://assets.modelslab.com/generations/709a647a-082a-4897-8b50-5b65e70c8e87", "source_lang": "en", "output_lang": "hi", "voice_id": "mariana" }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v6/voice/create_dubbing", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "create-dubbing", "init_video": "https://assets.modelslab.com/generations/709a647a-082a-4897-8b50-5b65e70c8e87", "source_lang": "en", "output_lang": "hi", "voice_id": "mariana" } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v6/voice/create_dubbing", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "create-dubbing", "init_video": "https://assets.modelslab.com/generations/709a647a-082a-4897-8b50-5b65e70c8e87", "source_lang": "en", "output_lang": "hi", "voice_id": "mariana" }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Links - [Model Playground](https://modelslab.com/models/create-dubbing/create-dubbing) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)