Generate speech (text to speech)
generate_speechTurn text into spoken audio with GenMagic. Returns the audio inline plus a hosted URL. The text is voiced verbatim.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | The text to speak, read aloud verbatim. | |
| model | No | Optional GenMagic model id for the speech (call list_models with category "audio" for the ids and prices). Omit it to let GenMagic choose its default. | |
| voice | No | Optional voice name (e.g. alloy); list_models shows each speech model's voices. Defaults to a neutral voice. |