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

# Volume, Speed, and Emotion

> Control the speed, volume, and emotion of generated speech.

Sonic provides controls for the speed, volume, and emotion of generated speech. These are available on [play.cartesia.ai](https://play.cartesia.ai) using the UI controls, by passing a `generation_config` parameter on each request, or by using [SSML tags](https://docs.cartesia.ai/build-with-cartesia/capability-guides/ssml-tags.md) within the transcript.

> [!NOTE]
>
> `generation_config` is scoped to a single request — there is no persistent or account-wide setting. Include the parameter on every TTS request where you want speed, volume, or emotion guidance applied. For finer variation within a single generation (for example, shifting emotion sentence-to-sentence), use [SSML tags](https://docs.cartesia.ai/build-with-cartesia/capability-guides/ssml-tags.md) inline in the transcript.

> [!TIP]
>
> **Sonic interprets these parameters as guidance** rather than strict adjustments, to ensure natural speech. Test against your content to confirm the output matches your expectations.

## Speed and volume controls

Guide the speed and volume of a TTS generation with the `generation_config.speed` and `generation_config.volume` parameters.

**generation\_config.speed** `number` (default: 1.0)

The speed of the generation, ranging from `0.6` to `1.5` inclusive. Accepts any double-precision floating-point value in that range (for example, `1.05` or `0.85`); there is no fixed decimal-place limit.

**What to expect from speed control**

* Sonic treats speed as guidance, not a strict multiplier, so it can keep pacing and expression natural.
* The effect varies with the voice, transcript length, and punctuation. Small adjustments are hard to hear in short samples.
* For a more pronounced change, make a larger adjustment. For instance, to slow speech down, set `speed` to `0.7` rather than `0.9`.
* Test against representative, well-punctuated content rather than a short sample.
* Speed control applies to Instant Voice Clones. [Professional Voice Clones](https://docs.cartesia.ai/build-with-cartesia/capability-guides/clone-voices-pro.md) take their pacing from their source recordings and don't support request-time speed adjustments.

**generation\_config.volume** `number` (default: 1.0)

The volume of the generation, ranging from `0.5` to `2.0` inclusive. Accepts any double-precision floating-point value in that range.

> [!TIP]
>
> Set speed and volume via `generation_config` rather than SSML tags. Most well-punctuated transcripts are paced naturally without any adjustment, so treat these controls as a refinement for specific cases rather than a default.

You can also set these inside the transcript using [SSML](https://docs.cartesia.ai/build-with-cartesia/capability-guides/ssml-tags.md) tags.

```xml lines theme={null}
<speed ratio="1.5"/> I like to speak quickly because it makes me sound smart.
<volume ratio="1.5"/> And I can be loud, too!
```

## Emotion controls Beta

By default, the model interprets the emotional subtext in the provided transcript. To guide the emotion of a TTS generation, the way a director directs an actor, optionally pass the `generation_config.emotion` parameter. Emotion tags are supported only for English.

> [!NOTE]
>
> Emotion tags push the model to be more emotive, but only work when the emotion is consistent with the transcript. The mismatch below is unlikely to work well:

```xml theme={null}
<emotion value="sad"/> I'm so excited!
```

**generation\_config.emotion** `string`

Optional emotional guidance for a generation. If omitted, the model interprets the emotional subtext of the transcript. Must be one of the values listed below — passing an emotion outside this list is not supported, and results are not guaranteed. Behavior for unrecognized values may change without notice.

The primary emotions, for which we have the most data and produce the best results, are: `neutral`, `calm`, `angry`, `content`, `sad`, and `scared`.

The complete list of available emotions is: `neutral`, `happy`, `excited`, `enthusiastic`, `elated`, `euphoric`, `triumphant`, `amazed`, `surprised`, `flirtatious`, `curious`, `content`, `peaceful`, `serene`, `calm`, `grateful`, `affectionate`, `trust`, `sympathetic`, `anticipation`, `mysterious`, `angry`, `mad`, `outraged`, `frustrated`, `agitated`, `threatened`, `disgusted`, `contempt`, `envious`, `sarcastic`, `ironic`, `sad`, `dejected`, `melancholic`, `disappointed`, `hurt`, `guilty`, `bored`, `tired`, `rejected`, `nostalgic`, `wistful`, `apologetic`, `hesitant`, `insecure`, `confused`, `resigned`, `anxious`, `panicked`, `alarmed`, `scared`, `proud`, `confident`, `distant`, `skeptical`, `contemplative`, `determined`.

The voices with the best emotional response are:

* [Leo](https://play.cartesia.ai/voices/0834f3df-e650-4766-a20c-5a93a43aa6e3) (id: `0834f3df-e650-4766-a20c-5a93a43aa6e3`)
* [Jace](https://play.cartesia.ai/voices/6776173b-fd72-460d-89b3-d85812ee518d) (id: `6776173b-fd72-460d-89b3-d85812ee518d`)
* [Kyle](https://play.cartesia.ai/voices/c961b81c-a935-4c17-bfb3-ba2239de8c2f) (id: `c961b81c-a935-4c17-bfb3-ba2239de8c2f`)
* [Gavin](https://play.cartesia.ai/voices/f4a3a8e4-694c-4c45-9ca0-27caf97901b5) (id: `f4a3a8e4-694c-4c45-9ca0-27caf97901b5`)
* [Maya](https://play.cartesia.ai/voices/cbaf8084-f009-4838-a096-07ee2e6612b1) (id: `cbaf8084-f009-4838-a096-07ee2e6612b1`)
* [Tessa](https://play.cartesia.ai/voices/6ccbfb76-1fc6-48f7-b71d-91ac6298247b) (id: `6ccbfb76-1fc6-48f7-b71d-91ac6298247b`)
* [Dana](https://play.cartesia.ai/voices/cc00e582-ed66-4004-8336-0175b85c85f6) (id: `cc00e582-ed66-4004-8336-0175b85c85f6`)
* [Marian](https://play.cartesia.ai/voices/26403c37-80c1-4a1a-8692-540551ca2ae5) (id: `26403c37-80c1-4a1a-8692-540551ca2ae5`)

View the full list of emotive voices in our [Voice Library](https://play.cartesia.ai/voices?tags=Emotive).

You can also use [SSML](https://docs.cartesia.ai/build-with-cartesia/capability-guides/ssml-tags.md) tags for emotions:

```xml theme={null}
<emotion value="angry"/> How dare you speak to me like I'm just a robot!
```

## Nonverbalisms

Insert `[laughter]` in your transcript to make the model laugh.


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