# Luma Uni-1 edit agent

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

Luma Uni-1 Edit, served by fal.ai. The OpenAPI schema for the luma/agent/uni-1/v1/edit queue. Price: Each edit costs $0.042 plus $0.003 per reference/source image. A single-image edit runs $0.045. For $1 you can run this model approximately 22 times. 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 "luma/agent" and that request_id. Billed once, when the result is ready; a generation that fails is refunded.

- Tool ID: `fal/luma-agent-uni-1-v1-edit`
- Name in the catalog: Luma Uni-1 Edit
- Provider: [fal.ai](/providers/fal.md)
- Capability: [AI image generation](/tools/image-generation.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": [
    {
      "addUsdPer": {
        "field": "reference_image_urls",
        "usd": 0.003,
        "max": 8
      }
    }
  ]
}
```

Pricing source: [https://fal.ai/models/luma/agent/uni-1/v1/edit](https://fal.ai/models/luma/agent/uni-1/v1/edit). Each edit costs $0.042 plus $0.003 per reference/source image. A single-image edit runs $0.045. For $1 you can run this model approximately 22 times. 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": {
    "output_format": {
      "anyOf": [
        {
          "enum": [
            "png",
            "jpeg"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Encoding format of the edited image.",
      "title": "Output Format"
    },
    "style": {
      "default": "auto",
      "description": "Visual style of the edited image.",
      "enum": [
        "auto",
        "manga"
      ],
      "title": "Style",
      "type": "string"
    },
    "image_url": {
      "description": "URL of the source image to edit.",
      "title": "Image Url",
      "type": "string",
      "minLength": 1
    },
    "reference_image_urls": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array",
          "maxItems": 8
        },
        {
          "type": "null"
        }
      ],
      "description": "Optional list of reference image URLs used to guide the edit.",
      "title": "Reference Image Urls"
    },
    "prompt": {
      "minLength": 1,
      "title": "Prompt",
      "maxLength": 6000,
      "description": "Text prompt describing the edit to apply.",
      "type": "string"
    }
  },
  "required": [
    "prompt",
    "image_url"
  ],
  "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/luma-agent-uni-1-v1-edit",
  "input": {
    "prompt": "Replace the background with a sunset over the ocean.",
    "image_url": "https://storage.googleapis.com/falserverless/gallery/example_inputs_liuyifei.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/luma/agent/uni-1/v1/edit)

[REST inspection](https://api.agentik.cc/v1/tools/fal/luma-agent-uni-1-v1-edit) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/fal/luma-agent-uni-1-v1-edit) · [Agent index](/llms.txt)
