Create script audio
create_script_audio_jobDebit prepaid credits and queue audio for a script. The price matches estimate_script_audio. A low balance returns 402. Pass idempotency_key to retry without a second debit. Set confirm_another when you mean to pay for another job. A 409 script_audio_active includes job_id and job_url. The message says you have already paid only when that job was charged. Otherwise it says you already have audio being made. A queued job with no progress for more than 30 minutes, or a render with no progress or heartbeat for 2 hours, is failed before that 409. The audio has no intro or outro. Narrators are Nora, Leo, Kristine, Ken, and Marko.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"script": "<script>",
"voice": "<voice>"
},
"name": "create_script_audio_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| voice | Yes | Narrator display name or lowercase id: Nora, Leo, Kristine, Ken, or Marko. | |
| script | Yes | The words to speak. | |
| input_language | No | auto or a language code. Defaults to auto. | |
| confirm_another | No | Set true to pay for another job while one is still running, or to submit the same script again within 15 minutes. | |
| idempotency_key | No | Optional retry key, 8 to 80 letters, numbers, underscores, or hyphens. The same key does not debit twice. | |
| output_language | No | Language code for the spoken audio. Defaults to English (en). |