Makernice
← All posts
A red fox trotting through a snowy birch forest at ground level, snowflakes in the air and pale winter light between the trunksGuides

How to Use Wan AI (Wan 3.0) in Claude Code and Cursor?

Makernice Team · ·

Prices as of November 12, 2026 (price list v15).

Key takeaways

  • Wan 3.0 runs from Claude Code and Cursor through the Makernice MCP server; a 5-second 720p clip is $0.39 at price list v15 (November 12, 2026).
  • Wan 3.0 accepts any whole number of seconds from 2 to 30, at 480p, 720p, 1080p.
  • Wan 3.0 produces sound by default; setting generate_audio to false gives a silent clip, and no request takes an audio file as input.
  • Only text-to-video takes an aspect ratio on Wan 3.0; image-to-video, first and last frame and reference-to-video (up to 10 images) follow the input instead.
  • Wan 3.0 on Makernice is a hosted API model; no official Wan 3.0 open-weights release was listed on Hugging Face when checked on November 12, 2026.
Ask an AI assistant about this pageAsk ChatGPTAsk ClaudeAsk Perplexity

Wan 3.0, Alibaba's video model, runs in Claude Code and Cursor through the Makernice MCP server: the agent gets a price from estimate_cost, you approve, and generate runs the job capped at that max_cost_usd. Wan 3.0 defaults to 720p, where a 5-second clip is $0.39 on price list v15 (November 12, 2026). Text-to-video, image-to-video, first and last frame and reference-to-video all work from the same chat.

How do I use an MCP server to generate Wan 3.0 in Claude Code or Cursor?

Wan 3.0 is generated over MCP by adding the Makernice server to your editor and signing in; you also need a Makernice account with balance. Claude Code: run claude mcp add --transport http --scope user makernice with the URL listed on the Claude Code setup page, type /mcp, pick makernice and approve in the browser. Cursor: install from the Cursor setup page or paste its block into ~/.cursor/mcp.json, then sign in beside makernice under Cursor's MCP settings.

Each connection gets a per-job limit, and you can add a daily limit as well. The get_balance tool reports both alongside your balance, which is handy before a long Wan 3.0 take that bills many seconds at once.

Wan 3.0 without an editor: Claude and ChatGPT connectors

If you would rather ask for Wan 3.0 in a chat window than in an IDE, Claude and ChatGPT can reach the same Makernice tools. Claude takes the server as a custom connector (how to add it). ChatGPT on the web takes it as a custom MCP server with OAuth sign-in, on plans or workspaces that permit those, and points at its own server address (how to add it); that version leaves out get_topup_link. Nothing else changes for Wan 3.0: the assistant gets a quote from estimate_cost, which does not reserve the amount, passes the figure you approve to generate as max_cost_usd, and fetches the finished clip with check_job.

How do I write a Wan 3.0 text-to-video request, and what settings matter?

A Wan 3.0 text-to-video request needs model, mode t2v and a prompt; the settings that change the clip are duration (2 to 30 seconds), resolution (480p, 720p, 1080p), aspect_ratio (adaptive, 16:9, 9:16, 1:1, 4:3, 3:4) and generate_audio. Describe the subject, the action and the camera in plain sentences, one shot per prompt. Here is a full request from Claude Code, priced before it runs.

You: Can you make a short clip of a fox walking through a snowy birch forest, filmed low to the ground? Show me the cost first.

Claude Code turns that into a request and calls estimate_cost:

{
  "name": "estimate_cost",
  "arguments": {
    "input": {
      "model": "wan-3.0",
      "mode": "t2v",
      "prompt": "A red fox trots through a snowy birch forest, snowflakes falling, low camera following at ground level, soft winter light",
      "duration": 5,
      "resolution": "720p",
      "aspect_ratio": "16:9"
    }
  }
}

Claude Code: Wan 3.0, 720p, 5 seconds: $0.39 at price list v15. Nothing has been charged. Generate it?

You: Yes please.

