Telnyx Speech-to-Text
Transcribe audio files to text using the Telnyx STT API (powered by Whisper).
Usage
To transcribe an audio file, run:
{baseDir}/scripts/telnyx-stt.py /path/to/audio.mp3
The script outputs the transcribed text to stdout.
Supported Formats
- MP3
- WAV
- OGG
- M4A
- WebM
Example
{baseDir}/scripts/telnyx-stt.py /tmp/voice-message.ogg
Output:
Hello, this is a test transcription.
Environment
Requires TELNYX_API_KEY environment variable to be set.