---
title: "FLUX 2 Max Text-to-Image API & Playground - Comfy"
description: "FLUX 2 Max Text-to-Image by Black Forest Labs: Generates an image from text with up to 9 reference images, premium quality. Typical cost: 14.8 credits per run."
canonical: https://comfy.org/hub/models/flux-2-max-text-to-image/
lang: en
index: https://comfy.org/llms.txt
---

[Back to all models](https://comfy.org/hub/models/)

Black Forest Labs

[Generate images](https://comfy.org/hub/models/?useCase=generate-images)

# FLUX 2 Max Text-to-Image

Generates an image from text with up to 9 reference images, premium quality.

14.8 credits /Run

- [text-to-image](https://comfy.org/hub/models/?q=text-to-image)
- [premium](https://comfy.org/hub/models/?q=premium)

[Read docs](https://docs.comfy.org/development/comfy-router/models#black-forest-labs)

Input

Prompt

Image

-
-
-

Select or drop up to 9 images PNG, JPEG, WEBP ·  up to 25 MiB

Height

Width

Advanced settings

Output format

Prompt enhancement

Let the model expand or refine your prompt before generation.

Seed

Reuse a seed with the same inputs to make results more repeatable.

Output

![FLUX 2 Max Text-to-Image: Object Swap](https://cdn.jsdelivr.net/gh/Comfy-Org/workflow_templates@main/output/api_bfl_flux2_max_sofa_swap.png)

Example

## Try an example

- Replace the current sofa with the one in Image 2, then place the character from Image 3 on the new sofa. Keep the scene lighting, environment, color scheme, and all other furniture completely unchanged.

## More from Black Forest Labs

[Browse all Browse all models](https://comfy.org/hub/models/)

- [Black Forest Labs

  ### FLUX 2 Pro

  Text to Image

  bfl flux flux-2 text-to-image](https://comfy.org/hub/models/flux-2-pro-text-to-image/)
- [Black Forest Labs

  ### FLUX.1 Kontext Max Image Edit

  Image to Image

  bfl flux kontext edit premium image-edit](https://comfy.org/hub/models/flux-1-kontext-max-image-edit/)
- [Black Forest Labs

  ### FLUX Pro 1.1

  Text to Image

  bfl flux text-to-image legacy](https://comfy.org/hub/models/flux-pro-1-1-text-to-image/)
- [Black Forest Labs

  ### FLUX Pro 1.1 Ultra

  Text to Image

  bfl flux ultra text-to-image](https://comfy.org/hub/models/flux-pro-1-1-ultra-text-to-image/)
