# GPT Image 2.5 Flare edit

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

GPT Image 2.5 Flare Edit, served by fal.ai. The OpenAPI schema for the openai/gpt-image-2.5/flare/edit queue. Price: Text tokens (per 1M): $5.00 input, $1.25 cached, $10.00 output. Image tokens (per 1M): $8.00 input, $2.00 cached, $30.00 output. Changing the quality parameter significantly affects cost; by default we use high. Adjust it to your preference. See the description at the bottom of this page for more details on how much canonical image sizes cost. Total cost is rounded up to the closest hundredth of a cent ($0.0001). Actual-cost billing: the initial reservation is an estimate, not a maximum. Output component for one 1024x1024 image at high quality ($0.05268); excludes text/image inputs. Quantity, quality and dimensions affect actual tokens; final total rounded by Fal to $0.0001. The unique Billing Events receipt for this exact endpoint and request_id is the final USD charge, including usage above the estimate. Missing receipts retain the reservation for reconciliation; no guessed final fee. Asynchronous: returns a request_id; poll fal/status and fetch fal/result with model "openai/gpt-image-2.5" and that request_id. Billed once, when the result is ready; a generation that fails is refunded.

- Tool ID: `fal/openai-gpt-image-2-5-flare-edit`
- Name in the catalog: GPT Image 2.5 Flare Edit
- Provider: [fal.ai](/providers/fal.md)
- Capability: [GPT Image](/tools/image-generation/gpt-image.md)
- Price: usage based, the maximum is shown before a run
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

Billed at the exact provider cost, without a per-call cap. The initial reservation is an estimate; additional usage is debited and unused funds are refunded.


```json
{
  "model": "reported",
  "costPath": "cost_usd",
  "requireCost": true,
  "costMode": "actual",
  "reservationBasis": "Output component for one 1024x1024 image at high quality ($0.05268); excludes text/image inputs. Quantity, quality and dimensions affect actual tokens; final total rounded by Fal to $0.0001.",
  "maxUsdDefault": 0.05268,
  "maxUsdCap": 0.05268
}
```

Pricing source: [https://fal.ai/models/openai/gpt-image-2.5/flare/edit](https://fal.ai/models/openai/gpt-image-2.5/flare/edit). Text tokens (per 1M): $5.00 input, $1.25 cached, $10.00 output. Image tokens (per 1M): $8.00 input, $2.00 cached, $30.00 output. Changing the quality parameter significantly affects cost; by default we use high. Adjust it to your preference. See the description at the bottom of this page for more details on how much canonical image sizes cost. Total cost is rounded up to the closest hundredth of a cent ($0.0001). Actual-cost billing: the initial reservation is an estimate, not a maximum. Output component for one 1024x1024 image at high quality ($0.05268); excludes text/image inputs. Quantity, quality and dimensions affect actual tokens; final total rounded by Fal to $0.0001. The unique Billing Events receipt for this exact endpoint and request_id is the final USD charge, including usage above the estimate. Missing receipts retain the reservation for reconciliation; no guessed final fee..

Price verification date: 2026-10-07.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "quality": {
      "description": "Quality for the generated image. Higher settings increase detail, latency, and token usage. Use 'auto' to let the model choose.",
      "title": "Quality",
      "enum": [
        "auto",
        "low",
        "medium",
        "high",
        "xhigh",
        "max"
      ],
      "default": "high",
      "type": "string"
    },
    "image_urls": {
      "maxItems": 16,
      "title": "Image URLs",
      "items": {
        "type": "string"
      },
      "description": "The URLs of the images to use as a reference for the generation. A maximum of 16 images are allowed.",
      "type": "array"
    },
    "output_format": {
      "title": "Output Format",
      "enum": [
        "jpeg",
        "png",
        "webp"
      ],
      "default": "png",
      "description": "Output format for the images",
      "type": "string"
    },
    "background": {
      "title": "Background",
      "enum": [
        "auto",
        "transparent",
        "opaque"
      ],
      "default": "auto",
      "description": "Background for the generated image",
      "type": "string"
    },
    "mask_url": {
      "title": "Mask URL",
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "The URL of the mask image to use for the generation. This indicates what part of the image to edit."
    },
    "output_compression": {
      "title": "Output Compression",
      "anyOf": [
        {
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "description": "Compression level from 0 to 100. Only supported when output_format is 'jpeg' or 'webp'."
    },
    "prompt": {
      "maxLength": 32000,
      "title": "Prompt",
      "description": "The prompt for image generation",
      "minLength": 1,
      "type": "string"
    },
    "image_size": {
      "title": "Image Size",
      "anyOf": [
        {
          "title": "ImageSize",
          "properties": {
            "height": {
              "maximum": 14142,
              "title": "Height",
              "exclusiveMinimum": 0,
              "default": 512,
              "description": "The height of the generated image.",
              "type": "integer"
            },
            "width": {
              "maximum": 14142,
              "title": "Width",
              "exclusiveMinimum": 0,
              "default": 512,
              "description": "The width of the generated image.",
              "type": "integer"
            }
          },
          "x-fal-order-properties": [
            "width",
            "height"
          ],
          "type": "object"
        },
        {
          "enum": [
            "square_hd",
            "square",
            "portrait_4_3",
            "portrait_16_9",
            "landscape_4_3",
            "landscape_16_9",
            "auto"
          ],
          "type": "string"
        }
      ],
      "default": "auto",
      "description": "The size of the generated image. Use 'auto' to infer from input images."
    },
    "num_images": {
      "maximum": 10,
      "title": "Number of Images",
      "minimum": 1,
      "default": 1,
      "description": "Number of images to generate",
      "type": "integer"
    }
  },
  "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/openai-gpt-image-2-5-flare-edit",
  "input": {
    "prompt": "Same workers, same beam, same lunch boxes - but they're all on their phones now. One is taking a selfie. One is on a call looking annoyed. Same danger, new priorities. A hard hat has AirPods.",
    "image_urls": [
      "https://v3b.fal.media/files/b/0a8691af/9Se_1_VX1wzTjjTOpWbs9_bb39c2eb-1a41-4749-b1d0-cf134abc8bbf.png"
    ]
  }
}
```

## 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/openai/gpt-image-2.5/flare/edit)

[REST inspection](https://api.agentik.cc/v1/tools/fal/openai-gpt-image-2-5-flare-edit) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/fal/openai-gpt-image-2-5-flare-edit) · [Agent index](/llms.txt)
