ImageGenerationRequestResolution - TypeScript SDK

ImageGenerationRequestResolution type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Normalized resolution tier of the generated image. Concrete pixel dimensions are derived per-provider.

Example Usage

1import { ImageGenerationRequestResolution } from "@openrouter/sdk/models";
2
3let value: ImageGenerationRequestResolution = "2K";
4
5// Open enum: unrecognized values are captured as Unrecognized<string>

Values

1"512" | "1K" | "2K" | "4K" | Unrecognized<string>