# Seedream v5 flash edit

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

Seedream, served by fal.ai. The OpenAPI schema for the bytedance/seedream/v5/flash/edit queue. Price: $0.027 per images Queued execution; final USD charge comes from the unique billing event matching this exact endpoint and request_id. A missing receipt retains the reservation; no guessed final fee. Asynchronous: returns a request_id; poll fal/status and fetch fal/result with model "bytedance/seedream" and that request_id. Billed once, when the result is ready; a generation that fails is refunded.

- Tool ID: `fal/bytedance-seedream-v5-flash-edit`
- Name in the catalog: Seedream
- Provider: [fal.ai](/providers/fal.md)
- Capability: [Seedream](/tools/image-generation/seedream.md)
- Price: $0.027 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.027,
  "unitsField": "num_images",
  "unitsDefault": 1,
  "maxUnits": 6
}
```

Pricing source: [https://fal.ai/models/bytedance/seedream/v5/flash/edit](https://fal.ai/models/bytedance/seedream/v5/flash/edit). $0.027 per images Queued execution; final USD charge comes from the unique billing event matching this exact endpoint and request_id. A missing receipt retains the reservation; no guessed final fee..

Price verification date: 2026-10-07.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "image_size": {
      "title": "Image Size",
      "x-fal": {
        "min_aspect_ratio": 0.0625,
        "max_aspect_ratio": 16,
        "max_area": 4194304,
        "min_area": 1048576
      },
      "description": "The size of the generated image. Total pixels must be between 1024x1024 and 2048x2048, with aspect ratio between 1/16 and 16.",
      "anyOf": [
        {
          "properties": {
            "height": {
              "title": "Height",
              "exclusiveMinimum": 0,
              "maximum": 14142,
              "description": "The height of the generated image.",
              "default": 512,
              "type": "integer"
            },
            "width": {
              "title": "Width",
              "exclusiveMinimum": 0,
              "maximum": 14142,
              "description": "The width of the generated image.",
              "default": 512,
              "type": "integer"
            }
          },
          "title": "ImageSize",
          "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_1K",
            "auto_2K"
          ],
          "type": "string"
        }
      ],
      "default": "auto_2K"
    },
    "image_urls": {
      "title": "Image URLs",
      "description": "List of URLs of input reference images. Up to 10 images are supported; if more are sent, only the last 10 are used.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "num_images": {
      "minimum": 1,
      "title": "Num Images",
      "maximum": 6,
      "description": "Number of separate model generations to run with the prompt.",
      "default": 1,
      "type": "integer"
    },
    "enable_safety_checker": {
      "title": "Enable Safety Checker",
      "description": "If set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked.",
      "default": true,
      "type": "boolean"
    },
    "output_format": {
      "title": "Output Format",
      "enum": [
        "jpeg",
        "png"
      ],
      "description": "The file format of the generated image.",
      "default": "jpeg",
      "type": "string"
    },
    "prompt": {
      "description": "The text prompt used to edit the image.",
      "title": "Prompt",
      "type": "string"
    }
  },
  "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/bytedance-seedream-v5-flash-edit",
  "input": {
    "prompt": "Replace the product in Figure 1 with that in Figure 2. Seamlessly render the logo in Figure 3 into the product design, in a frosted glass texture.",
    "image_urls": [
      "https://storage.googleapis.com/falserverless/example_inputs/seedreamv45/seedream_v45_edit_input_1.png",
      "https://storage.googleapis.com/falserverless/example_inputs/seedreamv45/seedream_v45_edit_input_2.png",
      "https://storage.googleapis.com/falserverless/example_inputs/seedreamv45/seedream_v45_edit_input_3.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/bytedance/seedream/v5/flash/edit)

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

---

[HTML page](/providers/fal/bytedance-seedream-v5-flash-edit) · [Agent index](/llms.txt)
