translate_file
Translates speech in a WAV audio file between English and Mandarin Chinese. Automatically detects the input language and saves the translated audio alongside the original, returning both texts.
Instructions
Translate a speech audio file between English and Mandarin Chinese. Pass an absolute path to a WAV file. Automatically detects the input language and translates to the other. Saves the translated audio next to the source file and plays it. Returns original text and translation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to a WAV audio file (16 kHz, mono, 16-bit recommended) |