魔搭❤免费生图
Z-Image Turbo through the ModelScope API — no local GPU required
- image
- image_2
- image_3
- image_4
- images
The pack's Gemini nodes generate images through a paid reseller channel. This node is the budget lane: it runs Tongyi-MAI/Z-Image-Turbo - Alibaba's 6B image model, the one the KB's Z-Image panel calls the community's local-photorealism default - through Alibaba's ModelScope inference API instead of on your GPU.
That's a genuinely different trade than the Banana nodes. Z-Image is an open model (Apache 2.0) that you could run locally on a 12GB card; this node is the "no GPU, or don't want to host it" path to the same weights, per the KB's external-api-nodes framing of calling an open model on someone else's server. For batch work where you don't want to babysit VRAM, that's a reasonable exchange - and it uses a separate key and billing from the Gemini channel.
The inputs that matter
prompt(multiline) - the positive prompt. Z-Image's Qwen3 text encoder handles both English and Chinese natively.modelscope_api_key- required. Get one from ModelScope (魔搭社区) - this is the same account/hub the KB's ModelScope panel covers, and the key is for its inference API.model- currently justTongyi-MAI/Z-Image-Turbo, with acustom_modelfield to override with any ModelScope-hosted model name (leave blank to use the dropdown choice). If the author later adds options, they'll appear in the dropdown;custom_modelis the escape hatch for everything else.negative_prompt- supported, which matters: the KB notes negative-prompt support is a real Z-Image feature.width/height(64–2048, step 64, default 1280×1280) - output size. Z-Image has a ~2MP native ceiling per the KB, so don't expect the 4K behavior of the Gemini Pro models; keep it under ~2048 per side.steps(1–100, default 10),guidance(1–20, default 1.5) - Turbo is a few-step model, and the defaults are the sensible starting point; 10 steps is plenty for Turbo.seed(-1 randomizes),batch_size(1–15),max_concurrency(1–10, default 4) - the batch size is generous and the concurrency knob parallelizes the requests; keepmax_concurrencymodest unless you know the endpoint can take it.绕过代理and禁用SSL验证- the pack's usual network toggles.
The one output
images (IMAGE) - the batch of generated images, ready for a preview or save node. Batch count follows batch_size.
Installing and gotchas
Same pack as the rest:
cd ComfyUI/custom_nodes
git clone https://github.com/98624017/comfyui-banana-li-linux
Restart ComfyUI. No weights to download - the model runs on Alibaba's side.
Three things to know before you burn credits. First, key discipline: this uses the ModelScope key, not the Banana one, and the pack's global key node (XinbaoApiKeyPurge) has a dedicated modelscope_global_api_key slot for exactly this. Second, because Z-Image is open, remember the local alternative exists - if you have a 12GB+ card, running Z-Image Turbo locally (it's ~30s/image and uncensored) costs electricity instead of API calls, and you might prefer that for high volume. This node is the right call when you don't have the card or want the batch to not touch your GPU. Third, Z-Image's biases are real (an Asian-face bias, per the KB) - if you're generating diverse people, feed it explicit descriptions rather than leaving faces to chance.
Inputs (14)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | 一只金色的猫 | — |
| modelscope_api_key | STRING | 输入魔搭key(非必须,可不输入) | |
| 模型选择 | COMBO | Qwen-Image-2.1 | 1 options: Qwen-Image-2.1 |
| 模式 | COMBO | 文生图 | 2 options: 文生图, 图片编辑 |
| 分辨率 | COMBO | 1K | 设置生成尺寸;魔搭接口单边最大2048,2K非方图按所选比例使用长边2048。返回原图,不裁切、不缩放。 |
| 比例 | COMBO | 16:9 | 13 options: 9:21, 1:2, 9:16, 2:3, 3:4, 4:5, +7 |
| imageopt | IMAGE | 参考图1;图片编辑至少连接一张,所有入口合计最多4张;文生图忽略参考图 | |
| image_2opt | IMAGE | 参考图2,可选 | |
| image_3opt | IMAGE | 参考图3,可选 | |
| image_4opt | IMAGE | 参考图4,可选;按入口顺序提交参考图 | |
| batch_sizeopt | INT | 11–15 | — |
| max_concurrencyopt | INT | 41–10 | — |
| 绕过代理opt | BOOLEAN | false | — |
| 禁用SSL验证opt | BOOLEAN | false | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |