Skip to main content
POST
Speech To Text From Gcs

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/x-www-form-urlencoded
gcs_blob_name
string
required
language
enum<string>
default:lug

Supported languages for Speech-to-Text transcription.

This enum defines the language codes supported by the STT service. Each value represents an ISO 639-3 language code.

Attributes: acholi: Acholi language (ach). ateso: Ateso language (teo). english: English language (eng). luganda: Luganda language (lug). lugbara: Lugbara language (lgg). runyankole: Runyankole language (nyn). swahili: Swahili language (swa). kinyarwanda: Kinyarwanda language (kin). lusoga: Lusoga language (xog). lumasaba: Lumasaba language (myx).

Available options:
ach,
teo,
eng,
lug,
lgg,
nyn,
swa,
kin,
xog,
myx
adapter
enum<string>
default:lug

Supported languages for Speech-to-Text transcription.

This enum defines the language codes supported by the STT service. Each value represents an ISO 639-3 language code.

Attributes: acholi: Acholi language (ach). ateso: Ateso language (teo). english: English language (eng). luganda: Luganda language (lug). lugbara: Lugbara language (lgg). runyankole: Runyankole language (nyn). swahili: Swahili language (swa). kinyarwanda: Kinyarwanda language (kin). lusoga: Lusoga language (xog). lumasaba: Lumasaba language (myx).

Available options:
ach,
teo,
eng,
lug,
lgg,
nyn,
swa,
kin,
xog,
myx
recognise_speakers
boolean
default:false
whisper
boolean
default:false

Response

Successful Response

Response model for speech-to-text transcription results.

This model represents the output of an STT transcription request, including the transcribed text, diarization data, and metadata.

Attributes: audio_transcription: The transcribed text from the audio. diarization_output: Speaker diarization data as a dictionary. formatted_diarization_output: Human-readable diarization output. audio_transcription_id: Database ID of the saved transcription. audio_url: URL or path to the processed audio file. language: The language code used for transcription. was_audio_trimmed: Whether the audio was trimmed to max duration. original_duration_minutes: Original duration if audio was trimmed.

audio_transcription
string | null

The transcribed text from the audio

diarization_output
Diarization Output · object | null

Speaker diarization data

formatted_diarization_output
string | null

Human-readable diarization output

audio_transcription_id
integer | null

Database ID of the saved transcription

audio_url
string | null

URL or path to the processed audio file

language
string | null

The language code used for transcription

was_audio_trimmed
boolean | null
default:false

Whether the audio was trimmed to max duration

original_duration_minutes
number | null

Original duration in minutes if audio was trimmed