TollNode

Qwen Image 2 API and MCP server for AI agents

TollNode gives Claude, Cursor or any AI agent Qwen Image 2, Alibaba's image model with accurate text, for new images or edits, over API and MCP, from $0.049 per image, with no subscription.

Ask for 'A glowing red neon sign reading "OPEN 24 HOURS" above the...' and get a finished image link back in seconds.

No subscription · Sign-up optional · From $0.049 per call · Charged only when it works · No Alibaba account needed

Claude Code

Make this image: A glowing red neon sign reading "OPEN 24 HOURS" above the door of a small...

TollNode · Alibaba Qwen · qwen-image-2$0.049 · 1 image

ResultDetail
File1 image link, does not expire
Shape16:9

Real result, shown below.

Works in Claude Code, Cursor, Codex, VS Code and any MCP agent.

Qwen Image 2 examples

Made by this node in our own tests, from the request shown under each.

Qwen Image 2 generation and editing output: A glowing red neon sign reading "OPEN 24 HOURS" above the door of a small roadside diner at night, wet asphalt reflecting the light, cinematic photograph

“A glowing red neon sign reading "OPEN 24 HOURS" above the door of a small roadside diner at night, wet asphalt reflecting the light, cinematic photograph”

AI-generatedaspect_ratio: 16:9

The request that made it

Send the same body to get this kind of result. Change the prompt or the options to get your own.

request body
{
  "prompt": "A glowing red neon sign reading \"OPEN 24 HOURS\" above the door of a small roadside diner at night, wet asphalt reflecting the light, cinematic photograph",
  "aspect_ratio": "16:9"
}

What you control with Qwen Image 2

Failed calls are never charged. Image and audio links returned by TollNode don't expire.

What people ask their AI to do with it

Use it as a Qwen Image 2 MCP server in Claude, Cursor or Codex

Connect once. Then just ask.

Paste this into Claude Code, Cursor or Codex. It connects TollNode and gives your agent a small wallet. Add a few dollars of USDC and you're done.

terminal
npx agentcash add https://tollnode.com

Copy for your AI agent

Paste this into your agent so it knows what this node does and how to call it.

prompt
You can use TollNode's Qwen Image 2 node to make an image. Call POST https://tollnode.com/api/v1/nodes/qwen-image-2 with image (optional), prompt (required), aspect_ratio (optional), negative_prompt (optional). The price is one flat price per call and is charged only when a result is returned. Over MCP, call the "qwen-image-2" tool; use list_models to see prices. Give me the file link when it is done.

Price

$0.049

per image

Charged only when a call returns a result. Failed or empty calls cost $0.

Qwen Image 2 without a Alibaba account

FAQ

Is this the official Alibaba API?
No. TollNode is an independent service. It gives your agent access to Qwen Image 2 through its own API and MCP server, priced per image, with no Alibaba account needed.
Can I use it as a Qwen Image 2 MCP server in Claude?
Yes. Add https://tollnode.com/mcp in Claude Code, Claude Desktop or Cursor, and the "qwen-image-2" tool appears with its options and prices.
How much does a call cost?
One flat price per image, the same for every call, shown above. There is nothing to choose that changes it.
Can I start from my own image?
Yes. Send an image link in image (https) along with your prompt. The result is built from it.
What if nothing comes back?
You're not charged. TollNode only collects payment when a usable result is returned.
How long are the links valid?
They don't expire. Download the file or keep the link.
How do I pay for Qwen Image 2?
Your agent sends the request, gets an HTTP 402 with the exact price (from $0.049 per call), signs a USDC payment on Base and retries. Or use an account balance with an API key. Either way you are charged only when a result comes back.
What does the Qwen Image 2 response look like?
A JSON object with a link to the finished file. The link does not expire, so you can download it later or keep the link.

Ready in a minute

Connect your AI
For developers: endpoint, inputs and an example response

POST https://tollnode.com/api/v1/nodes/qwen-image-2

Input

FieldTypeNotes
seedinteger
imagestringOptional image to edit or use as reference (https URL). Or send the file inline as a base64 data: URI (up to 4.5 MB)
prompt*stringWhat to create or change
aspect_ratioenumAspect ratio, default 1:1 (1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1, 1:2)
negative_promptstringWhat you do not want to see

Example response

{
  "images": [
    "https://tollnode.com/api/v1/files/00000000-0000-0000-0000-000000000000/0"
  ]
}

Also described in the OpenAPI file and llms.txt. Setup for every app: Agents & MCP.