Nodes/ComfyUI_KubaNodes/kubakub region plan
ComfyUI Node

kubakub region plan

Give every region its own prompt and settings, written as simple text rules. Sections: [default], [W_F1_*] (name wildcard), [group:Windows], [tag:M_FLOOR_F1], [region:3-7]; space = AND, comma = OR, ! = NOT. More specific rules win (region > name > group > tag > default). prompt += text appends, {a|b|c} picks one per region.

By kubakubkub·Created 15 days ago·Updated 3 days ago· 9
kubakub region plan
  • regions
  • image
  • plan
  • plan_json
  • report
  • preview
◄rules[plan] order = largest_first [default] prompt = weathered sandstone facade at night denoise = 0.55 [group:Windows] prompt = dark glass, faint reflections [W_F1_*] strategy = frame_in_frame prompt = an underwater room with {jellyfish|a sunken piano|koi} ►
◄seed0►
◄rules_file►
Categorykubakub/2d/generate

Inputs (5)

NameTypeDefaultDescription
regionsKUBA_REGIONSFrom kubakub regions from matrix / masks (regions output).
rulesSTRING[plan] order = largest_first [default] prompt = weathered sandstone facade at night denoise = 0.55 [group:Windows] prompt = dark glass, faint reflections [W_F1_*] strategy = frame_in_frame prompt = an underwater room with {jellyfish|a sunken piano|koi} The plan. See docs/generate.md (region plan) for all settings. Applied after rules_file, so it can override it.
seedINT00–18446744073709550000Plan seed: region seeds (seed + region id) and {a|b} choices.
rules_fileoptSTRINGOptional .txt with rules, e.g. kept in the project folder. Read only.
imageoptIMAGEBackground for the preview (the matrix). Another size than the regions is scaled to fit, for the preview only.

Outputs (4)

NameTypeDescription
planKUBA_PLANConnect to kubakub region sampler and seam pass.
plan_jsonSTRINGThe resolved settings of every region as text.
reportSTRINGA table of every region with its strategy, denoise and prompt, plus notes.
previewIMAGESame colour = same strategy and prompt.