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

# TTS (texte en parole)

> Appelez `/audio/speech` avec le SDK C#.

**Méthode** : `client.CreateSpeech(...)`

### Exemple

```csharp theme={null}
using PhaseoSdk;

var client = new Phaseo(apiKey);
var response = await client.CreateSpeech(new Dictionary<string, object>
{
    ["model"] = "openai/gpt-4o-mini-tts",
    ["input"] = "Hello world",
    ["voice"] = "alloy",
    ["format"] = "mp3"
});
```

### Paramètres principaux

* `model` (obligatoire) : identifiant d’un modèle compatible avec le TTS.
* `input` (obligatoire) : texte à synthétiser.
* `voice` : préréglage de voix (dépend du modèle, par exemple `alloy`).
* `format` : `mp3`, `wav`, `flac`, etc.
* `speed` : multiplicateur de vitesse de lecture (généralement entre 0,25 et 4).

### Valeur renvoyée

Données audio binaires


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