black-forest-labs/flux-2-max 🔢📝❓🖼️ → 🖼️

⭐ Official ▶️ 2.6M runs 📅 Dec 2025 ⚙️ Cog 0.16.12
image-consistent-character-generation image-editing image-to-image text-to-image

About

The highest fidelity image model from Black Forest Labs

Example Output

Prompt:

"A photorealistic wide shot of a large minimalist digital billboard standing in the middle of a forest filled with purple and lavender-hued trees. Soft violet foliage surrounds the scene, creating a surreal yet elegant atmosphere. The billboard has a sleek metal frame with subtle overhead lights, blending advanced technology with dreamlike nature. On the screen, a dark glass display shows a clean, futuristic UI with gentle lavender and magenta accents. The billboard is transparent, showing the trees behind it. Centered text reads: “FLUX.2 [max]” in a modern sans-serif font, calm, confident, and precise. Soft daylight with a purple color cast, cinematic composition, ultra-high resolution, premium AI launch aesthetic, minimalism, tranquil mood."

Output

Example output

Performance Metrics

30.82s Prediction Time
30.84s Total Time
All Input Parameters
{
  "prompt": "A photorealistic wide shot of a large minimalist digital billboard standing in the middle of a forest filled with purple and lavender-hued trees. Soft violet foliage surrounds the scene, creating a surreal yet elegant atmosphere. The billboard has a sleek metal frame with subtle overhead lights, blending advanced technology with dreamlike nature. On the screen, a dark glass display shows a clean, futuristic UI with gentle lavender and magenta accents. The billboard is transparent, showing the trees behind it. Centered text reads: “FLUX.2 [max]” in a modern sans-serif font, calm, confident, and precise. Soft daylight with a purple color cast, cinematic composition, ultra-high resolution, premium AI launch aesthetic, minimalism, tranquil mood.",
  "resolution": "1 MP",
  "aspect_ratio": "1:1",
  "input_images": [],
  "output_format": "webp",
  "output_quality": 80,
  "safety_tolerance": 2
}
Input Parameters
seed Type: integer
Random seed. Set for reproducible generation
width Type: integerRange: 256 - 2048
Width of the generated image. Only used when aspect_ratio=custom. Must be a multiple of 16 (if it's not, it will be rounded to nearest multiple of 16).
height Type: integerRange: 256 - 2048
Height of the generated image. Only used when aspect_ratio=custom. Must be a multiple of 16 (if it's not, it will be rounded to nearest multiple of 16).
prompt (required) Type: string
Text prompt for image generation
resolution Default: 1 MP
Resolution in megapixels. Up to 4 MP is possible, but 2 MP or below is recommended. The maximum image size is 2048x2048, which means that high-resolution images may not respect the resolution if aspect ratio is not 1:1. Resolution is not used when aspect_ratio is 'custom'. When aspect_ratio is 'match_input_image', use 'match_input_image' to match the input image's resolution (clamped to 0.5-4 MP).
aspect_ratio Default: 1:1
Aspect ratio for the generated image. Use 'match_input_image' to match the first input image's aspect ratio.
input_images Type: arrayDefault:
List of input images for image-to-image generation. Maximum 8 images. Must be jpeg, png, gif, or webp.
output_format Default: webp
Format of the output images.
output_quality Type: integerDefault: 80Range: 0 - 100
Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs
safety_tolerance Type: integerDefault: 2Range: 1 - 5
Safety tolerance, 1 is most strict and 5 is most permissive
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
Running prediction...
Using 1 MP resolution: 1024x1024
Using seed: 19014
Generating image...
Current status: {'id': '39beb57a-c86e-49b3-a4ce-3b49f0567c34', 'status': 'Pending', 'result': None, 'progress': None, 'details': None, 'preview': None}
Current status: {'id': '39beb57a-c86e-49b3-a4ce-3b49f0567c34', 'status': 'Pending', 'result': None, 'progress': None, 'details': None, 'preview': None}
Generated image in 29.5sec
Downloaded image in 1.26sec
Version Details
Version ID
9c23b0aaa98765a9676dbdda58b9c9915627751300747bad54cb1c11b135d3ca
Version Created
March 16, 2026
Run on Replicate →