Create transcription (speech-to-text)
GoModel API reference for POST /v1/audio/transcriptions: Create transcription (speech-to-text).
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Audio file to transcribe
Model ID
Input language (ISO-639-1)
Optional text to guide the model
json, text, srt, verbose_json, or vtt
Sampling temperature (0-1)
Timestamp granularities to populate: word and/or segment
Relay the transcript as server-sent events while the provider produces it
Response
Transcription in the requested response_format: a JSON object for json/verbose_json, a text/plain body for text/srt/vtt, or a text/event-stream when stream=true
The response is of type object.