Skip to main content

Overview

Speech-to-text endpoints

Available Operations

createTranscription

Transcribes audio into text. Accepts base64-encoded audio input as JSON, an OpenAI-style multipart/form-data file upload, or a URL the provider downloads directly, and returns the transcribed text.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<models.STTResponse>

Errors

createTranscriptionMultipart

Transcribes audio into text. Accepts base64-encoded audio input as JSON, an OpenAI-style multipart/form-data file upload, or a URL the provider downloads directly, and returns the transcribed text.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<models.STTResponse>

Errors

listModels

Lists every speech-to-text model with its typed Models API V2 input and output members, merged across its endpoints, plus each endpoint with its own.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<models.TranscriptionModelsListResponse>

Errors

getModel

Returns a speech-to-text model with each endpoint’s own typed members.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<models.TranscriptionModel>

Errors