media loading
Wan 2.2 image-to-video
Animate a still image into a 5-second video clip with Wan 2.2: fast and cheap, at 480p or 720p.
POST /api/v1/nodes/video-wan-2-2
Two ways to use Wan 2.2 image-to-video
Way 1 · Pay per call (x402)
For AI agents, no sign-up
Your agent sends the request, gets a 402 with the exact price (from $0.069), signs a USDC payment on Base and retries. Nothing is collected unless the call succeeds.
add TollNode to Claude Code, Cursor or Codex (once)
npx agentcash add https://tollnode.comor call it directly
npx agentcash@latest fetch https://tollnode.com/api/v1/nodes/video-wan-2-2 -m POST -b '{"image":"https://tollnode.com/examples/restore-photo-after.jpg","prompt":"the car pulls away from the toll booth, gentle camera pan","resolution":"480p"}'Way 2 · Account + API key
For apps and teams
Create a free account, load a balance with USDC on Base, create an API key and call any node. Same prices; each successful call is deducted from your balance.
curl
curl -X POST https://tollnode.com/api/v1/nodes/video-wan-2-2 \
-H "Authorization: Bearer $TOLLNODE_API_KEY" \
-H "content-type: application/json" \
-d '{"image":"https://tollnode.com/examples/restore-photo-after.jpg","prompt":"the car pulls away from the toll booth, gentle camera pan","resolution":"480p"}'Step-by-step, with code in JavaScript and Python: full guide for Wan 2.2 image-to-video.
Input
| Field | Type | Notes |
|---|---|---|
| seed | integer | |
| image* | string | Starting image (https URL) |
| prompt* | string | What to create or change |
| resolution | enum | Sets the price. Default 480p (480p, 720p) |
Example response
{
"videos": [
"https://tollnode.com/api/v1/files/00000000-0000-0000-0000-000000000000/0"
],
"aiGenerated": true
}FAQ
- What does the Wan 2.2 image-to-video node return?
- Animate a still image into a 5-second video clip with Wan 2.2: fast and cheap, at 480p or 720p.
- How much does one call cost?
- from $0.069 in USDC on Base, per successful call, depending on resolution (480p: $0.069, 720p: $0.150). No sign-up, subscription or API key.
- What happens if the call fails?
- You are not charged. TollNode checks your signed payment first, runs the node, and only collects the payment if the result is usable. A failed, empty or timed-out call is never settled, so there is nothing to refund.
- How does an AI agent pay?
- With x402. The first request returns HTTP 402 and the exact price. Any x402 wallet signs the USDC payment and retries automatically. In Claude Code or Cursor, run npx agentcash add https://tollnode.com once.
- Can I use an API key instead?
- Yes. Create a free account, add funds in USDC on Base, create an API key and send it as Authorization: Bearer. Each successful call is deducted from your balance at the same price; failed calls cost nothing.