Skip to content

FLUX.2 API

14 endpoints on fal.ai, from $0.01 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
Enable safety checker
If set to true, the safety checker will be enabled. Optional
Output format
The format of the generated image (jpeg, png or webp). Optional
Image size
An object. Optional
Seed
The seed to use for the generation. Optional
Num images
The number of images to generate. Optional
Guidance scale
Guidance Scale is a measure of how close you want the model to stick to your prompt when looking for a related image…. Optional
Num inference steps
The number of inference steps to perform. Optional

Other image generation models

Lowest price

Questions

Which FLUX.2 versions can my agent run?

FLUX 2 text to image fal AI, FLUX 2 Turbo text to image fal AI, FLUX.2 [flash] fast text to image, FLUX.2 [klein] 4B Base LoRA text to image fal AI, FLUX.2 [klein] 4B Base text to image fal AI and 9 more.

How is it billed?

Per call, at the provider's price with no markup, from $0.01 per call. Your agent sees the price before it runs a tool.

Connect your agent to 3,500+ tools for free

Sign in with Google or GitHub. No card required.