Skip to main content
Agno agents can transcribe audio files using different tools and models. This page covers OpenAI transcription; see Audio to Text Transcription for the fully multimodal Gemini approach.

Using OpenAI Transcription (Cloud)

The following agent uses OpenAITools with the gpt-4o-transcribe model for audio transcription. OpenAITools defaults to whisper-1 if no transcription_model is set.
speech_to_text.py

Usage

1

Set up your virtual environment

2

Install dependencies

3

Export your OpenAI API key

4

Run Agent