ComfyUI Node

Ideogram 4 Magic Prompt

A ComfyUI node in Eric Prompt Enhancers/Ideogram with 18 inputs and 5 outputs.

By EricRollei·Created about a year ago·Updated 2 days ago· 47
Ideogram 4 Magic Prompt
  • reference_image
  • prompt_json
  • high_level
  • width
  • height
  • report
◄idea►
◄application(custom)►
◄backendlm_studio►
◄endpointhttp://localhost:1234/v1►
◄model►
◄temperature1.00►
◄aspect_ratioauto►
◄megapixels1.00►
◄keep_bboxestrue►
◄use_tailoringtrue►
◄max_tokens16384►
◄reference_influencefull►
◄wildcard_seed-1►
◄wildcard_llm_blocktrue►
◄wildcard_instructions—►
◄nsfwoff►
◄violence_filteroff►
CategoryEric Prompt Enhancers/Ideogram

Inputs (18)

NameTypeDefaultDescription
ideaSTRINGPlain-language idea to expand into an Ideogram 4 caption.
applicationCOMBO(custom)Pick a use case to prefill the idea box with a starter template and steer the expander toward that format.
backendCOMBOlm_studio3 options: lm_studio, ollama, qwen3_vl
endpointSTRINGhttp://localhost:1234/v1LM Studio / Ollama base URL. For qwen3_vl, optionally a local model path.
modelSTRINGBlank = auto-detect the loaded model.
temperatureFLOAT1.000–2—
aspect_ratioSTRINGautoW:H (e.g. 16:9) or 'auto' to let the model pick.
megapixelsFLOAT1.000.25–4Total output resolution; combined with the aspect ratio to set width/height.
keep_bboxesBOOLEANtrueKeep element bounding boxes (for the Composer canvas). Off = let Ideogram place freely.
use_tailoringBOOLEANtrueApply Eric's documented tailoring addendum on top of the official prompt. See IDEOGRAM_NOTES.md.
max_tokensINT163841024–32768—
reference_imageoptIMAGE—
reference_influenceoptCOMBOfullHow a connected reference image guides the caption (needs a vision-capable backend).
wildcard_seedoptINT-1-1–2147483647Seed for wildcards: __name__, {a|b|c}, __objects[tag AND tag]__. -1 = fresh roll every run. 0 or more = reproducible picks.
wildcard_llm_blockoptBOOLEANtrueTell the LLM which elements were picked at random so it keeps them: concepts keep their meaning, __=verbatim__ picks stay word for word. Off = the LLM only sees the resolved text.
wildcard_instructionsoptSTRINGConnect the llm_instructions output of a Wildcard Processor or Semantic Variation node here when the wildcards were resolved before this node. The LLM is then told which elements were picked at random, and verbatim picks are checked in its answer, exactly as if this node had resolved them itself.
nsfwoptCOMBOoffHow far wildcard picks may go (a word match on each entry and on list names, no model). off = SFW: no suggestive, nude or explicit lists or entries suggestive = also lingerie, bikinis, sexy, seductive ... nudity = also nude, naked, topless ... explicit = everything, including lists under _nsfw/ Fix a wrong rating in _catalog_user.yaml (nsfw: on a list, ratings: on entries). Entries pairing minor-related and sexual terms are removed at every level (config.json "content_filter").
violence_filteroptCOMBOoffHold back violent wildcard picks (a word match on each entry and on list names, no model). off = nothing held back no gore = blood and gore, torture, mutilation, corpses no gore or violent acts = also murder, execution, stabbing, strangling, suicide ... no violence or weapons = also guns, swords, knives, bombs, battle, war Only wildcard picks are filtered; text you type is left as is.

Outputs (5)

NameTypeDescription
prompt_jsonSTRING—
high_levelSTRING—
widthINT—
heightINT—
reportSTRING—