Actions25
- Advanced Generation Actions
- Audio Generation Actions
- Audio Processing Actions
- Search Actions
Audio Generation → Text to Speech
AI-generatedSummary
Convert required text to speech through the MusicGPT API. Select a voice by gender or a specific voice ID, and optionally provide a webhook URL for completion notifications.
Inputs
- Text (required) — Text to convert to speech.
- Voice Selection — Choose whether to select the voice by gender (the default) or by a specific voice.
- Gender — When Voice Selection is Use Gender, choose male or female; defaults to male.
- Voice Name or ID — When Voice Selection is Use Specific Voice, select a listed voice or provide its ID. The default value, none, omits the voice ID from the request.
- Webhook URL — Optional URL to receive a completion notification.
Output shape
One item per input item, each containing a JSON object with success, task_id, conversion_id, and eta.
The operation submits a text-to-speech request and returns the response fields shown; it does not return generated audio data directly.