Speech To Text
speech_to_textTranscribe local audio files (under 25MB, ~2 min) to text with Whisper. Returns plain transcript or verbose JSON with per-segment timings, and auto-detects language.
Instructions
Transcribe a local audio file with whisper (NaN API STT); text_to_speech does the opposite. The file must exist on this machine and stay under 25MB and about 2 minutes, or the request times out. Returns the plain transcript, or the full JSON with per-segment timings when verbose is set. Writes nothing to disk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the audio file to transcribe | |
| verbose | No | Return verbose JSON with segments instead of plain text | |
| language | No | ISO-639-1 language code, e.g. "es", "en". Auto-detected if omitted |