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";
// Open enum: unrecognized values are captured as Unrecognized<string>
Values
"text" | "image" | "file" | "audio" | "video" | Unrecognized<string>