FLUX.2 API
6 endpoints on fal.ai, from $0.03 per call.
Versions
Inputs
- Prompt
- The prompt to generate an image from
- Image URLs
- List of URLs of input images for editing
- Image URL
- The image URL to expand using outpainting
- Output format
- The format of the generated image (jpeg, png or webp). Optional
- Enable safety checker
- If set to true, the safety checker will be enabled. Optional
- Seed
- The seed to use for the generation. Optional
- Image size
- The size of the image to generate. Optional
- Safety tolerance
- The safety tolerance level for the generated image. Optional
- Max megapixels
- Upper bound of the processed megapixels, input images and output together, in megapixels (default 6, max 40). Optional
- Enable prompt expansion
- If set to true, the prompt will be expanded for better results. Optional
Other image generation models
- Nano Banana6 tools$0.08/image
- GPT Image8 toolsUsage based
- Seedream8 tools$0.027/image
- Ideogram36 tools$0.01
- Recraft (vector)3 tools$0.01
- Reve2 tools$0.25/image
- Qwen Image2 tools$0.04/image
- Grok Imagine Image2 toolsUsage based
- Luma Uni2 tools$0.102
- HunyuanImage1 tool$0.095/image
- Image upscaling3 tools$0.03/unit
- Background removal2 tools$0.018
Questions
Which FLUX.2 versions can my agent run?
FLUX.2 [flash] fast text to image, FLUX.2 [max] image edit, FLUX.2 [max] text to image, FLUX.2 [pro] image edit, FLUX.2 [pro] outpaint and FLUX.2 [pro] text to image.
How is it billed?
Per call, at the provider's price with no markup, from $0.03 per call. Your agent sees the price before it runs a tool.
Connect your agent to 2,400+ tools for free
Sign in with Google or GitHub. No card required.