translate_audio
Transcribes a local audio clip and translates it into a target language, with optional spoken MP3 synthesis and saving.
Instructions
Transcribe and translate a local audio clip (up to 25 MB, 120 seconds), optionally synthesizing and saving spoken audio.
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": {
"file_path": "<file_path>",
"target": "<target>"
},
"name": "translate_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Source language code or "auto". | auto |
| speech | No | Return spoken TTS audio for the translation. | |
| target | Yes | Target language code. | |
| file_path | Yes | Path to the local audio clip. | |
| output_audio_path | No | Optional path to write the synthesized MP3 audio. |