Skip to content

Black Forest Labs · fal.ai · Fast text to image

FLUX.2 [flash]

FLUX.2 [flash] (Black Forest Labs), fast text to image, served by fal.ai. The OpenAPI schema for the fal-ai/flux-2/flash queue. Price: $0.005 per megapixel pro rata; preset sizes are at most 1.05 megapixel, billed $0.0053 per image; explicit sizes (512 to 2048 per side) billed on their exact pixel count, e.g. 1536x1024 $0.007864, 2048x2048 $0.020972.

From $0.0053 / unitfal.aiImagefal/flux-2-flashListed

Activation pending; your agent will see it as unavailable until then.

Use this tool with your agent

Give this to your agent
Use my connected Agentik MCP server. I want to use the tool fal/flux-2-flash (FLUX.2 [flash] (Black Forest Labs), fast text to image). Call inspect_tool with {"tool_id": "fal/flux-2-flash"} first and tell me the price before anything runs. Ask me for the inputs it needs; never invent values, IDs or file URLs. When I confirm, call run_tool with tool_id "fal/flux-2-flash" and my inputs, follow it with get_run if it is still running, and give me the result and the price Agentik reports. If the tool is unavailable, say so and use discover_tools to propose an alternative.
Show the prompt

Paste it into Claude, ChatGPT or Codex: your agent takes it from there, and shows the price before it runs.

Parameters

NameTypeRequiredDescription
image_sizestringNoThe size of the image to generate. The width and height must be between 512 and 2048 pixels. Options: square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9, 1536x1024, 1024x1536, 1536x1536, 1920x1440, 1440x1920, 2048x1152.
promptstringYesThe prompt to generate an image from.
output_formatstringNoThe format of the generated image. Options: jpeg, png, webp.
enable_prompt_expansionbooleanNoIf set to true, the prompt will be expanded for better results.
seedintegerNoThe seed to use for the generation. If not provided, a random seed will be used.
guidance_scalenumberNoGuidance Scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you.
num_imagesintegerNoThe number of images to generate.
enable_safety_checkerbooleanNoIf set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked, and images flagged as unsafe are returned as black images.

How your agent calls it

First inspect_tool for the current schema and price, then run_tool with the published example after confirming your inputs:

{
  "tool_id": "fal/flux-2-flash",
  "input": {
    "prompt": "a small red cube on a white table",
    "num_images": 1,
    "image_size": "square"
  }
}

Price and billing

Price
From $0.0053 / unit
Model
Per unit
Detail
The provider’s price, with no markup. Billed for measured usage.
  • The provider’s price, 0% markup.
  • One prepaid balance for every provider; your agent sees the price before it runs.
  • Pay for measured usage; unused reservations are released.