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

Example Usage

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

let value: InputModality = "text";

Values

This is an open enum. Unrecognized values will be captured as the Unrecognized<string> branded type.
"text" | "image" | "file" | "audio" | "video" | Unrecognized<string>