# HunyuanImage 3 Instruct text to image

Needs prompt. Served by fal.ai.

HunyuanImage 3 Instruct (Tencent), text to image, served by fal.ai. The OpenAPI schema for the fal-ai/hunyuan-image/v3/instruct/text-to-image queue. Price: $0.09 per megapixel; preset sizes are at most 1.05 megapixel, billed $0.095 per image. Asynchronous: returns a request_id; poll fal/status and fetch fal/result with model "fal-ai/hunyuan-image" and that request_id. Billed once, when the result is ready; a generation that fails is refunded.

- Tool ID: `fal/hunyuan-image-3`
- Name in the catalog: HunyuanImage 3 Instruct (Tencent), text to image
- Provider: [fal.ai](/providers/fal.md)
- Capability: [HunyuanImage](/tools/image-generation/hunyuan-image.md)
- Price: $0.095 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.095,
  "unitsField": "num_images",
  "unitsDefault": 1,
  "maxUnits": 4
}
```

Pricing source: [https://fal.ai/models/fal-ai/hunyuan-image/v3/instruct/text-to-image](https://fal.ai/models/fal-ai/hunyuan-image/v3/instruct/text-to-image). $0.09 per megapixel; preset sizes are at most 1.05 megapixel, billed $0.095 per image..

Price verification date: 2026-10-08.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "image_size": {
      "enum": [
        "square_hd",
        "square",
        "portrait_4_3",
        "portrait_16_9",
        "landscape_4_3",
        "landscape_16_9"
      ],
      "type": "string",
      "title": "Image Size",
      "description": "The desired size of the generated image. If auto, image size will be determined by the model.",
      "default": "square_hd"
    },
    "output_format": {
      "title": "Output Format",
      "enum": [
        "jpeg",
        "png"
      ],
      "type": "string",
      "description": "The format of the generated image.",
      "default": "png"
    },
    "seed": {
      "type": "integer",
      "title": "Seed",
      "description": "Random seed for reproducible results. If None, a random seed is used."
    },
    "enable_prompt_expansion": {
      "title": "Enable Prompt Expansion",
      "type": "boolean",
      "description": "If set to true, the prompt will be expanded through the model's internal recaptioning step.",
      "default": true
    },
    "guidance_scale": {
      "title": "Guidance Scale",
      "maximum": 20,
      "type": "number",
      "exclusiveMinimum": 1,
      "description": "Controls how much the model adheres to the prompt. Higher values mean stricter adherence.",
      "default": 3.5
    },
    "enable_safety_checker": {
      "title": "Enable Safety Checker",
      "type": "boolean",
      "description": "If set to true, the safety checker will be enabled.",
      "default": true
    },
    "prompt": {
      "title": "Prompt",
      "type": "string",
      "description": "The text prompt to generate an image from."
    },
    "num_images": {
      "maximum": 4,
      "title": "Num Images",
      "type": "integer",
      "minimum": 1,
      "description": "The number of images to generate.",
      "default": 1
    }
  },
  "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/hunyuan-image-3",
  "input": {
    "prompt": "a small red cube on a white table, studio light",
    "num_images": 1,
    "image_size": "square"
  }
}
```

## 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/hunyuan-image/v3/instruct/text-to-image)

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

---

[HTML page](/providers/fal/hunyuan-image-3) · [Agent index](/llms.txt)
