POST
/
audio
/
transcriptions
curl --request POST \
  --url https://api.openai.com/v1/audio/transcriptions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form model=gpt-4o-transcribe \
  --form 'language=<string>' \
  --form 'prompt=<string>' \
  --form response_format=json \
  --form temperature=0 \
  --form 'include[]=[
  []
]' \
  --form 'timestamp_granularities[]=[
  "segment"
]' \
  --form stream=false
{
  "text": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data

Response

200
application/json

OK

Represents a transcription response returned by model, based on the provided input.