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

# Voice design best practices

> Describing a new voice, writing the preview script, comparing previews and publishing.

How to create a new AudioSonic voice from a written description: describe it precisely, write a preview script that suits it, compare the previews, and publish the one you like.

## How it works

1. Describe the voice and write a short preview script.
2. AudioPod makes up to 3 preview voices that read your script.
3. Listen, then publish the best one as a custom voice. Publishing is free.

In the web app this is **Design a Voice**. Over the API, call `POST /api/v1/voice/design`, then `POST /api/v1/voice/design/publish` with the chosen `preview_id` and a `name`. Voice design needs a paid plan, and publishing uses one of your custom voice slots. See [audiopod.ai/pricing](https://audiopod.ai/pricing).

## Describe the voice

The description (`design_prompt`) must be 30 to 250 characters. Write it in English, even when the voice will speak another language.

Be specific. Vague words like "nice" or "fun" give inconsistent results. Cover, roughly in this order:

1. What makes the voice distinctive
2. Gender
3. Language and accent
4. Age
5. Tone and emotion
6. Delivery style and pace
7. Texture, such as raspy, breathy or smooth
8. Audio quality

Do: `A warm, gravelly male voice with a slight Boston accent, late 60s, kind and unhurried, like a grandfather telling a story. Perfect broadcast quality audio.`
Don't: `old man voice`

* **Be precise about age.** If "young" or "old" doesn't land, give a range: `mid-20s to early 30s`.
* **Children**: give an exact age and add "natural, age-appropriate" so the voice isn't overly cute.
* **Older speakers**: give the age range, a texture word (`weathered`, `gravelly`) and a pace cue (`slower, deliberate`).
* **Accents**: name the city or region, such as `Boston` rather than `American Northeast`.
* **Texture words in the middle**, not at the end, and soften them with `slight`, `subtle` or `natural` so they aren't exaggerated.
* **End with audio quality**: `Perfect broadcast quality audio.` This stops texture words like "gravelly" from being heard as a poor recording.
* **Don't contradict yourself**: `fast-paced` and `slow, deliberate` in one description gives unpredictable results.

## Write the preview script

The voice is shaped by what it reads, so the preview script (`preview_text`) matters as much as the description.

* It must be 20 to 300 characters. Aim for 150 to 300: enough for one or two natural sentences.
* Match the script to the use. A support voice should read a support line; a storyteller should read a story opening.
* Write it in the language the voice will speak, and set `language` to match (for example `es` or `ja`). Leave `language` out to detect it from the script.
* For an accented voice, use phrasing a speaker with that accent would use.

Do: `Hi, thanks for calling. I can see your order here, and I'll have that sorted for you in just a moment.` for a support voice.
Don't: the default welcome line for a voice meant to narrate horror.

## Compare and publish

* Ask for 1 to 3 previews (`num_samples`, default 3). Each preview is charged, and you are only charged for previews you actually receive.
* The preview links last one hour. Publish within 30 days; unpublished previews are deleted after that.
* Every attempt is different. Expect a few rounds for children, older speakers and regional accents. Change one thing in the description at a time so you can hear what it did.
* When you publish, give the voice a clear `name`. The description is saved with it unless you pass your own `description`.

## Using a designed voice

A designed voice is saved in the language it was designed in and performs all the markup in the [text-to-speech guide](https://docs.audiopod.ai/guides/text-to-speech.md): directions, sound tags, inline IPA, pauses and language switches. Use it anywhere you use your other custom voices.

* Test it on a short line with a question and an exclamation before a long render.
* If you need a copy of a real person's voice rather than a new one, use [voice cloning](https://docs.audiopod.ai/guides/voice-cloning.md) with their consent.

Credits and plans: see [audiopod.ai/pricing](https://audiopod.ai/pricing).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.