text_to_speech
Convert text to speech with YarnGPT. Pass text (required, max 2000 characters) and voice (required). response_format defaults to mp3 (mp3, wav, opus, or flac). Use list_voices to discover voices. API key comes from global_variables.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to convert to speech. Max 2000 characters. | |
| voice | Yes | Voice character to use. One of: Idera, Emma, Zainab, Osagie, Wura, Jude, Chinenye, Tayo, Regina, Femi, Adaora, Umar, Mary, Nonso, Remi, Adam. Default Idera if unsure; call list_voices for descriptions. | |
| notification_message | No | Short user-facing sentence for this action if the follow-up reply fails. Plain text only; do not mention template syntax or variable names. |