# FLUX.2 \[flash\] fast text to image

Needs prompt. Served by fal.ai.

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. Waits up to 40 s for the result; if the generation takes longer, the run stays RUNNING and returns a request_id; poll fal/status and fetch fal/result with model "fal-ai/flux-2" and that request_id. Billed once, when the result is ready; a generation that fails is refunded.

- Tool ID: `fal/flux-2-flash`
- Name in the catalog: FLUX.2 \[flash\] (Black Forest Labs), fast text to image
- Provider: [fal.ai](/providers/fal.md)
- Capability: [FLUX.2](/tools/image-generation/flux.md)
- Price: from $0.0053 per image
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_unit",
  "amountUsd": 0.0053,
  "unitsField": "num_images",
  "unitsDefault": 1,
  "maxUnits": 4,
  "multipliers": [
    {
      "when": {
        "field": "image_size",
        "equals": "1536x1024"
      },
      "setUsd": 0.007864
    },
    {
      "when": {
        "field": "image_size",
        "equals": "1024x1536"
      },
      "setUsd": 0.007864
    },
    {
      "when": {
        "field": "image_size",
        "equals": "1536x1536"
      },
      "setUsd": 0.011796
    },
    {
      "when": {
        "field": "image_size",
        "equals": "1920x1440"
      },
      "setUsd": 0.013824
    },
    {
      "when": {
        "field": "image_size",
        "equals": "1440x1920"
      },
      "setUsd": 0.013824
    },
    {
      "when": {
        "field": "image_size",
        "equals": "2048x1152"
      },
      "setUsd": 0.011796
    },
    {
      "when": {
        "field": "image_size",
        "equals": "1152x2048"
      },
      "setUsd": 0.011796
    },
    {
      "when": {
        "field": "image_size",
        "equals": "2048x2048"
      },
      "setUsd": 0.020972
    }
  ]
}
```

Pricing source: [https://fal.ai/models/fal-ai/flux-2/flash](https://fal.ai/models/fal-ai/flux-2/flash). $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..

Price verification date: 2026-10-08.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "enable_prompt_expansion": {
      "title": "Enable Prompt Expansion",
      "default": false,
      "type": "boolean",
      "description": "If set to true, the prompt will be expanded for better results."
    },
    "output_format": {
      "title": "Output Format",
      "default": "png",
      "type": "string",
      "enum": [
        "jpeg",
        "png",
        "webp"
      ],
      "description": "The format of the generated image."
    },
    "enable_safety_checker": {
      "title": "Enable Safety Checker",
      "default": true,
      "type": "boolean",
      "description": "If 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."
    },
    "prompt": {
      "title": "Prompt",
      "type": "string",
      "description": "The prompt to generate an image from."
    },
    "num_images": {
      "title": "Number of Images",
      "default": 1,
      "type": "integer",
      "maximum": 4,
      "minimum": 1,
      "description": "The number of images to generate."
    },
    "guidance_scale": {
      "title": "Guidance Scale",
      "default": 2.5,
      "type": "number",
      "maximum": 20,
      "minimum": 0,
      "description": "Guidance 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."
    },
    "seed": {
      "type": "integer",
      "title": "Seed",
      "description": "The seed to use for the generation. If not provided, a random seed will be used."
    },
    "image_size": {
      "type": "string",
      "enum": [
        "square_hd",
        "square",
        "portrait_4_3",
        "portrait_16_9",
        "landscape_4_3",
        "landscape_16_9",
        "1536x1024",
        "1024x1536",
        "1536x1536",
        "1920x1440",
        "1440x1920",
        "2048x1152",
        "1152x2048",
        "2048x2048"
      ],
      "title": "Image Size",
      "default": "landscape_4_3",
      "description": "The size of the image to generate. The width and height must be between 512 and 2048 pixels."
    }
  },
  "required": [
    "prompt"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


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

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

This tool uses deferred settlement. Follow its returned task/run instructions; preserve the existing reservation until the result is reconciled.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://fal.ai/models/fal-ai/flux-2/flash)

[REST inspection](https://api.agentik.cc/v1/tools/fal/flux-2-flash) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/fal/flux-2-flash) · [Agent index](/llms.txt)
