# song inpaint > Enables seamless song inpainting with advanced voice cloning—generates lifelike vocals from brief audio clips, supports multiple languages, and delivers studio-quality results for music production and content creation. ## Overview - **Model ID**: `song-inpaint` - **Category**: voice cloning - **Provider**: sonauto - **Status**: model_ready - **Screenshot**: `https://assets.modelslab.com/generations/8f0d9fc2-171c-4342-a15b-62b9c2cd0619.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/v7/voice/song-inpaint` - **Method**: POST ### Parameters - **`lyrics`** (required): Lyrics - Type: textarea - **`init_audio`** (required): Init audio - Type: file - **`model_id`** (optional): Model id - Type: text - **`sections`** (required): Choose the audio timestamp where you want to apply inpainting. - Type: array ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v7/voice/song-inpaint \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "song-inpaint", "lyrics": "New lyrics for the sections", "init_audio": "https://cdn.sonauto.ai/generations2/audio_a598194b-d464-474c-b1e6-1c99f8f8e457_0.ogg" }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v7/voice/song-inpaint", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "song-inpaint", "lyrics": "New lyrics for the sections", "init_audio": "https://cdn.sonauto.ai/generations2/audio_a598194b-d464-474c-b1e6-1c99f8f8e457_0.ogg" } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v7/voice/song-inpaint", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "song-inpaint", "lyrics": "New lyrics for the sections", "init_audio": "https://cdn.sonauto.ai/generations2/audio_a598194b-d464-474c-b1e6-1c99f8f8e457_0.ogg" }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Links - [Model Playground](https://modelslab.com/models/song-inpaint/song-inpaint) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)