translate_speech
Translates speech audio between English and Mandarin Chinese. Automatically detects input language and outputs original text, translation, and synthesized audio.
Instructions
Translate speech audio between English and Mandarin Chinese. Automatically detects the input language and translates to the other. Returns original text, translation, and synthesised audio as base64-encoded WAV.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio_base64 | Yes | Base64-encoded WAV audio (16 kHz, mono, 16-bit recommended) | |
| sample_rate | No | Sample rate of the input audio in Hz (default: 16000) |