# FLUX.2 \[pro\] image edit

Needs prompt and image urls. Served by fal.ai.

FLUX.2 [pro] (Black Forest Labs), image edit, served by fal.ai. The OpenAPI schema for the fal-ai/flux-2-pro/edit queue. Price: $0.03 for the first megapixel plus $0.015 per extra megapixel of input and output: $0.045 with one input image, +$0.015 per additional input image. 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-pro" and that request_id. Billed once, when the result is ready; a generation that fails is refunded.

- Tool ID: `fal/flux-2-pro-edit`
- Name in the catalog: FLUX.2 \[pro\] (Black Forest Labs), image edit
- Provider: [fal.ai](/providers/fal.md)
- Capability: [FLUX.2](/tools/image-generation/flux.md)
- Price: from $0.045 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.045,
  "multipliers": [
    {
      "when": {
        "field": "image_urls",
        "minLength": 2
      },
      "addUsd": 0.015
    },
    {
      "when": {
        "field": "image_urls",
        "minLength": 3
      },
      "addUsd": 0.015
    },
    {
      "when": {
        "field": "image_urls",
        "minLength": 4
      },
      "addUsd": 0.015
    },
    {
      "when": {
        "field": "image_urls",
        "minLength": 5
      },
      "addUsd": 0.015
    },
    {
      "when": {
        "field": "image_urls",
        "minLength": 6
      },
      "addUsd": 0.015
    }
  ]
}
```

Pricing source: [https://fal.ai/models/fal-ai/flux-2-pro/edit](https://fal.ai/models/fal-ai/flux-2-pro/edit). $0.03 for the first megapixel plus $0.015 per extra megapixel of input and output: $0.045 with one input image, +$0.015 per additional input image..

Price verification date: 2026-10-08.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "seed": {
      "type": "integer",
      "description": "The seed to use for the generation.",
      "title": "Seed"
    },
    "image_urls": {
      "items": {
        "type": "string"
      },
      "description": "List of URLs of input images for editing",
      "type": "array",
      "title": "Image URLs"
    },
    "output_format": {
      "enum": [
        "jpeg",
        "png"
      ],
      "description": "The format of the generated image.",
      "default": "jpeg",
      "type": "string",
      "title": "Output Format"
    },
    "enable_safety_checker": {
      "default": true,
      "description": "Whether to enable the safety checker. Disabling it requires account authorization; unauthorized requests are always checked.",
      "type": "boolean",
      "title": "Enable Safety Checker"
    },
    "prompt": {
      "description": "The prompt to generate an image from.",
      "type": "string",
      "title": "Prompt"
    },
    "image_size": {
      "enum": [
        "auto",
        "square_hd",
        "square",
        "portrait_4_3",
        "portrait_16_9",
        "landscape_4_3",
        "landscape_16_9"
      ],
      "type": "string",
      "default": "auto",
      "description": "The size of the generated image. If `auto`, the size will be determined by the model.",
      "title": "Image Size"
    },
    "safety_tolerance": {
      "enum": [
        "1",
        "2",
        "3",
        "4",
        "5"
      ],
      "description": "The safety tolerance level for the generated image. 1 being the most strict and 5 being the most permissive.",
      "default": "2",
      "type": "string",
      "title": "Safety Tolerance"
    }
  },
  "required": [
    "prompt",
    "image_urls"
  ],
  "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-pro-edit",
  "input": {
    "prompt": "make the cube blue, keep everything else",
    "image_urls": [
      "https://storage.googleapis.com/falserverless/example_outputs/nano-banana-2-t2i-output.png"
    ],
    "image_size": "auto"
  }
}
```

## 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-pro/edit)

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

---

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