ImageGenerationRequestOutputFormat - TypeScript SDK

ImageGenerationRequestOutputFormat type definition

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

Encoding of the returned image bytes.

Example Usage

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

Values

1"png" | "jpeg" | "webp" | Unrecognized<string>