# song extender > Extend any song seamlessly with AI-powered voice cloning—lengthen tracks, add verses, and clone vocals in any style, all while preserving original tone and emotion, perfect for musicians and content creators. ## Overview - **Model ID**: `song-extender` - **Category**: voice cloning - **Provider**: sonauto - **Status**: model_ready - **Screenshot**: `https://assets.modelslab.com/generations/59b1dbe9-dac8-4033-98c6-68df9b2ae66b.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-extender` - **Method**: POST ### Parameters - **`init_audio`** (required): init audio - Type: file - **`prompt`** (required): Prompt - Type: textarea - **`model_id`** (optional): Model - Type: text - **`extend_duration`** (required): This must be between 0 and 85.0 seconds. - Type: number - **`side`** (optional): You can extend from the start or end of the song by setting the side to "left" or "right," respectively. - Type: select (options: right, left) ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v7/voice/song-extender \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "song-extender", "init_audio": "https://assets.modelslab.com/generations/3b57f1c2-a63e-4285-90ea-5b8bad106217.ogg", "prompt": "Write another verse for my song", "extend_duration": "45.0", "side": "right" }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v7/voice/song-extender", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "song-extender", "init_audio": "https://assets.modelslab.com/generations/3b57f1c2-a63e-4285-90ea-5b8bad106217.ogg", "prompt": "Write another verse for my song", "extend_duration": "45.0", "side": "right" } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v7/voice/song-extender", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "song-extender", "init_audio": "https://assets.modelslab.com/generations/3b57f1c2-a63e-4285-90ea-5b8bad106217.ogg", "prompt": "Write another verse for my song", "extend_duration": "45.0", "side": "right" }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Links - [Model Playground](https://modelslab.com/models/music-extend/song-extender) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)