Text to speech
text_to_speechConvert text to spoken audio with a VoiceHue voice. Returns the audio (MP3 by default, or WAV) and a one-line summary with the voice, number of characters and duration. Up to 1,200 characters per call. Use list_voices first to get a valid voice id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to speak. | |
| speed | No | Speaking speed, 0.5 to 2. | |
| voice | Yes | A voice id from list_voices. | |
| format | No | Audio format. MP3 is the default. | mp3 |