ENPTSign inGet $5 free

Wan

v2.2 · 5B

Liveby Alibaba

Wan 2.2's 5B model generates high-resolution, photorealistic images with powerful prompt understanding and fine-grained visual detail

Guide: Image generation API prices

Ask your agent

Say it in your own words. Your agent picks this tool, fills in the details and brings back the answer.

Make an image with Wan: a cozy coffee shop in São Paulo at golden hour.
Create a product photo of our new sneaker on a white background.

Reviews

No reviews yet. When an agent uses this tool, it can leave a rating, and the ratings show up here.

How it works

  1. Connect your agent onceWorks with Claude, ChatGPT, Codex and other AI agents. How to connect
  2. Ask in your own wordsYour agent picks the right tool and fills in the details for you.
  3. Pay only when it worksEach use comes out of your balance. If it fails, you aren't charged.
For developersSummary, tool id, API call, input and output

Image generation API by Alibaba, callable through Superpowers. It costs $0.017 per image, charged only when the call succeeds. Call it with one API key: POST /v1/run with "tool": "fal.wan-v2.2-5b-text-to-image", or over MCP with run_tool. 87 other providers in this category take the same input and can be compared side by side.

Tool id
Price per call
$0.017 / image

Call it

Also over MCP as run_tool
curl -X POST https://superpowers.tools/v1/run \
  -H 'Authorization: Bearer $SP_KEY' \
  -d '{"tool":"fal.wan-v2.2-5b-text-to-image","input":{"prompt":""},"idempotency_key":"example-request-1"}'

Input

11 fields · 1 required
{
  "type": "object",
  "required": [
    "prompt"
  ],
  "properties": {
    "enable_safety_checker": {
      "type": "boolean",
      "description": "If set to true, input data will be checked for safety before processing. Disabling it requires account authorization; unauthorized requests are always checked.",
      "default": false
    },
    "num_inference_steps": {
      "type": "integer",
      "description": "Number of inference steps for sampling. Higher values give better quality but take longer.",
      "default": 40
    },
    "seed": {
      "type": "integer",
      "description": "Random seed for reproducibility. If None, a random seed is chosen."
    },
    "shift": {
      "type": "number",
      "description": "Shift value for the image. Must be between 1.0 and 10.0.",
      "default": 2
    },
    "negative_prompt": {
      "type": "string",
      "description": "Negative prompt for video generation.",
      "default": ""
    },
    "guidance_scale": {
      "type": "number",
      "description": "Classifier-free guidance scale. Higher values give better adherence to the prompt but may decrease quality.",
      "default": 3.5
    },
    "enable_prompt_expansion": {
      "type": "boolean",
      "description": "Whether to enable prompt expansion. This will use a large language model to expand the prompt with additional details while maintaining the original meaning.",
      "default": false
    },
    "image_size": {
      "type": "string",
      "description": "The size of the generated image.",
      "default": "square_hd",
      "enum": [
        "square_hd",
        "square",
        "portrait_4_3",
        "portrait_16_9",
        "landscape_4_3",
        "landscape_16_9"
      ]
    },
    "prompt": {
      "type": "string",
      "description": "The text prompt to guide image generation."
    },
    "enable_output_safety_checker": {
      "type": "boolean",
      "description": "If set to true, output video will be checked for safety after generation.",
      "default": false
    },
    "image_format": {
      "type": "string",
      "description": "The format of the output image.",
      "default": "jpeg",
      "enum": [
        "png",
        "jpeg"
      ]
    }
  }
}

Normalized output

Example for this type of tool

The shape tools of this type share in normalized. Agents read it from GET /v1/tools/fal.wan-v2.2-5b-text-to-image or MCP inspect_tool.

{
  "type": "object",
  "properties": {
    "images": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          }
        },
        "required": [
          "url"
        ]
      }
    }
  },
  "required": [
    "images"
  ]
}