# Ernie Image Lora Turbo text to image fal AI

Needs prompt.

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

- Tool ID: `fal/fal-ai-ernie-image-lora-turbo`
- Name in the catalog: Ernie Image Lora Turbo, text to image
- Provider: [fal.ai](/providers/fal.md)
- Capability: [AI image generation](/tools/image-generation.md)
- Price: $0.03 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.03
}
```

Pricing source: [https://fal.ai/models/fal-ai/ernie-image/lora/turbo/llms.txt](https://fal.ai/models/fal-ai/ernie-image/lora/turbo/llms.txt). $0.015 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": {
    "num_images": {
      "maximum": 1,
      "default": 1,
      "minimum": 1,
      "type": "integer",
      "title": "Num Images",
      "description": "Number of images to generate.",
      "enum": [
        1
      ]
    },
    "enable_prompt_expansion": {
      "default": false,
      "type": "boolean",
      "title": "Enable Prompt Expansion",
      "description": "If True, the prompt will be enhanced using an LLM for more detailed results.",
      "enum": [
        false
      ]
    },
    "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": {
      "maximum": 20,
      "default": 1,
      "minimum": 1,
      "type": "number",
      "title": "Guidance Scale",
      "description": "Classifier-free guidance scale."
    },
    "num_inference_steps": {
      "maximum": 20,
      "default": 8,
      "minimum": 1,
      "type": "integer",
      "title": "Num Inference Steps",
      "description": "Number of denoising steps. Turbo model is optimized for 8 steps.",
      "enum": [
        8
      ]
    },
    "negative_prompt": {
      "default": "",
      "type": "string",
      "title": "Negative Prompt",
      "description": "Negative prompt to guide what should not be in the image."
    },
    "enable_safety_checker": {
      "default": true,
      "type": "boolean",
      "title": "Enable Safety Checker",
      "description": "Enable NSFW safety checking on the generated images. Disabling it requires account authorization; unauthorized requests are always checked."
    },
    "loras": {
      "default": [],
      "type": "array",
      "title": "Loras",
      "items": {
        "properties": {
          "path": {
            "type": "string",
            "title": "Path",
            "description": "URL or the path to the LoRA weights."
          },
          "scale": {
            "maximum": 4,
            "default": 1,
            "minimum": 0,
            "type": "number",
            "title": "Scale",
            "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        "
          }
        },
        "x-fal-order-properties": [
          "path",
          "scale"
        ],
        "type": "object",
        "title": "LoraWeight",
        "required": [
          "path"
        ]
      },
      "description": "The LoRAs to use for image generation. You can use up to 3 LoRAs and they will be merged together to generate the final image."
    },
    "output_format": {
      "enum": [
        "jpeg",
        "png"
      ],
      "default": "jpeg",
      "type": "string",
      "title": "Output Format",
      "description": "Output image format."
    },
    "acceleration": {
      "enum": [
        "regular"
      ],
      "default": "regular",
      "type": "string",
      "title": "Acceleration",
      "description": "The acceleration level to use for the image generation."
    },
    "prompt": {
      "type": "string",
      "title": "Prompt",
      "description": "Text prompt for image generation. Supports English, Chinese, and Japanese."
    },
    "seed": {
      "description": "Random seed for reproducibility.",
      "title": "Seed",
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "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-ernie-image-lora-turbo",
  "input": {
    "prompt": "A serene mountain landscape at sunset with golden light",
    "image_size": {
      "width": 1024,
      "height": 1024
    },
    "num_images": 1,
    "enable_prompt_expansion": false,
    "num_inference_steps": 8,
    "acceleration": "regular",
    "guidance_scale": 1,
    "negative_prompt": "",
    "enable_safety_checker": true,
    "loras": [],
    "output_format": "jpeg"
  }
}
```

## 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/ernie-image/lora/turbo)

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

---

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