图片|Qwen-Image-2.0 生图/编辑
Qwen-Image-2.0 in your graph, without the 20GB download
- Image
- Log
Qwen-Image is Alibaba's image-model family - and by the time this pack shipped, community interest in it was huge (the "qwen image" phrase saturates the Reddit corpus at 1000+ threads). The Qwen-Image-2.0 node puts that model inside your ComfyUI graph without you downloading a single weight: it's an API wrapper over Tikpan's /v1/images/generations endpoint. Type a prompt, get an image tensor back, wire it into a Save Image node. From the canvas it looks like any other generator; underneath it's an HTTP call with your key baked in.
That's the whole trade, and it's worth being honest about it up front: this node has no local VRAM cost and installs in seconds, but every image is metered, and your prompt (and any reference images) leave the machine for Tikpan's servers. For a model you can't run locally - or won't wait to download - that's the deal (external-api-nodes.md).
How it works
The node posts a standard OpenAI-style image-generation request to POST /v1/images/generations with the model ID qwen-image-2.0-2026-03-03, then decodes the returned image into a ComfyUI IMAGE tensor. The visible fields map almost one-to-one onto that request: 生成张数 is the n parameter, 水印 is watermark, 提示词扩展 is prompt_extend. The two dropdowns that look like choices - 画面比例 (auto/1:1/16:9/9:16/…) and 清晰度 (auto/1k/2k) - aren't sent raw; the node uses them to compute a pixel size (like 1152x2048), a pattern the pack uses across its image nodes. 模型 is fixed to the single Qwen-Image-2.0 variant this node wraps.
Inputs and outputs that matter
For a beginner: API_密钥 (your sk- key from tikpan.com), 生成指令 (the prompt - tooltip suggests English, and specificity really does matter with Qwen-Image's text-rendering), and 画面比例 + 清晰度 for the frame you want. 生成张数 lets you get up to 4 images per call. The optional 跳过错误 is the batch-flow friend: when on, a failed request returns a black image instead of killing the whole workflow.
Outputs are Image (IMAGE - the result) and Log (STRING - request summary and any error text). Image → Save Image; Log → a text viewer if you're debugging.
Installing
Standard pack install - ComfyUI Manager search "Tikpan", or:
cd ComfyUI/custom_nodes
git clone https://github.com/htrert/ComfyUI-Tikpan-Pro
Restart, grab a key at tikpan.com, paste it in. No model download, no VRAM requirement - the pack's own banner pitches it as "0.6元≈1美金余额" prepaid tokens.
Common issues
- Black image + "API key is empty." The node validates the key length (
sk-alone is rejected). Pasted-but-invalid keys produce a similar failure - check the Log output. - "2K" renders that come back smaller. This was a real bug in this pack's history: passing a string like
"2K"instead of pixels made some models silently return default resolution. The fix (pixel conversion + Lanczos fallback) is in the changelog - if you still see it, it's an upstream/API quirk, and the Log will show what size was actually requested. - Cost creep on batch runs.
nup to 4 multiplies the bill per call. The tooltip on 生成张数 is a reminder for a reason - check it before a big batch. - Security posture. It's an API node holding your key and calling the network by design. Same frame as every wrapper node: prefer vetted installs, read before trusting, be most suspicious of "one node, paste key, it just works" (external-api-nodes.md § Security).
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| 💰_福利_💰 | COMBO | 1 options: 🔥 0.6元≈1美金余额 | 全网底价 👉 https://tikpan.com | |
| 获取密钥请访问 | COMBO | 1 options: 👉 https://tikpan.com (官方授权 Key 获取地址) | |
| 节点说明 | COMBO | 1 options: Qwen-Image-2.0 2026-03-03 | /v1/images/generations | Qwen Image 2.0 加速版 | 文字渲染/真实质感/生图编辑融合 | |
| API_密钥 | STRING | sk- | Tikpan 平台的 API 密钥,以 sk- 开头,从 https://tikpan.com 获取 |
| 生成指令 | STRING | 一张高端商业海报,包含清晰准确的中文标题文字,真实材质,细腻光影,专业排版。 | 描述你想生成/编辑的画面,越具体越准确,推荐英文 |
| 模型 | COMBO | qwen-image-2.0-2026-03-03 | 本节点使用的生图模型 |
| 生成张数 | INT | 11–4 | Tikpan /v1/images/generations 的 n 参数 |
| 画面比例 | COMBO | auto | 用于换算 size;auto 使用模型默认尺寸 |
| 清晰度 | COMBO | auto | 用于换算 size;auto 使用模型默认尺寸 |
| 水印 | COMBO | 关闭|false | Tikpan /v1/images/generations 的 watermark 参数 |
| 提示词扩展 | COMBO | 关闭|false | Tikpan /v1/images/generations 的 prompt_extend 参数 |
| 跳过错误opt | BOOLEAN | false | 本地执行参数:请求失败时返回黑图,避免整个工作流中断。 |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| Image | IMAGE | — |
| Log | STRING | — |