STT

Get a speech-to-text model

Changed on

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

get/audio/transcriptions/models/{author}/{slug}

Request

  • Base URL
    https://openrouter.ai/api/v1
  • Auth
    none required

Path parameters

author, string required

Model author/organization

Example:openai
slug, string required

Model slug

Example:whisper-1

Response

A speech-to-text model and its endpoints

TranscriptionModel required

A speech-to-text model: its endpoints' members widened across endpoints, plus each endpoint with its own.

created, integer required

Unix seconds when the model was added

description, string required
endpoints, TranscriptionModelEndpoint[] required
id, string required
input_modalities, ModelInputModalityV2[] required

Typed inputs the model accepts, following the Models API V2 document.

name, string required
output_modalities, ModelOutputModalityV2[] required

Typed outputs with the /api/v1/audio/transcriptions request fields each accepts, following the Models API V2 document.

Example response

{
  "endpoints": [
    {
      "provider_name": "OpenAI",
      "provider_slug": "openai"
    }
  ],
  "id": "openai/whisper-1",
  "name": "OpenAI: Whisper"
}

Changes

    • warning

      added the new audio/pcm enum value to the endpoints/items/input_modalities/items/oneOf[subschema #4]/supported_inputs/formats/values/items response property for the response status

    • warning

      added the new audio/pcm enum value to the input_modalities/items/oneOf[subschema #4]/supported_inputs/formats/values/items response property for the response status

    • warning

      added the new audio/pcma enum value to the endpoints/items/input_modalities/items/oneOf[subschema #4]/supported_inputs/formats/values/items response property for the response status

    3 more changes in this revision