Skip to content

FLUX.2 API

6 endpoints on fal.ai, from $0.03 per call.

Versions

Per call

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

Lowest price

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.