POST
/
{guru_type}
/
transcribe
/
curl --request POST \
  --url https://api.gurubase.io/api/v1/gurubase/transcribe/ \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: multipart/form-data' \
  --form 'audio=@/path/to/your/audio.mp3'
{
  "text": "Hello, this is a test transcription of the audio file."
}
Transcribe an audio file to text. This endpoint supports various audio formats and handles mobile recordings.
curl --request POST \
  --url https://api.gurubase.io/api/v1/gurubase/transcribe/ \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: multipart/form-data' \
  --form 'audio=@/path/to/your/audio.mp3'

Path Parameters

guru_type
string
required
The guru type identifier for the transcription request

Headers

x-api-key
string
required
Your API key for authentication. You can obtain your API key from the Gurubase.io dashboard.

Body Parameters

audio
file
required
The audio file to transcribe. Supported formats: webm, mp3, wav, m4a, ogg. Maximum size: 25MB.

Response

The response contains the transcribed text from the audio file.
text
string
The transcribed text from the audio file
{
  "text": "Hello, this is a test transcription of the audio file."
}