Shima Panel Master Prompt
Multi-encoder prompting behind a double-click
- shima.commonparams
- shima.controlbus
- modelcitizen.bndl
- model_override
- clip_override
- vae_override
- panelinputs.bndl
- positive
- negative
- vae
- masterprompt.bndl
Shima Panel Master Prompt is the conditioning half of Shima's Panel workflow, and it's where the pack's prompt philosophy actually lives. On the canvas it's a compact PCB chassis with one masterprompt.bndl output; double-click it and you get the real interface: positive and negative text fields, a model_type dropdown, and - for the architectures that support them - separate CLIP-L, CLIP-G, and T5 encoder fields with independent weight sliders.
Here's the idea worth caring about. Modern models don't have one text encoder. SDXL uses CLIP-L (great at style and keywords) plus CLIP-G (great at subject and composition); Flux and SD3 add T5, a language-model encoder that actually understands paragraphs. Most workflows just mash one prompt through one encoder and leave quality on the table. This node lets you split the work: main prompt in the box, style keywords in CLIP-L, subject description in CLIP-G, complex scene text in T5 - each with its own weight slider (0–10) so you can dial how much each encoder's voice counts.
The model_type dropdown (SDXL, SD 1.5, SD3, Flux, AuraFlow, HunyuanDiT) decides which encoder fields are active, so you're never staring at T5 inputs on a SD1.5 graph.
How it works
It's the panelized version of the full Master Prompt node. It encodes the prompt fields into conditioning using the CLIP from the connected Model Citizen bundle (it can also pull a CLIP from the optional modelcitizen.bndl input directly), and outputs the resulting positive/negative conditioning. It also passes the vae through as its own output - a small convenience so the sampler can get VAE without a separate wire. It respects Shima's Common Params: turn on use_commonparams (the green/red circle in the topbar) and settings like model type can be driven by the shared Commons node.
The inputs and outputs that matter
positive,negative- the main prompt fields (always present).model_type- picks the encoder set.clip_l_weight,clip_g_weight,t5_weightplus thepositive_l/negative_l,positive_g/negative_g,positive_t5/negative_t5text fields - the multi-encoder inputs. Leave the encoder-specific fields empty and only the main prompt feeds that encoder.flux_guidanceandlumina_sysprompt- architecture-specific extras for Flux-family and Lumina models.model_type_override,model_override,clip_override,vae_override- escape hatches to force values when the graph's model_type would otherwise win.panelinputs.bndl- lets a Shima Panel BNDLer drive the prompt settings externally.
Outputs: positive, negative (CONDITIONING), vae (VAE), and masterprompt.bndl - the bundle that feeds the Panel Sampler.
How to install it
It's in the Shima pack. ComfyUI Manager → search "Shima", or:
cd ComfyUI/custom_nodes
git clone https://github.com/KDB-USJP/shima_wf.git Shima
restart. Core deps (Impact Pack, cg-use-everywhere) install automatically. No extra models.
Common issues & troubleshooting
Panel renders broken after a ComfyUI update. Frontend-heavy node - the Nodes 2.0 (Vue) frontend breaks these JS chassis. Run the legacy LiteGraph canvas.
CLIP-L/G/T5 fields seem to do nothing. Check model_type - on SD1.5 the extra encoders aren't wired at all. And remember the weight sliders: setting a field to weight 0 makes it contribute nothing regardless of what's typed.
Inputs (25)
| Name | Type | Default | Description |
|---|---|---|---|
| positive | STRING | Positive Prompt | Main positive prompt |
| negative | STRING | Negative Prompt | Main negative prompt |
| model_type | COMBO | 14 options: sdxl, sd1.5, sd2.x, sd3, flux, pony, +8 | |
| shima.commonparamsopt | DICT | Connect Shima.Commons bundle here | |
| shima.controlbusopt | LIST | Connect ControlNet chain here | |
| modelcitizen.bndlopt | BNDL | Bundle containing CLIP (overrides individual inputs) | |
| clip_l_weightopt | FLOAT | 1.000–10 | — |
| positive_lopt | STRING | CLIP-L Positive (SDXL/SD3 style/detail) | |
| negative_lopt | STRING | — | |
| clip_g_weightopt | FLOAT | 1.000–10 | — |
| positive_gopt | STRING | CLIP-G Positive (SDXL/SD3 subject) | |
| negative_gopt | STRING | — | |
| t5_weightopt | FLOAT | 1.000–10 | — |
| positive_t5opt | STRING | T5 Positive (SD3/Flux complex text) | |
| negative_t5opt | STRING | — | |
| flux_guidanceopt | FLOAT | 3.50–100 | Guidance scale for Flux/Chroma models (auto-applied when model_type is flux or chroma) |
| lumina_syspromptopt | STRING | System prompt prefix for Lumina2. Leave blank to use the default. Only used when model_type is lumina2. | |
| use_commonparamsopt | BOOLEAN | true | If True, use model_type from Shima.Commons bundle. |
| allow_external_linkingopt | BOOLEAN | false | Allow connections outside the Island |
| show_used_valuesopt | BOOLEAN | false | Show actual values being used (debug) |
| model_type_overrideopt | STRING | Override model_type selection | |
| model_overrideopt | MODEL | Optional model override | |
| clip_overrideopt | CLIP | Optional CLIP override | |
| vae_overrideopt | VAE | Optional VAE override | |
| panelinputs.bndlopt | BNDL | Overrides panel settings using an external PanelBNDLer node |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| positive | CONDITIONING | — |
| negative | CONDITIONING | — |
| vae | VAE | — |
| masterprompt.bndl | BNDL | — |