The same input then goes to generate, carrying your approved amount and a request_id:

{
  "name": "generate",
  "arguments": {
    "input": {
      "model": "wan-3.0",
      "mode": "t2v",
      "prompt": "A red fox trots through a snowy birch forest, snowflakes falling, low camera following at ground level, soft winter light",
      "duration": 5,
      "resolution": "720p",
      "aspect_ratio": "16:9"
    },
    "max_cost_usd": "0.394515",
    "request_id": "fox-birch-forest-720"
  }
}

Makernice computes the price once more when generate arrives. Within max_cost_usd and the connection's per-job limit, the job is created and charged that price; above either, the call is refused and nothing is made. If the agent resends after a network hiccup with the same request_id and input, it gets the original job back with no second charge.

The agent collects the clip with check_job; wait_s of up to 55 seconds keeps the call open until the job ends. Success puts a signed MP4 link in outputs[0].url, valid for 24 hours and renewed by calling check_job again, and console_url opens the run in your console.

How do I turn an image into a Wan 3.0 video, or animate between first and last frames?

Wan 3.0 animates a picture with mode i2v and the image in image_url as the first frame; for first and last frame, set mode flf and add the end picture in last_image_url, and Wan 3.0 fills in the motion between them. Neither mode takes an aspect ratio, because the clip follows the input image. Write the prompt about the change between the frames:

{
  "name": "estimate_cost",
  "arguments": {
    "input": {
      "model": "wan-3.0",
      "mode": "flf",
      "prompt": "The fox curls up in the snow and falls asleep as dusk turns the birches blue",
      "image_url": "https://example.com/keyframes/fox-standing.png",
      "last_image_url": "https://example.com/keyframes/fox-sleeping.png",
      "duration": 6
    }
  }
}

Input images have to be public https links to JPEG, PNG or WebP files no bigger than 10 MB, so upload local files first. Wan 3.0 accepts a wide range of shapes: shorter side from 240 px, longer side up to 8000 px, and width divided by height anywhere from 0.125 to 8.

How do I use reference images with Wan 3.0?

Wan 3.0 uses reference images in reference-to-video mode: mode r2v with 1 to 10 links in reference_images, for example a character from two angles plus a location. Name what each reference is in the prompt, and leave aspect_ratio out. Reference videos aren't supported, because a Makernice request has no field for a video file.

{
  "name": "estimate_cost",
  "arguments": {
    "input": {
      "model": "wan-3.0",
      "mode": "r2v",
      "prompt": "The fox from the references sits by the frozen lake from the references and watches the northern lights",
      "reference_images": [
        "https://example.com/refs/fox-side.jpg",
        "https://example.com/refs/fox-face.jpg",
        "https://example.com/refs/frozen-lake.jpg"
      ],
      "duration": 5,
      "resolution": "720p"
    }
  }
}

Does Wan 3.0 generate audio, and can it use an audio reference?

Wan 3.0 adds sound to every clip by default, and setting generate_audio to false gives a silent clip. A Wan 3.0 request can't take an audio file, so audio references, audio-to-video and lip-sync to your own recording are not supported on Makernice. If you plan to lay your own music or voice-over on top, ask for a silent clip:

{
  "name": "estimate_cost",
  "arguments": {
    "input": {
      "model": "wan-3.0",
      "mode": "t2v",
      "prompt": "One continuous take: the fox crosses a frozen stream, climbs a ridge and looks out over a valley at dusk",
      "duration": 25,
      "resolution": "1080p",
      "aspect_ratio": "16:9",
      "generate_audio": false
    }
  }
}

That request is also a long take: Wan 3.0 accepts any whole number of seconds from 2 to 30. Billing is per second: $0.0394 at 480p, $0.0789 at 720p and $0.1578 at 1080p on price list v15 (November 12, 2026). For a 25-second take, multiply the per-second price by 25, or let the agent ask estimate_cost for the exact amount. Full details are on the Wan 3.0 model page, and the Wan 3.0 vs MiniMax H3 comparison sets it against a similar model.

