b64_json.
ImageGenerationRequestOutputFormat
Encoding of the returned image bytes. Most models produce raster formats (png, jpeg, webp). SVG is supported by vectorization models (e.g. Quiver) — the SVG markup is UTF-8 base64-encoded in
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
b64_json.
import { ImageGenerationRequestOutputFormat } from "@openrouter/sdk/models";
let value: ImageGenerationRequestOutputFormat = "png";
// Open enum: unrecognized values are captured as Unrecognized<string>
"png" | "jpeg" | "webp" | "svg" | Unrecognized<string>