Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

import { OutputModality } from "@openrouter/sdk/models";

let value: OutputModality = "text";

// Open enum: unrecognized values are captured as Unrecognized<string>

Values

"text" | "image" | "embeddings" | "audio" | "video" | "rerank" | "speech" | "transcription" | Unrecognized<string>