Nodes/comfyui-fvmtools/JB · Ideogram Assembler
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.

By ping1979ping·Created 5 months ago·Updated 2 months ago· 0
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)

NameTypeDefaultDescription
caption_jsonSTRINGIdeogram-4 caption JSON, e.g. the `prompt` output of KJNodes' Ideogram 4 Prompt Builder (or our BoxJitter).
box_promptsSTRING{}Keyed JSON: {slot: <string | field-map | nested structure>, ..., background:"..."}. Wire an FVM_JB_Builder raw_json here.
seedINT00–18446744073709550000Seed for the wildcard/variable pass.
output_formatCOMBOideogram3 options: ideogram, pretty_json, compact_json
nested_desc_formatCOMBOloose_keysHow a nested slot structure is serialised into the box's desc.
scene_overridesCOMBOoff (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_boxCOMBOkeep typed desc2 options: keep typed desc, clear desc
context_from_prompt_generatoroptDICTOptional adaptiveprompts context for `__^var__` recall.

Outputs (3)

NameTypeDescription
promptSTRING
raw_jsonSTRING
reportSTRING