Nodes/ComfyUI-IntoTheLatent-Utils/ITL Ideogram 4 Style Wizard
ComfyUI Node

ITL Ideogram 4 Style Wizard

The Style Wizard

By Into-The-Latent·Created 29 days ago·Updated 15 days ago· 2
ITL Ideogram 4 Style Wizard
    • style
    wizard_data

    Ideogram 4's JSON caption format asks you to fill in style fields - aesthetics, lighting, medium, photo, art_style - and if you're building captions with the ITL Prompt Builder, those are five more text boxes to guess at. The Style Wizard is the "click-together" shortcut: it turns those fields into toggleable chips so you pick, say, "photorealistic", "golden hour", and "medium format" instead of remembering what Ideogram expects.

    It's a companion node, not a standalone tool. You wire its style output into the Prompt Builder's import_json input - and the thing to understand is that this wire exists purely so the wizard can find the builder. The link is a pointer, not a data path.

    How it works

    Click 🪄 Open Style Wizard and you get a modal with two tabs. On Pick styles, each category is a row of chips - toggle one or many (they're comma-joined), type your own into the text field, and a live JSON preview shows the assembled style_description as you go. A status line tells you which builder you're writing to, or warns if nothing's connected.

    The clever bit is what happens when you hit Apply: your picks are written directly into the connected builder's style widgets. Your bounding boxes, color palette, and high_level_description are left completely untouched - and at run time this node emits an empty string, so the import_json wire never overwrites the builder's regions. The empty output is the safety mechanism: it can't clobber your layout because there's nothing in it.

    One real quirk to know: photo and art_style are both selectable, but Ideogram only applies one. If you set both, the wizard warns you that photo wins. That's Ideogram's rule, not the node being annoying.

    Editable presets

    The chip lists live in ComfyUI/user/default/itl/ideogram4/WizardStylesDefault.json. You can edit them in the wizard on the Edit presets tab - add, rename, or delete chips per category, then Save to file. If the file's missing or malformed, the wizard falls back to its built-in defaults and shows the parse error plus a Restore defaults button. Each entry's key must be one of the five field names or it won't load.

    Inputs, outputs, install

    The only input is wizard_data (serialized chip state, managed by the UI) and the single output is style (STRING). Install through ComfyUI Manager or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Into-The-Latent/ComfyUI-IntoTheLatent-Utils
    

    then restart. No extra dependencies. Don't forget to also install the Prompt Builder from the same pack - the wizard is genuinely useless without it.

    Honestly, if you only ever use one or two styles, you're fine typing them into the Prompt Builder's fields directly and you can skip this node. The wizard pays for itself when you're experimenting across styles or you want a friendlier way to scan what Ideogram 4 actually responds to. It's a nicety, not a necessity - but it's a well-made nicety, and it's the only node of its kind for this schema.

    CategoryInto The Latent/text

    Inputs (1)

    NameTypeDefaultDescription
    wizard_dataSTRINGSerialized chip-picker state (managed by the node UI).

    Outputs (1)

    NameTypeDescription
    styleSTRING