🍌 Banana|普通三视图并发
Front, side, back in one run — the no-template three-view API node
- image_1
- image_2
- image_3
- image_4
- image_5
- image_6
- image_7
- image_8
- image_9
- image_10
- front_image
- side_image
- back_image
- images
- info
- mp4url
This is the "no training wheels" version of the Hrio-Commerce image nodes. Where the flagship template node hides all its prompt magic behind a mode dropdown, the "🍌 Banana|普通三视图并发" node hands you three plain text boxes - front_prompt, side_prompt, back_prompt - and fires three concurrent requests to the backend. That's the whole difference, and for a lot of people it's the better tool.
Why you'd pick this one: you know what you want each view to say. Maybe the template's fashion-replace phrasing doesn't fit your product, or you're shooting something that isn't clothing at all. You write the prompts, you get three consistent images with the same reference inputs, same model, same size. It's an API node in the cleanest form: no sampler, no VRAM, no local model - just your key, your text, and a cloud backend doing the generation (see the KB's external-api-nodes writeup for the honest tradeoffs: per-call cost and your data leaving the machine).
How it works
Same engine as its template sibling. The node takes whatever you typed into the three prompt boxes, uploads your optional reference images (up to ten slots, reused across all three requests), and sends three concurrent generation calls with the same model, image_size, and aspect_ratio. Results come back as IMAGE tensors on the canvas - ready for a Save Image or Preview node, as if a local sampler had made them.
The one genuinely nice mechanic is generate_scope. Default is "全部并发生成" (generate all three), but you can set it to regenerate just the front, side, or back. The other two views come back from this node's last successful run - cached, not re-billed. Bad side view? Re-run the side only. That's a real money-saver on a metered API.
Inputs and outputs that matter
api_key- the vendor key; leave blank and it readsconfig.ini.front_prompt/side_prompt/back_prompt- your text. Each one is a separate multiline box, and the defaults are solid Chinese e-commerce phrasing (white background, single subject, clean lighting) if you just want to edit them slightly.model- Banano (default), Banano Pro, or Gemini 3.5 Flash. Display names; the backend maps them to its actual endpoints.image_size(default 2K) andaspect_ratio(default Auto) - shared across all three views.
Outputs: front_image, side_image, back_image (each a single IMAGE), a combined images batch, plus info (STRING) and mp4url (STRING, empty for image nodes). The only inputs a beginner actually touches are the three prompts and the model.
Install
Same pack as everything Hrio:
cd ComfyUI/custom_nodes
git clone https://github.com/moki-flank/Hrio-Commerce
or search Hrio-Commerce in ComfyUI Manager and restart. No model files to download - the pack's real dependencies are just requests, numpy, and pillow; torch comes from ComfyUI. You still need the vendor's API key, in the node field or in the pack's auto-created config.ini under [banana].
Common issues
- Missing key, missing output. No API key → the node returns a red error image as its output instead of failing loudly. Check the
infostring. - Chinese defaults. The default prompts are in Chinese, matching the template logic the backend expects. If you type pure English, the results may drift from the product-photography style the defaults enforce. Keep the structure - white background, single subject, no collage, no watermark.
- It's proprietary and it phones home. This pack is closed-source, carries a credential, and calls a cloud endpoint by design. That's the category the KB flags most strongly: read the code before you hand it your key, and know every reference image goes to the vendor's server.
- After updates, delete old Banana nodes and hard-refresh the browser (Ctrl+F5) - stale nodes have caused issues in past releases.
Want more than three angles? The pack's five-view node does front, two 45° views, side, and back in one shot. Want the guided templates instead? That's the template panel node.
Inputs (19)
| Name | Type | Default | Description |
|---|---|---|---|
| api_key | STRING | 填入 API Key;留空时尝试读取 config.ini 的 api_key | |
| front_prompt | STRING | 正面视图:主体正对镜头,完整展示正面轮廓、正面结构、正面材质、正面图案和关键识别细节。纯白背景,单个主体。 | 正面图提示词。普通三视图并发节点不再选择模板,直接按这里生成正面图。 |
| side_prompt | STRING | 侧面视图:主体严格 90 度侧向展示,清晰展示厚度、侧边轮廓、侧面结构、层次关系和真实遮挡。纯白背景,单个主体。 | 侧面图提示词。普通三视图并发节点不再选择模板,直接按这里生成侧面图。 |
| back_prompt | STRING | 背面视图:主体背对镜头,完整展示背面轮廓、背部结构、背面图案、后片、后摆或后部细节。纯白背景,单个主体。 | 背面图提示词。普通三视图并发节点不再选择模板,直接按这里生成背面图。 |
| model | COMBO | Banano | 图片模型;三视图会并发请求三次 |
| image_size | COMBO | 2K | 三张图使用同一尺寸 |
| aspect_ratio | COMBO | Auto | 三张图使用同一宽高比 |
| generate_scope | COMBO | 全部并发生成 | 质量不满意时可只重新生成某一个视图;其他视图会使用本节点上一次成功缓存结果。 |
| automation_payloadopt | STRING | 自动化 JSON。前端默认隐藏,只在点击节点上的自动化折叠按钮后显示;后台仍会序列化并参与运行。 | |
| image_1opt | IMAGE | 参考图 1;同一批上传图会复用到正面/侧面/背面三个并发请求 | |
| image_2opt | IMAGE | 参考图 2;同一批上传图会复用到正面/侧面/背面三个并发请求 | |
| image_3opt | IMAGE | 参考图 3;同一批上传图会复用到正面/侧面/背面三个并发请求 | |
| image_4opt | IMAGE | 参考图 4;同一批上传图会复用到正面/侧面/背面三个并发请求 | |
| image_5opt | IMAGE | 参考图 5;同一批上传图会复用到正面/侧面/背面三个并发请求 | |
| image_6opt | IMAGE | 参考图 6;同一批上传图会复用到正面/侧面/背面三个并发请求 | |
| image_7opt | IMAGE | 参考图 7;同一批上传图会复用到正面/侧面/背面三个并发请求 | |
| image_8opt | IMAGE | 参考图 8;同一批上传图会复用到正面/侧面/背面三个并发请求 | |
| image_9opt | IMAGE | 参考图 9;同一批上传图会复用到正面/侧面/背面三个并发请求 | |
| image_10opt | IMAGE | 参考图 10;同一批上传图会复用到正面/侧面/背面三个并发请求 |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| front_image | IMAGE | — |
| side_image | IMAGE | — |
| back_image | IMAGE | — |
| images | IMAGE | — |
| info | STRING | — |
| mp4url | STRING | — |