# Flux

Flux, a subsidiary project of Black Forest Labs, is represented in our API by the following models:

<table><thead><tr><th width="250" valign="top">Model</th><th>Generated image properties</th></tr></thead><tbody><tr><td valign="top"><a href="/pages/IZtrpyRezQ8zIDAUZSZD">flux-pro</a><br></td><td>Format: <strong>JPG, PNG</strong><br>Min size: <strong>256</strong>x<strong>256</strong><br>Max size: <strong>1440</strong>x<strong>1440</strong><br>Default size: <strong>1024</strong>x<strong>768</strong><br>For both height and width, the value must be a multiple of 32.</td></tr><tr><td valign="top"><a href="/pages/IZtrpyRezQ8zIDAUZSZD">flux-pro/v1.1</a></td><td>Format: <strong>JPG, PNG</strong><br>Min size: <strong>256</strong>x<strong>256</strong><br>Max size: <strong>1440</strong>x<strong>1440</strong><br>Default size: <strong>1024</strong>x<strong>768</strong><br>For both height and width, the value must be a multiple of 32.</td></tr><tr><td valign="top"><a href="/pages/1QOnlijkRuAJCOvyCAmh">flux-pro/v1.1-ultra</a></td><td>Format: <strong>JPG, PNG</strong><br>Fixed size: <strong>2752</strong>x<strong>1536</strong></td></tr><tr><td valign="top"><a href="/pages/PI9qFf91yow15Q3LN4BE">flux-realism</a></td><td>Format: <strong>JPG, PNG</strong><br>Min size: <strong>512</strong>x<strong>512</strong><br>Max size: <strong>1536</strong>x<strong>1536</strong><br>Default size: <strong>1024</strong>x<strong>768</strong><br>For both height and width, the value must be a multiple of 32.</td></tr><tr><td valign="top"><a href="/pages/39OaA160LIoHDS0kOgoq">flux/schnell</a></td><td>Format: <strong>PNG</strong><br>Min size: <strong>64</strong>x<strong>64</strong><br>Max size: <strong>1536</strong>x<strong>1536</strong><br>Default size: <strong>1024</strong>x<strong>768</strong><br>For both height and width, the value must be a multiple of 32.</td></tr><tr><td valign="top"><a href="/pages/2MZV29wNaZIICDt8yl7J">flux/dev</a></td><td>Format: <strong>PNG</strong><br>Min size: <strong>512</strong>x<strong>512</strong><br>Max size: <strong>1536</strong>x<strong>1536</strong><br>Default size: <strong>1024</strong>x<strong>768</strong><br>For both height and width, the value must be a multiple of 32.</td></tr><tr><td valign="top"><a href="/pages/NDuTEoECDKQw0WEPUH6I">flux/dev/image-to-image</a></td><td>Format: <strong>PNG</strong><br>Fixed size: Matches the dimensions of the reference image.</td></tr><tr><td valign="top"><a href="/pages/k5JkgNijmuaS9lFcZM5R">flux/kontext-max/text-to-image</a></td><td>Format: <strong>JPEG, PNG</strong><br>Image size can't be set directly — only a preset aspect ratio can be chosen.<br>Default aspect ratio and size: <strong>1:1</strong>, <strong>1024</strong>x<strong>1024</strong></td></tr><tr><td valign="top"><a href="/pages/ihyw9MZ2rquUW6r28hrI">flux/kontext-max/image-to-image</a></td><td>Format: <strong>JPEG, PNG</strong><br>Image size can't be set directly — only a preset aspect ratio can be chosen.<br>Default aspect ratio and size: <strong>16:9</strong>, <strong>1184</strong>x<strong>880</strong> (well, not quite 16:9)</td></tr><tr><td valign="top"><a href="/pages/PrcgSBilLHZDThfLvphb">flux/kontext-pro/text-to-image</a></td><td>Format: <strong>JPEG, PNG</strong><br>Image size can't be set directly — only a preset aspect ratio can be chosen.<br>Default aspect ratio and size: <strong>1:1</strong>, <strong>1024</strong>x<strong>1024</strong></td></tr><tr><td valign="top"><a href="/pages/BOWSZ1JnEMc9ntlvlDfC">flux/kontext-pro/image-to-image</a></td><td>Format: <strong>JPEG, PNG</strong><br>Image size can't be set directly — only a preset aspect ratio can be chosen.<br>Default aspect ratio and size: <strong>16:9</strong>, <strong>1184</strong>x<strong>880</strong> (well, not quite 16:9)</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aimlapi.com/api-references/image-models/flux.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
