Transcribe audio files to text using the Telnyx STT API (powered by Whisper).
To transcribe an audio file, run:
{baseDir}/scripts/telnyx-stt.py /path/to/audio.mp3
The script outputs the transcribed text to stdout.
{baseDir}/scripts/telnyx-stt.py /tmp/voice-message.ogg
Output:
Hello, this is a test transcription.
Requires TELNYX_API_KEY environment variable to be set.
共 1 个版本