ImageGenerationRequestBackground - TypeScript SDK

ImageGenerationRequestBackground type definition

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

Background treatment. transparent requires an output_format that supports alpha (png or webp).

Example Usage

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

Values

1"auto" | "transparent" | "opaque" | Unrecognized<string>