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

# Control Size

> Choose presets, aspect ratios, and output settings.

Mynth supports a small set of size controls.

## Size formats

You can set size with:

* presets such as `"portrait"` or `"landscape"`
* structured aspect ratios
* `"auto"`

Example:

```ts theme={"theme":"kanagawa-dragon"}
size: "square";
size: { type: "aspect_ratio", aspectRatio: "16:9" };
size: { type: "aspect_ratio", aspectRatio: "16:9", scale: "4k" };
size: { type: "auto" };
```

## Presets

Mynth currently defines these named presets:

* `square`
* `portrait`
* `landscape`
* `portrait_tall`
* `landscape_wide`

Each preset maps to a common ratio-oriented layout that Mynth resolves internally for the selected model.

## Aspect ratios

Supported aspect ratios:

* `1:1`
* `2:3`
* `3:2`
* `3:4`
* `4:3`
* `4:5`
* `5:4`
* `9:16`
* `16:9`
* `21:9`
* `2:1`
* `1:2`

Leave `scale` unset to use the model's default size. Set `scale: "4k"` when you want 4K output. If the model has a dedicated 4K price, that rate is used for the request. If the model does not support 4K, Mynth falls back to the default size.

## Output settings

```ts theme={"theme":"kanagawa-dragon"}
output: {
  format: "webp",
  quality: 80,
}
```

Supported formats:

* `png`
* `jpg`
* `webp`

`quality` ranges from `1` to `100`.
