> ## Documentation Index
> Fetch the complete documentation index at: https://docs.inworld.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Voice Cloning

> Create a personalized voice clone in seconds

Inworld's text-to-speech models offer best-in-class voice cloning capabilities, enabling developers to create distinct, personalized voices for their experiences.

There are three ways to clone a voice:

1. **Instant Voice Cloning** - Clone a voice in minutes, with only 5-15 seconds of audio. Also known as zero-shot cloning. Available to all users through Portal.
2. **Voice Cloning via API** - Instant voice cloning via API. Useful for workflow automation or enabling your users to clone their own voices.
3. **Professional Voice Cloning** - For the highest quality, fine-tune a model with 30+ minutes of audio.

<Note>
  Professional voice cloning is currently not publicly available. To get access, please [reach out to our sales team](https://inworld.ai/contact-sales).
</Note>

<Note>
  Don't have audio samples? Use [Voice Design](/tts/voice-design) to create a voice from a text description instead.
</Note>

## Instant Voice Cloning

<Steps titleSize="h3">
  <Step title="Go to Inworld Portal" iconType="light">
    In Portal, select **TTS Playground** from the left-hand side panel. In the TTS Playground, click **Create Voice** and select **Clone**.
  </Step>

  <Step title="Upload or record audio samples">
    <img src="https://mintcdn.com/inworldai/UEe3sB5CnNgeXD14/img/tts/tts_playground_clone_voice.png?fit=max&auto=format&n=UEe3sB5CnNgeXD14&q=85&s=bb4dc5f007210ff2582b430c4c9a798e" alt="" width="1730" height="1542" data-path="img/tts/tts_playground_clone_voice.png" />

    Name your voice and select the language, which should match the audio samples. Select `Other` if you're cloning in an [experimental language](/tts/capabilities/multilingual#experimental-languages).

    You can either upload or record audio:

    * **Upload**: Drag and drop or browse to upload 1 audio file. Accepted formats: wav, mp3, webm. Maximum file size is 4MB. Audio samples longer than 15 seconds will be automatically trimmed to 15 seconds.
    * **Record**: Click "Record audio" and record your audio. You can use the suggested scripts to help guide your recording, or use your own script. For best results, record in a quiet place to minimize background noise, avoid mic noise, and speak with a variety of emotions to capture the full range of the voice.

    Enable "Remove background noise" if you wish to remove background noise from your audio. Confirm you have the rights to clone the voice, then click "Continue".

    <Note>
      Check out our [Voice Cloning Best Practices](/tts/best-practices/voice-cloning) for helpful tips and tricks to improve the quality of your voices clones.
    </Note>
  </Step>

  <Step title="Test your cloned voice">
    <img src="https://mintcdn.com/inworldai/1TWJ4GtN1DCVW0-K/img/tts/try_cloned_voice.png?fit=max&auto=format&n=1TWJ4GtN1DCVW0-K&q=85&s=5736f61b7280fb5cd33944fce23c6f58" alt="" width="960" height="440" data-path="img/tts/try_cloned_voice.png" />

    Once voice cloning completes, you'll see the "Try your cloned voice" interface. Enter text in the input field and press play to hear your cloned voice. You can test different phrases to ensure the voice sounds as expected.

    If the voice doesn't sound quite right, you can delete the voice and start over, create another voice, or test it in the TTS Playground for more advanced testing options.

    <Note>
      The number of cloned voices you can store depends on your subscription plan. See the [Pricing page](https://inworld.ai/pricing) for per-plan limits. If you need a higher limit, please [contact our sales team](https://inworld.ai/contact-sales).
    </Note>
  </Step>

  <Step title="Use your cloned voice via API">
    <img src="https://mintcdn.com/inworldai/jdDTBO9OjBrpMYGU/img/portal/tts-playground-copy.png?fit=max&auto=format&n=jdDTBO9OjBrpMYGU&q=85&s=329d104103a8d25a8e9d47b182baf038" alt="" width="613" height="388" data-path="img/portal/tts-playground-copy.png" />

    To use the cloned voice via API, copy the voice ID for your cloned voice in TTS Playground. Use that value for the `voiceId` when making an API call. See our [Quickstart](/quickstart-tts) to learn how to make your first API call.
  </Step>
</Steps>

<Warning> Instant voice cloning may not perform well for less common voices, such as children's voices or unique accents. For those use cases, we recommend professional voice cloning. </Warning>

## Voice Cloning API Reference And Examples

If you want to automate voice cloning (for example, to support creator onboarding at scale), use the Voice Cloning API.

* **API reference**: [Clone a voice](/api-reference/voiceAPI/voiceservice/clone-voice)
* **Node.js SDK**: [`cloneVoice()`](/tts/node-sdk#clonevoiceoptions) — clone a voice in a few lines with the `@inworld/tts` SDK
* **Python example**: [example\_voice\_clone.py](https://github.com/inworld-ai/inworld-api-examples/blob/main/tts/python/example_voice_clone.py)
* **JavaScript example**: [example\_voice\_clone.js](https://github.com/inworld-ai/inworld-api-examples/blob/main/tts/js/example_voice_clone.js)

<Note>
  Voice cloning has lower rate limits than regular speech synthesis. For details, see [Rate limits](/resources/rate-limits).
</Note>

## Next Steps

Looking for more tips and tricks? Check out the resources below to get started!

<CardGroup cols={3}>
  <Card title="Voice Cloning Best Practices" icon="circle-check" href="/tts/best-practices/voice-cloning">
    Learn best practices for producing high-quality voice clones.
  </Card>

  <Card title="Speech Generation Best Practices" icon="circle-check" href="/tts/best-practices/generating-speech">
    Learn best practices for synthesizing high-quality speech.
  </Card>

  <Card title="API Examples" icon="github" href="https://github.com/inworld-ai/inworld-api-examples/tree/main/tts">
    Explore Python and JavaScript code examples for TTS integration.
  </Card>
</CardGroup>
