generate_sts
Generate speech-to-speech audio synchronously and return the completed result with model and voice name. Use a quote, request_id, and budget, then preview the converted audio via the task handle.
Instructions
Generate STS synchronously: this call waits for audio and returns the completed result with model and available voice name. After success call preview_audio_task with the returned task_handle to show the inline player, and include a named original audio link. No extra get_generation_task polling is required. Label this as the converted result, not the source audio. Requires a quote, stable request_id and budget for the selected credits or characters. Timeout or cancellation may leave backend synthesis running; unknown submissions are never retried.
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": {
"quote_id": "<quote_id>",
"request_id": "<request_id>",
"budget": "<budget>"
},
"name": "generate_sts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| budget | Yes | ||
| quote_id | Yes | ||
| request_id | Yes | Stable caller-generated ID. Reuse it for retries of the same submission. |