Generate audio (ElevenLabs)
grok_generate_audioTurn a stored transcript (transcript_id), pasted text, or ready-made script turns into a generated podcast episode via ElevenLabs. Paid, metered generation that runs in the background: returns immediately with the job id — call grok_stitch with it for status and the final audio path.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "grok_generate_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Raw article/transcript text to adapt — used when transcript_id is absent. | |
| title | No | Episode title override. | |
| turns | No | Ready-made script turns [{speaker:"HOST"|"NATALIE", text}] — skips AI script writing. | |
| with_natalie | No | Two-voice co-host format (default single-host). | |
| transcript_id | No | podcast_transcripts id (uuid) from grok_upload_transcript. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| error | No | Present only when ok is false. | |
| job_id | No | ||
| run_id | No | ||
| status | No | ||
| episode_id | No | ||
| credits_estimate | No |