v1

latestOpenAPI 3.1.02026-07-26607.8 KB

Convert speech to text

Transcribe audio with support for multiple languages and context awareness

post/api

Request body

audiostring required

base64 encoded, 16kHz wav audio. Max size is 25MB / 6 minutes of audio

Example request

{
  "audio": "UklGRiQA....",
  "properties": {
    "language": "en"
  }
}

Response

Successful transcription

idstring uuid

Unique identifier for the transcription

textstring

The transcribed text with formatting

detected_languagestring

Detected language code

total_timeinteger

Total processing time in milliseconds

generated_tokensinteger

Number of tokens used

Example response

{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "text": "Testing testing 1, 2, 3",
  "detected_language": "en",
  "total_time": 432,
  "generated_tokens": 9
}