---
title: song inpaint API – Pricing & Playground | ModelsLab
description: song inpaint API by Sonauto: inpainting model. $0.08 per generation. API & playground on ModelsLab.
url: https://modelslab.com/models/sonauto/song-inpaint.md
canonical: https://modelslab.com/models/sonauto/song-inpaint
type: product
component: Playground/Endpoint/Index
generated_at: 2026-11-16T06:40:40.748245Z
---

[![Song Inpaint thumbnail](https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR3bH50Z32TQWulZDd8mI74YltezfzYLSZMxg&s)](https://modelslab.com/models/sonauto)Song Inpaint
---

[by Sonauto](https://modelslab.com/models/sonauto)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.

`song-inpaint`

Closed Source Model [LLMs.txt](https://modelslab.com/models/sonauto/song-inpaint/llms.txt)

[API Playground](/models/sonauto/song-inpaint)API DocumentationVibe CodeRelated ModelsDeveloper SupportModel Specs

Input
---

Lyrics 

New lyrics for the sections

Audio 

Upload

File preview

 or record audio

Record Audio

Advanced Settings Customize your input with more control.

**$0.08** per audio generation

Login to Generate

Output
---

Sample

Your browser does not support the video tag.

[Load in ](https://mstudio.ai/ai-vfx)

Song Inpaint
---

Inpaint Songs Seamlessly

### Edit Songs Precisely

- Targeted Regeneration Replace Song Sections Specify start and end times to regenerate only selected audio segments.
- Voice Cloning Integration Clone Vocals Exactly Use song inpaint voice cloning to match original singer timbre in edits.
- API Simplicity Streamline Workflow Access song inpaint API endpoint for fast, programmatic music modifications.

### Song Inpaint questions

What is song inpaint?Song inpaint regenerates specific time segments of a song while preserving the rest. It supports voice cloning for vocal sections. Upload audio and define replace ranges.

How does song inpaint voice cloning work?It clones the original voice timbre into inpainted sections using reference audio. Specify prompts for style and lyrics. Output blends seamlessly with unchanged parts.

What is the song inpaint API endpoint?POST to Song Inpaint endpoint with audio file, timestamps, and prompt. Include optional lyrics and voice parameters. Returns edited audio file.

Is there a song inpaint alternative?Song Inpaint provides a direct API for music editing with voice cloning. It differs from image inpaint by focusing on audio continuity. Integrates easily in code.

What audio formats does song inpaint model support?Supports common formats like MP3 and WAV. Audio length up to 190 seconds. Mask start/end in seconds for precise control.

How to use song inpaint model for extensions?Store generated songs for inpainting, then reference sections to extend intros or outros. Combine parts from multiple tracks. Use composition plans for complex edits.

Looking for something different?
---

Models that trade off differently against the one you are viewing

### Better quality

Newer flagship models that generally produce stronger results.

![Eleven V4 Text To Speech API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/7bfb94d6-e894-4ed9-9c33-02edbcb0e362.webp)

[ElevenLabs](/models/elevenlabs)

 [Eleven V4 Text To Speech](/models/elevenlabs/eleven_v4)Closed Source Model

![Drama-3 Text to Audio API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/f42fce40-23c2-4b88-949f-16d7668241c0.png)

[ModelsLab](/models/modelslab)

 [Drama-3 Text to Audio](/models/modelslab/drama-3)Open Source Model

### Lower cost per run

Open-source models we host, unlimited on the $149/month plan.

![Kanye West API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/85d330df-0431-41f5-95e4-e2758dbf842a.jpeg)

[ModelsLab](/models/modelslab) Popular

 [Kanye West](/models/modelslab/kanyev2-redux)

![Spongebob API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/audio/Thumbnail1024/spongebob.png)

[ModelsLab](/models/modelslab) Popular

 [Spongebob](/models/modelslab/spongebob)

[ModelsLab](/models/modelslab) Popular

 [Arijit Singh](/models/modelslab/arijit)

[ModelsLab](/models/modelslab) Popular

 [Mr Krabs](/models/modelslab/mrkrabs)

![Ed Sheeran API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/audio/Thumbnail1024/edsheeran.png)

[ModelsLab](/models/modelslab) Popular

 [Ed Sheeran](/models/modelslab/edsheeran)

![Neco Arc API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/audio/Thumbnail1024/neco-arc.png)

[ModelsLab](/models/modelslab) Popular

 [Neco Arc](/models/modelslab/neco-arc)

Related Models
---

Discover similar models you might be interested in

 [View all Audio Models](https://modelslab.com/models?feature=audiogen)

![Myketowers API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/audio/Thumbnail1024/myketowers.png)

[ModelsLab](/models/modelslab)

 [Myketowers](/models/modelslab/myketowers)

![Makima API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/audio/Thumbnail1024/makima.png)

[ModelsLab](/models/modelslab)

 [Makima](/models/modelslab/makima)

[ModelsLab](/models/modelslab) Popular

 [Bad Bunny](/models/modelslab/badbunny)

![Quackity API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/audio/Thumbnail1024/quackity.png)

[ModelsLab](/models/modelslab)

 [Quackity](/models/modelslab/quackity)

![Wario API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/audio/Thumbnail1024/wario.png)

[ModelsLab](/models/modelslab)

 [Wario](/models/modelslab/wario)

![Jimin By API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/audio/Thumbnail1024/jimin-by.png)

[ModelsLab](/models/modelslab)

 [Jimin By](/models/modelslab/jimin-by)

View all 18 related models

About 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.

### Song Inpaint facts

ProviderSonauto

Price$0.08 per generation

Added to ModelsLabOctober 16, 2025

Model IDsong-inpaint

### Key Features

- AI voice synthesis and text-to-speech
- Multiple language and accent support
- Voice cloning from short audio samples
- Real-time audio processing via API
- Customizable speech parameters

### Quick Start

Integrate Song Inpaint into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<div>import requests</div>
<div>import json</div>
<div>
</div>
<div>url = "https://modelslab.com/api/v7/voice/song-inpaint"</div>
<div>
</div>
<div>headers = {</div>
<div>    "Content-Type": "application/json"</div>
<div>}</div>
<div>
</div>
<div>data = {</div>
<div>        "model_id": "song-inpaint",</div>
<div>        "prompt": "your prompt here",</div>
<div>        "key": "YOUR_API_KEY"</div>
<div>    }</div>
<div>
</div>
<div>try:</div>
<div>    response = requests.post(url, headers=headers, json=data)</div>
<div>    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)</div>
<div>    result = response.json()</div>
<div>    print("API Response:")</div>
<div>    print(json.dumps(result, indent=2))</div>
<div>except requests.exceptions.HTTPError as http_err:</div>
<div>    print(f"HTTP error occurred: {http_err} - {response.text}")</div>
<div>except Exception as err:</div>
<div>    print(f"Other error occurred: {err}")</div>
```

const requestBody = {

 "model_id": "song-inpaint",

 "prompt": "your prompt here",

 "key": "YOUR_API_KEY"

 };

async function makeApiRequest() {

 try {

 const response = await fetch(endpointUrl, {

 method: 'POST',

 headers: {

 'Content-Type': 'application/json',

 },

 body: JSON.stringify(requestBody)

 });

 if (!response.ok) {

 let errorResult;

 try {

 errorResult = await response.json();

 } catch (e) {

 errorResult = { error: { message: await response.text() } };

 }

 throw new Error(`API Error (${response.status}): ${errorResult.error?.message || response.statusText || 'Unknown error'}`);

 }

 const result = await response.json();

 console.log('API Response:', result);

 return result;

 } catch (error) {

 console.error('Error making API request:', error.message);

 throw error;

 }

}

makeApiRequest();

 -H "Content-Type: application/json" \

 -d '{

 "model_id": "song-inpaint",

 "prompt": "your prompt here",

 "key": "YOUR_API_KEY"

}'

$url = 'https://modelslab.com/api/v7/voice/song-inpaint';

$headers = [

 'Content-Type: application/json'

];

$data = [

 'model_id' => 'song-inpaint',

 'prompt' => 'your prompt here',

 'key' => 'YOUR_API_KEY',

];

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, $url);

curl_setopt($ch, CURLOPT_POST, true);

curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));

curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

curl_setopt($ch, CURLOPT_TIMEOUT, 30);

$response = curl_exec($ch);

$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);

$curlError = curl_error($ch);

if ($curlError) {

 echo 'Curl error: ' . $curlError;

} else {

 echo "HTTP Status Code: " . $httpCode . "\n";

 $result = json_decode($response, true);

 if (json_last_error() !== JSON_ERROR_NONE) {

 echo "Error decoding JSON: " . json_last_error_msg() . "\n";

 echo "Raw response: " . $response . "\n";

 } else {

 echo "API Response:\n";

 print_r($result);

 }

}

?>

### Pricing

Song Inpaint API costs $0.08 per generation. Plans start at $21/month, and open-source models are unlimited on the $149/month plan. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- Voice-over production for video content
- Podcast and audiobook narration
- Multilingual customer support automation
- Interactive voice response (IVR) systems

### More from Sonauto

- [Song generation API](/models/sonauto/sonauto_song)
- [song extender API](/models/sonauto/song-extender)

[All Sonauto models](/models/sonauto)

[Browse Audio Models](https://modelslab.com/models?feature=audiogen) [View Pricing](https://modelslab.com/pricing)

Song Inpaint FAQ
---

### What is 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.

### How do I use the Song Inpaint API?

You can integrate Song Inpaint into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "song-inpaint" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Song Inpaint cost?

Song Inpaint costs $0.08 per generation. ModelsLab plans start at $21/month (Basic), and the $149/month Open Source plan includes unlimited generation on open-source models.

### What is the Song Inpaint model ID?

The model ID for Song Inpaint is "song-inpaint". Use this ID in your API requests to specify this model.

### Do I need a paid plan to use Song Inpaint?

Yes. ModelsLab is subscription-based with no free tier — plans start at $21/month (Basic, 3,250 API calls). The $149/month Open Source Unlimited plan includes unlimited generation across open-source models; premium third-party models are billed per call from your wallet.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-11-16*