synthesize_speech
Convert text into base64-encoded audio with selectable voice and format options, using text-to-speech synthesis.
Instructions
Text-to-speech via SaluteSpeech. Accepts text, returns Base64-encoded audio.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to synthesize (max 4000 chars incl. spaces/markup) | |
| voice | No | Voice id <speaker>_<rate>. Speakers: Nec (Наталья), Bys (Борис), May (Марфа), Tur (Тарас), Ost (Александра), Pon (Сергей), Kin (Kira, English). Rate suffix 24000 or 8000 (telephony) sets the sample rate. Other languages are selected via SSML lang, not the voice id. | Nec_24000 |
| format | No | Audio container/codec: opus, wav16, pcm16, alaw (sample rate comes from the voice suffix) | opus |