# FLUX.2 \[max\] text to image

Needs prompt. Served by fal.ai.

FLUX.2 [max] (Black Forest Labs), text to image, served by fal.ai. The OpenAPI schema for the fal-ai/flux-2-max queue. Price: $0.07 for the first processed megapixel plus $0.03 per additional megapixel, counted as for FLUX.2 [pro]; presets stay within one megapixel; explicit sizes: 1280x720 $0.07, 1536x1024 $0.10, 1536x1536 and 1920x1440 $0.13, 2560x1440 $0.16, either orientation. 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-max" and that request_id. Billed once, when the result is ready; a generation that fails is refunded.

- Tool ID: `fal/flux-2-max`
- Name in the catalog: FLUX.2 \[max\] (Black Forest Labs), text to image
- Provider: [fal.ai](/providers/fal.md)
- Capability: [FLUX.2](/tools/image-generation/flux.md)
- Price: from $0.07 per call
- 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_call",
  "amountUsd": 0.07,
  "multipliers": [
    {
      "when": {
        "field": "image_size",
        "in": [
          "1280x720",
          "720x1280"
        ]
      },
      "setUsd": 0.07
    },
    {
      "when": {
        "field": "image_size",
        "in": [
          "1536x1024",
          "1024x1536"
        ]
      },
      "setUsd": 0.1
    },
    {
      "when": {
        "field": "image_size",
        "in": [
          "1536x1536",
          "1920x1440",
          "1440x1920"
        ]
      },
      "setUsd": 0.13
    },
    {
      "when": {
        "field": "image_size",
        "in": [
          "2560x1440",
          "1440x2560"
        ]
      },
      "setUsd": 0.16
    }
  ]
}
```

Pricing source: [https://fal.ai/models/fal-ai/flux-2-max](https://fal.ai/models/fal-ai/flux-2-max). $0.07 for the first processed megapixel plus $0.03 per additional megapixel, counted as for FLUX.2 [pro]; presets stay within one megapixel; explicit sizes: 1280x720 $0.07, 1536x1024 $0.10, 1536x1536 and 1920x1440 $0.13, 2560x1440 $0.16, either orientation..

Price verification date: 2026-10-08.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "prompt": {
      "title": "Prompt",
      "type": "string",
      "description": "The prompt to generate an image from."
    },
    "seed": {
      "type": "integer",
      "title": "Seed",
      "description": "The seed to use for the generation."
    },
    "enable_safety_checker": {
      "title": "Enable Safety Checker",
      "type": "boolean",
      "default": true,
      "description": "Whether to enable the safety checker. Disabling it requires account authorization; unauthorized requests are always checked."
    },
    "image_size": {
      "enum": [
        "square_hd",
        "square",
        "portrait_4_3",
        "portrait_16_9",
        "landscape_4_3",
        "landscape_16_9",
        "1280x720",
        "720x1280",
        "1536x1024",
        "1024x1536",
        "1536x1536",
        "1920x1440",
        "1440x1920",
        "2560x1440",
        "1440x2560"
      ],
      "type": "string",
      "title": "Image Size",
      "default": "landscape_4_3",
      "description": "The size of the generated image.",
      "x-fal": {
        "max_area": 4194304,
        "max_height": 2560,
        "multiple_of": 16,
        "max_width": 2560,
        "min_width": 256,
        "min_height": 256
      }
    },
    "safety_tolerance": {
      "title": "Safety Tolerance",
      "enum": [
        "1",
        "2",
        "3",
        "4",
        "5"
      ],
      "type": "string",
      "default": "2",
      "description": "The safety tolerance level for the generated image. 1 being the most strict and 5 being the most permissive."
    },
    "output_format": {
      "title": "Output Format",
      "enum": [
        "jpeg",
        "png"
      ],
      "type": "string",
      "default": "jpeg",
      "description": "The format of the generated image."
    }
  },
  "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-max",
  "input": {
    "prompt": "a small red cube on a white table, studio light",
    "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-max)

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

---

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