The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { SupportedSize } from "@openrouter/sdk/models";
let value: SupportedSize = "2520x1080";
// Open enum: unrecognized values are captured as Unrecognized<string>
Values
"480x480" | "480x640" | "480x720" | "480x854" | "480x1120" | "640x480" | "720x480" | "720x720" | "720x960" | "720x1080" | "720x1280" | "720x1680" | "854x480" | "960x720" | "1080x720" | "1080x1080" | "1080x1440" | "1080x1620" | "1080x1920" | "1080x2520" | "1120x480" | "1280x720" | "1440x1080" | "1620x1080" | "1680x720" | "1920x1080" | "2160x2160" | "2160x2880" | "2160x3240" | "2160x3840" | "2160x5040" | "2520x1080" | "2880x2160" | "3240x2160" | "3840x2160" | "5040x2160" | Unrecognized<string>