> For the complete documentation index, see [llms.txt](https://docs.flora.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flora.ai/models/image-models/flux-kontext-max-by-black-forest-labs.md).

# Flux Kontext Max (by Black Forest Labs)

### **Overview**

High performing text-to-image model with multi-image support and flexible aspect ratios.

***

### **Quick facts**

* **Modes:** Text → Image · Image → Image · Images → Image
* **Default output / size:** 1024×1024 (1:1)
* **Aspect ratios:** 21:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 9:21

***

### **What it's great for**

* High-quality text-to-image generation with excellent prompt adherence
* Multi-image blending and composition tasks
* Image editing with reference images
* Creative workflows requiring diverse aspect ratios

***

### Parameters

| Control        | Type     | Default | Notes                                                                   |
| -------------- | -------- | ------- | ----------------------------------------------------------------------- |
| `Prompt`       | Text     | —       | Natural-language instruction (required)                                 |
| `Aspect Ratio` | Dropdown | 1:1     | 21:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 9:21 (auto for image inputs) |
| `Seed`         | Number   | Random  | Optional for repeatable results                                         |

***

### **Modes**

| Mode           | Estimated time | Required inputs | Typical use               |
| -------------- | -------------: | --------------- | ------------------------- |
| Text → Image   |           \~8s | Prompt          | Generate images from text |
| Image → Image  |           \~8s | Prompt, Image   | Edit or transform images  |
| Images → Image |           \~8s | Prompt, Images  | Blend up to 5 images      |

***

### **Output options**

| Option       | Values / notes                                  |
| ------------ | ----------------------------------------------- |
| Aspect ratio | 21:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 9:21 |

***

### **Prompt tips**

* Use specific style descriptors for better results
* Seed values enable reproducible outputs
* For multi-image blending, describe the desired composition clearly

***

### **Safety**

Text moderation is applied according to platform rules — avoid disallowed content.

***


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.flora.ai/models/image-models/flux-kontext-max-by-black-forest-labs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
