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. The audio has no intro or outro.
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). |