Convert Speech Voice
beatra.speech.convertConvert spoken audio into a target Beatra voice while preserving phrasing and timing. Requires a voice whose capabilities.supports_speech_to_speech is true in beatra.voices.list. This billable call consumes Beatra credits and creates an asynchronous task. Submit exactly once, then poll with beatra.tasks.get. Reuse the same client_request_id only for an identical retry.
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": {
"audio": "<audio>",
"voice": "<voice>",
"client_request_id": "<client_request_id>"
},
"name": "beatra.speech.convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Optional deterministic seed (0..4294967295). | |
| audio | Yes | Source speech audio (`artifact_id` or HTTPS `url`; 1.0-300.0 seconds, <= 50 MB). Accepts `audio` or `source`. | |
| model | No | Speech-to-speech model identifier, or 'auto' for automatic selection. | auto |
| style | No | Optional target voice style exaggeration (0.0-1.0). | |
| voice | Yes | Target Beatra `voice_id` supporting `speech_to_speech` (`supports_speech_to_speech=true` or `model=elevenlabs-sts-v2` in voices list). Accepts `voice` or `voice_id`. | |
| format | No | Output audio container/encoding format. | mp3 |
| stability | No | Optional target voice stability (0.0-1.0; lower is more expressive, higher is steadier). | |
| model_options | No | Optional model-family-specific options (for example, `{"elevenlabs": {...}}`). Unrecognized keys emit an `option_ignored` warning. | |
| similarity_boost | No | Optional target voice similarity boost (0.0-1.0). | |
| client_request_id | Yes | Stable retry identity for this billable operation. Reuse only for the exact same generation arguments. | |
| use_speaker_boost | No | Optional speaker clarity boost on the target voice. | |
| remove_background_noise | No | Strip ambient noise from the source recording before voice conversion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | ||
| error | No | ||
| usage | No | ||
| status | No | ||
| billing | No | ||
| task_id | No | ||
| terminal | No | ||
| artifacts | No | ||
| resolved_model | No |