ComfyUI Node
JB · Ideogram Assembler
Fill a KJ Ideogram-4 caption's boxes from our keyed JSON prompts. Each box is matched by the slot-key typed into its `desc`. A slot's value may be: - a string → the box's desc; - a field-map dict (desc/text/color_palette/type); - a NESTED structure → folded into desc (serialised), so a placeholder box can be replaced by a whole sub-tree. bbox always stays from KJ. By default EVERY top-level key is a box placeholder (scene comes from the KJ node); set scene_overrides=on to instead let background / high_level_description / style_description set the scene. A wildcard pass expands tokens in every text field.
JB · Ideogram Assembler
- context_from_prompt_generator
- prompt
- raw_json
- report
◄caption_json►
◄box_prompts{}►
◄seed0►
◄output_formatideogram►
◄nested_desc_formatloose_keys►
◄scene_overridesoff (all top-level keys are box slots)►
◄on_unmatched_boxkeep typed desc►
CategoryFVM Tools/JB
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| caption_json | STRING | Ideogram-4 caption JSON, e.g. the `prompt` output of KJNodes' Ideogram 4 Prompt Builder (or our BoxJitter). | |
| box_prompts | STRING | {} | Keyed JSON: {slot: <string | field-map | nested structure>, ..., background:"..."}. Wire an FVM_JB_Builder raw_json here. |
| seed | INT | 00–18446744073709550000 | Seed for the wildcard/variable pass. |
| output_format | COMBO | ideogram | 3 options: ideogram, pretty_json, compact_json |
| nested_desc_format | COMBO | loose_keys | How a nested slot structure is serialised into the box's desc. |
| scene_overrides | COMBO | off (all top-level keys are box slots) | off: every top-level key in box_prompts is a box placeholder; the scene comes from the KJ node. on: the three reserved keys set the scene and are not used to fill boxes. |
| on_unmatched_box | COMBO | keep typed desc | 2 options: keep typed desc, clear desc |
| context_from_prompt_generatoropt | DICT | Optional adaptiveprompts context for `__^var__` recall. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| prompt | STRING | — |
| raw_json | STRING | — |
| report | STRING | — |