Skip to main content
POST
Create a transcription

Authorizations

Authorization
string
header
required

A workspace API key in an Authorization: Bearer header. A missing header, a scheme other than Bearer, a key of the wrong shape, and a key we reject are all 401.

Body

multipart/form-data
model
string
required

The exact provider-qualified ID from GET /v1/models, for a model whose endpoint_families include audio_transcriptions.

Example:

"openai/whisper-1"

file
file
required

The audio to transcribe.

duration
number

The audio's length in seconds, above zero. It can raise the hold above the estimate from the file's size, never lower it.

Example:

61.5

response_format
string

Model-specific reply format.

Example:

"verbose_json"

prompt
string

Model-specific guidance text.

Example:

"A short greeting."

Response

The provider's transcription, relayed unchanged apart from platform headers. The charge is the reported duration in whole seconds at the model's published rate; where the reply states no duration, the held seconds are charged.