# Voice cloning

Source: https://www.nabrah.ai/en/docs/voice-cloning

Voice cloning creates a synthetic replica of any voice from a short audio sample and saves it as a private workspace voice. Once created, the cloned voice is available for use in Text to Speech and Nabrah Agents.

![image.png](https://jg7fuogekuhtmhth.public.blob.vercel-storage.com/media/docs/import/cmr278uu80006eees16s0d2jz.png)





## Guide

### 1. Provide audio

Two input methods are available:

**Record** record directly in the browser. Recording stops automatically at 30 seconds. A sample Arabic sentence is provided on screen to read aloud if needed.

**Upload** drop a WAV file or click to browse. The file can be up to 30 seconds long, and the trimmed segment up to 12 MB.

### 2. Preview and trim

Once audio is added, the waveform appears in the preview panel on the right. Trim a **segment of 5 to 30 seconds** from the recording to use as the clone source. A shorter segment can't be cloned. Aim for a segment with clear, natural speech and no silence or background noise at the edges.

### 3. Name and clone

Enter a voice name, using English letters, hyphens (-) and underscores (_) only, up to 100 characters. Click **Clone voice**, then click **Confirm and clone** to confirm you have the right to use this voice sample. The cloned voice is saved to the workspace and available immediately under [Voices](https://www.nabrah.ai/en/docs/voices) and in the Text to Speech voice selector.



## Best results

* Record or upload up to 30 seconds of clear speech.
* Avoid long silences and background noise.
* Match the pacing and volume intended for the final output the clone reflects the characteristics of the source recording.
