🌈RH全能图片@炮老师的小课堂
RunningHub's all-in-one image node, wired into ComfyUI
- 🖼️ 图像1
- 🖼️ 图像2
- 🖼️ 图像3
- 🖼️ 图像4
- 🖼️ 图像5
- 🖼️ 图像6
- 🖼️ 图像7
- 🖼️ 图像8
- 🖼️ 图像9
- 🖼️ 图像10
- 🖼️ 图像
- 🔗 图片链接
- 📋 响应信息
RunningHub (runninghub.cn) is a Chinese cloud platform that rents GPU-backed AI apps and exposes them through an API - one of the bigger names in that corner of the world, with a real Reddit footprint (~350 corpus mentions) as an affordable ComfyUI-hosting/API alternative. DapaoRHAllImageNode is the single-node wrapper for RunningHub's "全能图片" (all-capable image) series: text-to-image, image-to-image, and multi-reference generation through RunningHub's API, without you renting a single GPU hour yourself.
The inputs that matter
- 🌐 API渠道 - 国内版 (domestic/China) vs 国外版 (international, runninghub.ai). The tooltip is blunt: they use different API addresses and different keys, and the keys are not interchangeable. Pick the one matching the account you registered.
- 🔑 API密钥 - your RunningHub API key. Tooltip again: used for this request only, never written to a file.
- 🤖 模型 - three entries: 全能图片G-2 (default), V2, PRO. The endpoint is chosen by channel + mode combo, per the tooltip.
- 🏷️ 渠道 - 官方稳定版 (official-stable, quality-first) vs 低价渠道版 (low-price channel, default here). The naming is the tradeoff: the stable channel costs more and drifts less; the cheap channel is, well, cheap.
- 🔀 模式 - 文生图 (text-to-image) vs 图生图 (image-to-image). Tooltip: img2img requires at least one reference image wired in.
- 📝 提示词 - your prompt. 📐 画面比例 (21 presets incl. 模型默认), 🧩 分辨率 (模型默认/1k/2k/4k), 🎨 画质 (模型默认/low/medium/high - with an honest tooltip that quality only takes effect on the G-2 official-stable endpoint; other endpoints silently ignore it).
- 🎲 随机种 - cache-only, never sent to RunningHub.
- Optional: 🖼️ 图像1–图像10 reference images, 📋 额外参数JSON escape hatch, and polling controls - 🔁 最大轮询秒数 (1200), ⏱️ 轮询间隔 (5s), ⌛ 请求超时 (60s).
How it works
This is an async-task wrapper: submit to RunningHub's openapi/v2 endpoint, poll the task ID until it lands, fetch the image, decode to an IMAGE tensor. Outputs: 🖼️ 图像 (the tensor for your graph), 🔗 图片链接 (the URL), 📋 响应信息 (raw response for debugging).
The honest read
RunningHub is a legitimate platform with a niche but real international presence, and this node is a competent client for it. What it is not is a way to dodge the genre's costs: every run is a metered API call billed against your RunningHub balance (the README is an advertisement for its membership/invite-code model - the author gets a referral bounty, so treat the "绑定送1000算力" as marketing). Your prompts and images leave your machine to RunningHub's servers, same as every API wrapper (external-api-nodes.md covers the category caution).
Gotchas
- 国内版 vs 国外版 key mismatch is the #1 support question waiting to happen. Your runninghub.cn key won't work on runninghub.ai and vice versa.
- Quality setting is a no-op on the low-price channel and most non-G-2 endpoints. Don't chase 画质=high and wonder why nothing changed.
- Img2img needs an image. Wire a reference or the request will fail - the mode doesn't auto-switch like the dapaoAI image nodes do.
- Polling ≠ instant. 720p video-adjacent jobs can take minutes; the 1200s cap is generous, the 60s request timeout is only for the HTTP call, not the job.
- Chinese-only labels, as with the whole pack.
Install: ComfyUI Manager → "dapaoAPI", or git clone https://github.com/paolaoshi/ComfyUI-dapaoAPI.git into ComfyUI/custom_nodes/, pip install -r requirements.txt, restart. Get a RunningHub account and API key first - the node is useless without one.
Inputs (24)
| Name | Type | Default | Description |
|---|---|---|---|
| 🌐 API渠道 | COMBO | 国内版 | 国内版与国外版使用不同的 API 地址和 API 密钥,请选择与密钥一致的渠道。 |
| 🔑 API密钥 | STRING | RunningHub API Key,仅用于本次请求,不会写入文件。国内版和国外版密钥不通用。 | |
| 🤖 模型 | COMBO | 全能图片G-2 | 只保留 G-2、V2、PRO 三个模型,具体端点由渠道和模式共同决定。 |
| 🏷️ 渠道 | COMBO | 低价渠道版 | 官方稳定版质量更稳;低价渠道版通常费用更低。 |
| 🔀 模式 | COMBO | 文生图 | 文生图不需要参考图;图生图必须至少接入一张图像。 |
| 📝 提示词 | STRING | 一张高端商业摄影海报,干净的自然光,细节清晰,质感高级 | — |
| 📐 画面比例 | COMBO | 模型默认 | 选择模型默认时自动使用当前端点默认比例。G-2 低价渠道的 empty 表示不指定比例。 |
| 🧩 分辨率 | COMBO | 模型默认 | 选择模型默认时自动使用当前端点默认分辨率。 |
| 🎨 画质 | COMBO | 模型默认 | 当前只在 G-2 官方稳定版端点中生效;其他端点会自动忽略。 |
| 🎲 随机种 | INT | 00–18446744073709550000 | 只用于 ComfyUI 判断是否重新执行;不会发送给 RunningHub。 |
| 🖼️ 图像1opt | IMAGE | 图生图参考图。 | |
| 🖼️ 图像2opt | IMAGE | 可选参考图。 | |
| 🖼️ 图像3opt | IMAGE | 可选参考图。 | |
| 🖼️ 图像4opt | IMAGE | 可选参考图。 | |
| 🖼️ 图像5opt | IMAGE | 可选参考图。 | |
| 🖼️ 图像6opt | IMAGE | 可选参考图。 | |
| 🖼️ 图像7opt | IMAGE | 可选参考图。 | |
| 🖼️ 图像8opt | IMAGE | 可选参考图。 | |
| 🖼️ 图像9opt | IMAGE | 可选参考图。 | |
| 🖼️ 图像10opt | IMAGE | 可选参考图。 | |
| 📋 额外参数JSONopt | STRING | {} | JSON对象,会合并到 RH 请求体;同名字段会覆盖节点控件生成的参数。 |
| 🔁 最大轮询秒数opt | INT | 120060–3600 | — |
| ⏱️ 轮询间隔opt | INT | 52–30 | — |
| ⌛ 请求超时opt | INT | 6010–300 | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| 🖼️ 图像 | IMAGE | — |
| 🔗 图片链接 | STRING | — |
| 📋 响应信息 | STRING | — |