Speech to Text
Turn audio into text.
Install a Model
Install a speech to text model in DeepFellow Infra before you call the endpoints. Two services serve these models:
- speaches-ai – faster-whisper models, such as
Systran/faster-whisper-medium. - vllm – Whisper, Qwen3-ASR, Voxtral, and Granite Speech models from the vllm model catalog, such as
openai/whisper-small.
To install a model that is not in a catalog, see Speech to Text Models in Custom Models.
Both endpoints work with models from either service. The translations endpoint transcribes the audio with the model you pass and then translates the text to English with the model set in chat_translation_model. For more information, see Configuration.
vLLM speech to text models need a CUDA 13.0 build of the vllm image. The default vllm GPU image, v0.33.0, is such a build. It needs an NVIDIA driver that supports CUDA 13.0 (R580 or newer). If you selected a -cu129 tag in Docker image version, select a plain release tag, such as v0.33.0 or v0.32.0-ubuntu2404, before you install a speech to text model. The image version applies to every model of the service instance. To keep your other models on a -cu129 tag, add a separate vllm instance for speech to text. For more information, see Selecting a Docker Image Version.
Quickstart
DeepFellow provides two speech to text endpoints: transcriptions and translations that can be used to transcribe audio and translate and transcribe audio into English.
Currently supported input formats are: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, and webm.
Transcriptions
Transcriptions endpoint takes input audio file and output file format.
Supported input formats are: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, and webm.
Supported output formats are: json, text, srt, verbose_json, and vtt.
Example request to transcribe audio:
curl -X 'POST' \
"https://deepfellow-server-host/v1/audio/transcriptions" \
-H "Authorization: Bearer DEEPFELLOW_PROJECT_API_KEY" \
-H 'Content-Type: multipart/form-data' \
-F 'file=@audio.mp3;type=audio/mpeg' \
-F 'model=Systran/faster-whisper-medium'Response:
{ "text": "Hello, how are you?" }See DeepFellow API Reference for the list of all available parameters.
Translations
Translations endpoint works similarly to Transcriptions, but it takes input audio file in any of the supported languages and transcribes it to English.
Example translation request:
curl -X 'POST' \
'https://deepfellow-server-host/v1/audio/translations' \
-H 'Authorization: Bearer DEEPFELLOW_PROJECT_API_KEY' \
-H 'Content-Type: multipart/form-data' \
-F 'file=@audio.mp3;type=audio/mpeg' \
-F 'model=Systran/faster-whisper-medium'Response:
{ "text": "Some text translated to English." }The supported languages will depend on the model you choose.
To read more about speech to text, visit OpenAI API Documentation.
We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.