tts
Convert text to speech audio in MP3, WAV, or OGG using neural English and German voices; control voice, language, and speed.
Instructions
Text to Speech — Convert text to natural speech audio (MP3, WAV or OGG) with neural Piper voices: en-female, en-male (US English) and de-male (German); all voices public domain or CC0, so the audio can be used commercially. Params: text (required, max 2000 characters), voice (default en-female, or picked from language), language (en or de), speed (0.5 to 2, default 1), format (mp3 default, wav, ogg). Returns audio_base64 and duration. Cost: $0.04 USDC per call. Latency p99: 8000ms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| speed | No | ||
| voice | No | ||
| format | No | mp3 | |
| language | No |