> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 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 `b64_json`.

## Example Usage

```go theme={null}
import (
	"github.com/OpenRouterTeam/go-sdk/models/components"
)

value := components.ImageGenerationRequestOutputFormatPng

// Open enum: custom values can be created with a direct type cast
custom := components.ImageGenerationRequestOutputFormat("custom_value")
```

## Values

| Name                                     | Value |
| ---------------------------------------- | ----- |
| `ImageGenerationRequestOutputFormatPng`  | png   |
| `ImageGenerationRequestOutputFormatJpeg` | jpeg  |
| `ImageGenerationRequestOutputFormatWebp` | webp  |
| `ImageGenerationRequestOutputFormatSvg`  | svg   |
