Example Usage
import { TranscriptionModelEndpoint } from "@openrouter/sdk/models";
let value: TranscriptionModelEndpoint = {
inputModalities: [],
outputModalities: [],
providerName: "OpenAI",
providerSlug: "openai",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
inputModalities | models.ModelInputModalityV2[] | ✔️ | Typed inputs the model accepts, following the Models API V2 document. | |
outputModalities | models.ModelOutputModalityV2[] | ✔️ | Typed outputs with the /api/v1/audio/transcriptions request fields each accepts, following the Models API V2 document. | |
providerName | string | ✔️ | N/A | OpenAI |
providerSlug | string | ✔️ | N/A | openai |