Example Usage
import { TranscriptionModel } from "@openrouter/sdk/models";
let value: TranscriptionModel = {
created: 261350,
description: "yesterday nippy pry whereas",
endpoints: [],
id: "openai/whisper-1",
inputModalities: [
{
type: "text",
},
],
name: "OpenAI: Whisper",
outputModalities: [
{
supportedParameters: {},
type: "video",
},
],
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
created | number | ✔️ | Unix seconds when the model was added | |
description | string | ✔️ | N/A | |
endpoints | models.TranscriptionModelEndpoint[] | ✔️ | N/A | |
id | string | ✔️ | N/A | openai/whisper-1 |
inputModalities | models.ModelInputModalityV2[] | ✔️ | Typed inputs the model accepts, following the Models API V2 document. | |
name | string | ✔️ | N/A | OpenAI: Whisper |
outputModalities | models.ModelOutputModalityV2[] | ✔️ | Typed outputs with the /api/v1/audio/transcriptions request fields each accepts, following the Models API V2 document. |