# Z Image Base Lora text to image fal AI

Needs prompt.

Z Image Base Lora, served by fal.ai. $0.012 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/z-image" and that request_id. The exact endpoint/request billing receipt is required before settlement.

- Tool ID: `fal/fal-ai-z-image-base-lora`
- Name in the catalog: Z Image Base Lora, text to image
- Provider: [fal.ai](/providers/fal.md)
- Capability: [AI image generation](/tools/image-generation.md)
- Price: $0.024 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.024
}
```

Pricing source: [https://fal.ai/models/fal-ai/z-image/base/lora/llms.txt](https://fal.ai/models/fal-ai/z-image/base/lora/llms.txt). $0.012 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",
        "webp"
      ],
      "title": "Output Format",
      "description": "The format of the generated image.",
      "type": "string"
    },
    "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": 4,
      "title": "Guidance Scale",
      "description": "The guidance scale to use for the image generation.",
      "minimum": 1,
      "maximum": 20,
      "type": "number"
    },
    "enable_safety_checker": {
      "default": true,
      "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, and images flagged as unsafe are returned as black images.",
      "type": "boolean"
    },
    "prompt": {
      "title": "Prompt",
      "description": "The prompt to generate an image from.",
      "type": "string"
    },
    "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"
        }
      ]
    },
    "num_inference_steps": {
      "default": 28,
      "title": "Num Inference Steps",
      "description": "The number of inference steps to perform.",
      "minimum": 1,
      "maximum": 50,
      "type": "integer",
      "enum": [
        28
      ]
    },
    "loras": {
      "default": [],
      "title": "Loras",
      "description": "List of LoRA weights to apply (maximum 3).",
      "type": "array",
      "items": {
        "title": "LoRAInput",
        "properties": {
          "scale": {
            "default": 1,
            "maximum": 4,
            "title": "Scale",
            "description": "Scale factor for LoRA application (0.0 to 4.0).",
            "type": "number",
            "minimum": 0
          },
          "path": {
            "title": "Path",
            "description": "URL, HuggingFace repo ID (owner/repo) to lora weights.",
            "type": "string"
          }
        },
        "required": [
          "path"
        ],
        "description": "LoRA weight configuration.",
        "type": "object",
        "x-fal-order-properties": [
          "path",
          "scale"
        ]
      }
    },
    "num_images": {
      "default": 1,
      "title": "Number of Images",
      "description": "The number of images to generate.",
      "minimum": 1,
      "maximum": 1,
      "type": "integer",
      "enum": [
        1
      ]
    },
    "acceleration": {
      "default": "regular",
      "enum": [
        "regular"
      ],
      "title": "Acceleration",
      "description": "The acceleration level to use.",
      "type": "string"
    },
    "negative_prompt": {
      "default": "",
      "title": "Negative Prompt",
      "description": "The negative prompt to use for the image generation.",
      "type": "string"
    }
  },
  "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-z-image-base-lora",
  "input": {
    "prompt": "Grandmother knitting by a window, an empty chair by her",
    "image_size": {
      "width": 1024,
      "height": 1024
    },
    "num_images": 1,
    "num_inference_steps": 28,
    "acceleration": "regular",
    "output_format": "png",
    "guidance_scale": 4,
    "enable_safety_checker": true,
    "loras": [],
    "negative_prompt": ""
  }
}
```

## 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/z-image/base/lora)

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

---

[HTML page](/providers/fal/fal-ai-z-image-base-lora) · [Agent index](/llms.txt)
