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

⭐ Official ▶️ 14.0M runs 📅 Aug 2024 ⚙️ Cog 0.16.8 ⚖️ License
image-to-image text-to-image

About

State-of-the-art image generation with top of the line prompt following, visual quality, image detail and output diversity.

Example Output

Prompt:

"The world's largest black forest cake, the size of a building, surrounded by trees of the black forest"

Output

Example output

Performance Metrics

14.09s Prediction Time
14.10s Total Time
1 Images
All Input Parameters
{
  "steps": 25,
  "width": 1024,
  "height": 1024,
  "prompt": "The world's largest black forest cake, the size of a building, surrounded by trees of the black forest",
  "guidance": 3,
  "interval": 2,
  "safety_tolerance": 2
}
Input Parameters
seed Type: integer
Random seed. Set for reproducible generation
steps Type: integerDefault: 25Range: 1 - 50
Deprecated
width Type: integerRange: 256 - 1440
Width of the generated image in text-to-image mode. Only used when aspect_ratio=custom. Must be a multiple of 32 (if it's not, it will be rounded to nearest multiple of 32). Note: Ignored in img2img and inpainting modes.
height Type: integerRange: 256 - 1440
Height of the generated image in text-to-image mode. Only used when aspect_ratio=custom. Must be a multiple of 32 (if it's not, it will be rounded to nearest multiple of 32). Note: Ignored in img2img and inpainting modes.
prompt (required) Type: string
Text prompt for image generation
guidance Type: numberDefault: 3Range: 2 - 5
Controls the balance between adherence to the text prompt and image quality/diversity. Higher values make the output more closely match the prompt but may reduce overall image quality. Lower values allow for more creative freedom but might produce results less relevant to the prompt.
interval Type: numberDefault: 2Range: 1 - 4
Deprecated
aspect_ratio Default: 1:1
Aspect ratio for the generated image
image_prompt Type: string
Image to use with Flux Redux. This is used together with the text prompt to guide the generation towards the composition of the image_prompt. 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 - 6
Safety tolerance, 1 is most strict and 6 is most permissive
prompt_upsampling Type: booleanDefault: false
Automatically modify the prompt for more creative generation
Output Schema

Output

Type: stringFormat: uri

Version Details
Version ID
ce4035b99fc7bac18bc2f0384632858f126f6b4d96c88603a898a76b8e0c4ac2
Version Created
November 10, 2025
Run on Replicate →