# Flux Kontext Lora text to image fal AI

Needs prompt.

Flux Kontext Lora, served by fal.ai. $0.035 per megapixels Output is constrained to 1024x1024 and one image; reservation covers two billed megapixels, including whole-megapixel rounding. The exact receipt determines the final charge. Asynchronous: returns a request_id; poll fal/status and fetch fal/result with model "fal-ai/flux-kontext-lora" and that request_id. The exact endpoint/request billing receipt is required before settlement.

- Tool ID: `fal/fal-ai-flux-kontext-lora-text-to-image`
- Name in the catalog: Flux Kontext Lora, text to image
- Provider: [fal.ai](/providers/fal.md)
- Capability: [AI image generation](/tools/image-generation.md)
- Price: $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
}
```

Pricing source: [https://fal.ai/models/fal-ai/flux-kontext-lora/text-to-image/llms.txt](https://fal.ai/models/fal-ai/flux-kontext-lora/text-to-image/llms.txt). $0.035 per megapixels Output is constrained to 1024x1024 and one image; reservation covers two billed megapixels, including whole-megapixel rounding. The exact receipt determines the final charge..

Price verification date: 2026-11-03.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "output_format": {
      "default": "png",
      "enum": [
        "jpeg",
        "png"
      ],
      "title": "Output Format",
      "type": "string",
      "description": "The format of the generated image."
    },
    "image_size": {
      "type": "object",
      "properties": {
        "width": {
          "type": "integer",
          "enum": [
            1024
          ]
        },
        "height": {
          "type": "integer",
          "enum": [
            1024
          ]
        }
      },
      "required": [
        "width",
        "height"
      ],
      "additionalProperties": false,
      "default": {
        "width": 1024,
        "height": 1024
      }
    },
    "guidance_scale": {
      "default": 2.5,
      "title": "Guidance scale (CFG)",
      "type": "number",
      "minimum": 0,
      "maximum": 20,
      "description": "\n            The CFG (Classifier Free Guidance) scale is a measure of how close you want\n            the model to stick to your prompt when looking for a related image to show you.\n        "
    },
    "enable_safety_checker": {
      "default": true,
      "title": "Enable Safety Checker",
      "type": "boolean",
      "description": "If set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked, and images flagged as unsafe are returned as black images."
    },
    "seed": {
      "title": "Seed",
      "description": "\n            The same seed and the same prompt given to the same version of the model\n            will output the same image every time.\n        ",
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "prompt": {
      "title": "Prompt",
      "type": "string",
      "description": "The prompt to generate the image with"
    },
    "num_inference_steps": {
      "default": 30,
      "title": "Num Inference Steps",
      "type": "integer",
      "minimum": 10,
      "maximum": 50,
      "description": "The number of inference steps to perform.",
      "enum": [
        30
      ]
    },
    "loras": {
      "default": [],
      "title": "Loras",
      "type": "array",
      "description": "\n            The LoRAs to use for the image generation. You can use any number of LoRAs\n            and they will be merged together to generate the final image.\n        ",
      "items": {
        "properties": {
          "scale": {
            "default": 1,
            "title": "Scale",
            "type": "number",
            "minimum": 0,
            "maximum": 4,
            "description": "\n            The scale of the LoRA weight. This is used to scale the LoRA weight\n            before merging it with the base model.\n        "
          },
          "path": {
            "title": "Path",
            "type": "string",
            "description": "URL or the path to the LoRA weights."
          }
        },
        "title": "LoraWeight",
        "type": "object",
        "x-fal-order-properties": [
          "path",
          "scale"
        ],
        "required": [
          "path"
        ]
      }
    },
    "num_images": {
      "default": 1,
      "title": "Num Images",
      "type": "integer",
      "minimum": 1,
      "maximum": 1,
      "description": "The number of images to generate.",
      "enum": [
        1
      ]
    },
    "acceleration": {
      "default": "none",
      "enum": [
        "none"
      ],
      "title": "Acceleration",
      "type": "string",
      "description": "The speed of the generation. The higher the speed, the faster the generation."
    }
  },
  "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/fal-ai-flux-kontext-lora-text-to-image",
  "input": {
    "prompt": "Mount Fuji with cherry blossoms in the foreground, clear sky, peaceful spring day, soft natural light, realistic landscape.",
    "image_size": {
      "width": 1024,
      "height": 1024
    },
    "num_images": 1,
    "num_inference_steps": 30,
    "acceleration": "none",
    "output_format": "png",
    "guidance_scale": 2.5,
    "enable_safety_checker": true,
    "loras": []
  }
}
```

## 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-kontext-lora/text-to-image)

[REST inspection](https://api.agentik.cc/v1/tools/fal/fal-ai-flux-kontext-lora-text-to-image) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/fal/fal-ai-flux-kontext-lora-text-to-image) · [Agent index](/llms.txt)
