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

⭐ Official ▶️ 6.8M runs 📅 May 2025 ⚙️ Cog 0.16.0
image-editing image-style-transfer text-to-image

About

A premium text-based image editing model that delivers maximum performance and improved typography generation for transforming images through natural language prompts

Example Output

Prompt:

"Make the letters 3D, floating in space on a city street"

Output

Example output

Performance Metrics

4.92s Prediction Time
4.93s Total Time
1 Images
All Input Parameters
{
  "prompt": "Make the letters 3D, floating in space on a city street",
  "input_image": "https://replicate.delivery/xezq/XfwWjHJ7HfrmXE6ukuLVEpXWfeQ3PQeRI5mApuLXRxST7XMmC/tmpc91tlq20.png",
  "aspect_ratio": "match_input_image",
  "output_format": "jpg",
  "safety_tolerance": 2
}
Input Parameters
seed Type: integer
Random seed. Set for reproducible generation
prompt (required) Type: string
Text description of what you want to generate, or the instruction on how to edit the given image.
input_image Type: string
Image to use as reference. Must be jpeg, png, gif, or webp.
aspect_ratio Default: match_input_image
Aspect ratio of the generated image. Use 'match_input_image' to match the aspect ratio of the input image.
output_format Default: png
Output format for the generated image
safety_tolerance Type: integerDefault: 2Range: 0 - 6
Safety tolerance, 0 is most strict and 6 is most permissive. 2 is currently the maximum allowed when input images are used.
prompt_upsampling Type: booleanDefault: false
Automatic prompt improvement
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
Using seed: 558658691
Generating...
Generated image in 4.7sec
Downloading 149928 bytes
Downloaded 0.14MB in 0.14sec
Version Details
Version ID
f72e27297d9c05a36b7fd8faff393d31e3b368543e0bc44bde521886700e166c
Version Created
July 24, 2025
Run on Replicate →