What you sayWhat the request contains
One unbroken 25-second shotduration 25
No sound, I'll add musicgenerate_audio false
A square clip for a feedaspect_ratio 1:1 (text-to-video only)
Animate my illustrationmode i2v with image_url, no aspect ratio
Bridge two keyframesmode flf with image_url and last_image_url
Use these character and set photosmode r2v, up to 10 reference_images

Why did my Wan 3.0 generation fail, and is the failed task charged?

Wan 3.0 requests are refused before anything is charged when a field doesn't fit the mode, a limit is hit or the balance is short; the agent gets an explanation as text and no job exists. Column one is the refusal's server-side name; column two is the opening of the returned text.

RefusalWhat the tool returnsWhat to do
invalid_request"Invalid parameters"Often an aspect ratio sent with i2v, flf or r2v, or a duration above 30; drop or correct the named field
price_exceeds_max_cost"which exceeds max_cost_usd"A longer take or 1080p raises the total; estimate the new request and approve it
per_job_limit_exceeded"which exceeds this connection's per-job limit"Split a very long take into shorter clips, lower the resolution, or raise the limit
concurrency_limit_reached"Too many jobs are running for this account right now."Wait until a running job finishes
insufficient_balance"Insufficient balance for this job. Nothing was charged."Add balance and retry with the same request_id

A Wan 3.0 job can still fail after it starts; check_job then shows status failed, billing released, and the held amount is back in your balance. Timeouts and input moderation rejections are released the same way, while a finished output blocked by output moderation is still charged and can go to support for review (failed generations). Wan 3.0 Prime shares the same modes, durations and resolutions, at its own per-second prices.

Frequently asked questions

What is the longest Wan 3.0 clip I can generate from Claude Code?
30 seconds. Wan 3.0 accepts any whole number of seconds from 2 to 30 and bills per output second.
Why is my Wan 3.0 video stuck in the queue or so slow?
Makernice doesn't publish a typical Wan 3.0 render time; a job moves from queued to generating to moderating, and a video job that passes 60 minutes fails with a timeout and is released. Each account runs 2 jobs at once by default, so a third waits for a free slot. Alibaba describes Wan 3.0 Prime as the faster version of Wan 3.0, which is the vendor's claim and not a Makernice measurement.
Where can I use Wan 3.0, and is there a Wan AI app?
Alibaba offers Wan 3.0 through Alibaba Cloud Model Studio, and Makernice runs it through its REST API, its MCP server in Claude Code, Cursor, Claude and ChatGPT, and the Create page in the browser console. This guide doesn't cover Alibaba's own apps.
Where are the Wan 3.0 API docs?
The Makernice API docs cover Wan 3.0 with the rest of the catalog: quote with POST /v1/generations/quote, create with POST /v1/generations and an Idempotency-Key, then poll GET /v1/generations/{id}. GET /v1/models lists the modes, durations and resolutions Wan 3.0 accepts, and the list_models tool gives the same over MCP.
Can Wan 3.0 edit images with image-to-image or inpainting?
No. Wan 3.0 is a video model on Makernice and returns clips only, with no image-to-image, layer or inpainting mode. For prompt-based image edits from reference images, use an image model such as Qwen3 Image, also from Alibaba, in image-to-image mode.
Can I use Wan AI for free?
No. There are no free credits, free tier or subscription for Wan 3.0 on Makernice; each clip is billed per second from a prepaid US dollar balance. estimate_cost returns a price without creating a job or charging your balance.
Is Wan 3.0 open source, and can I run it locally or in ComfyUI?
We didn't find an official open-weights release of Wan 3.0: the Wan-AI organization on Hugging Face (huggingface.co/Wan-AI) listed 27 model repositories, all Wan2.1, Wan2.2 or Wan-Dancer, and none named Wan 3.0 (checked November 12, 2026). Makernice offers Wan 3.0 only as a hosted API, so it can't be downloaded or run locally.

Models in this post