- Flux 2 Pro
- Edit
Endpoint:
POST https://fal.run/fal-ai/flux-2-pro
Endpoint ID: fal-ai/flux-2-proTry it in the Playground
Run this model interactively with your own prompts.
Quick Start
Input Schema
The prompt to generate an image from.
The size of the generated image. Default value:
landscape_4_3Possible values: square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9The seed to use for the generation.
The safety tolerance level for the generated image. 1 being the most strict and 5 being the most permissive. Default value:
"2"Possible values: 1, 2, 3, 4, 5Whether to enable the safety checker. Default value:
trueThe format of the generated image. Default value:
"jpeg"Possible values: jpeg, pngIf
True, the media will be returned as a data URI and the output data won’t be available in the request history.Output Schema
The generated images.
The seed used for the generation.
Input Example
Output Example
Streamlined Professional Pipeline
FLUX.2 [pro] removes generation complexity to focus on what matters: translating prompts into professional-quality images with predictable results. The model’s fixed optimization delivers consistent output quality without requiring expertise in inference tuning. What this means for you:- Zero-configuration quality: Professional-grade outputs without tuning steps or guidance parameters. The model’s internal optimization handles quality decisions
- Production consistency: Predictable results across batch generations make pro ideal for automated workflows and API integrations
- Fast iteration cycles: Streamlined pipeline prioritizes generation speed for teams moving quickly through creative development
- Flexible output formats: Choose between JPEG (optimized file sizes) or PNG (lossless quality) based on delivery requirements
- Reproducible generations: Seed control maintains consistency across variations without exposing low-level inference parameters
- Prompt enhancement: Automatic prompt upsampling refines instructions for optimal interpretation (enabled by default)
Advanced Prompting Techniques
JSON Structured Prompts
For precise control over complex generations, use structured JSON prompts instead of natural language. JSON prompting enables granular specification of scene elements, subjects, camera settings, and composition. Basic JSON structure:HEX Color Code Control
Specify exact colors using HEX codes for precise color matching and brand consistency. Include the keyword “color” or “hex” before the code for best results. Examples:"a wall painted in color #2ECC71""gradient from hex #FF6B6B to hex #4ECDC4""the car in color #1A1A1A with accents in #FFD700"
Image Referencing with @
Reference uploaded images directly in prompts using the@ symbol for intuitive multi-image workflows.
Usage patterns:
"@image1 wearing the outfit from @image2""combine the style of @image1 with the composition of @image2""the person from @image1 in the setting from @image3"
@ syntax provides a natural way to reference multiple images without explicit index notation, while maintaining support for traditional “image 1”, “image 2” indexing.
Related
- Flux 2 Pro — Image Generation
Limitations
image_sizerestricted to:square_hd,square,portrait_4_3,portrait_16_9,landscape_4_3,landscape_16_9safety_tolerancerestricted to:1,2,3,4,5output_formatrestricted to:jpeg,png- Content moderation via safety checker
image_sizerestricted to:auto,square_hd,square,portrait_4_3,portrait_16_9,landscape_4_3,landscape_16_9