# Wan text to image fal AI v2.7

Needs prompt.

Wan, served by fal.ai. $0.03 per images One submitted item is offered per call; the exact receipt determines the final charge. Asynchronous: returns a request_id; poll fal/status and fetch fal/result with model "fal-ai/wan" and that request_id. The exact endpoint/request billing receipt is required before settlement.

- Tool ID: `fal/fal-ai-wan-v2-7-text-to-image`
- Name in the catalog: Wan, text to image
- Provider: [fal.ai](/providers/fal.md)
- Capability: [Wan](/tools/video-generation/wan.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/wan/v2.7/text-to-image/llms.txt](https://fal.ai/models/fal-ai/wan/v2.7/text-to-image/llms.txt). $0.03 per images One submitted item is offered per call; the exact receipt determines the final charge..

Price verification date: 2026-11-03.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "image_size": {
      "description": "Output image size.",
      "default": "square_hd",
      "anyOf": [
        {
          "properties": {
            "width": {
              "default": 512,
              "title": "Width",
              "exclusiveMinimum": 0,
              "description": "The width of the generated image.",
              "maximum": 14142,
              "type": "integer"
            },
            "height": {
              "default": 512,
              "title": "Height",
              "exclusiveMinimum": 0,
              "description": "The height of the generated image.",
              "maximum": 14142,
              "type": "integer"
            }
          },
          "title": "ImageSize",
          "x-fal-order-properties": [
            "width",
            "height"
          ],
          "type": "object"
        },
        {
          "enum": [
            "square_hd",
            "square",
            "portrait_4_3",
            "portrait_16_9",
            "landscape_4_3",
            "landscape_16_9"
          ],
          "type": "string"
        }
      ],
      "title": "Image Size"
    },
    "num_images": {
      "description": "Number of images to generate (1-5).",
      "default": 1,
      "minimum": 1,
      "title": "Num Images",
      "maximum": 1,
      "type": "integer",
      "enum": [
        1
      ]
    },
    "prompt": {
      "maxLength": 2000,
      "description": "Text prompt describing the desired output. Supports Chinese and English.",
      "minLength": 1,
      "title": "Prompt",
      "type": "string"
    },
    "seed": {
      "description": "Random seed for reproducibility (0-2147483647).",
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Seed"
    },
    "negative_prompt": {
      "description": "Content to avoid in the generated image. Max 500 characters.",
      "default": "",
      "anyOf": [
        {
          "maxLength": 500,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Negative Prompt"
    },
    "output_format": {
      "enum": [
        "jpeg",
        "png",
        "webp"
      ],
      "description": "The format of the generated images.",
      "default": "jpeg",
      "title": "Output Format",
      "type": "string"
    },
    "enable_safety_checker": {
      "description": "Enable content moderation for input and output. Disabling it requires account authorization; unauthorized requests are always checked.",
      "default": true,
      "title": "Enable Safety Checker",
      "type": "boolean"
    }
  },
  "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-wan-v2-7-text-to-image",
  "input": {
    "prompt": "An astronaut riding a horse in a photorealistic style.",
    "num_images": 1,
    "image_size": "square_hd",
    "negative_prompt": "",
    "output_format": "jpeg",
    "enable_safety_checker": true
  }
}
```

## 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/wan/v2.7/text-to-image)

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

---

[HTML page](/providers/fal/fal-ai-wan-v2-7-text-to-image) · [Agent index](/llms.txt)
