Nodes/Comfyui-EasyIllustrious/✦ Smart Scene Generator
ComfyUI Node

✦ Smart Scene Generator

The full scene-to-finished-prompt pipeline

By regiellis·Created 12 months ago·Updated 4 months ago· 82
✦ Smart Scene Generator
    • prompt
    • negative
    • metadata
    CategoryOutdoor
    Complexitymedium
    Include Time/Weathertrue
    Include Ambiencetrue
    Include Eventfalse
    Include Proptrue
    Include Densityfalse
    Include Person Descriptionfalse
    Include Pose/Actiontrue
    Include Clothingfalse
    Outfits-
    Top-
    Bottoms-
    General Style-
    Headwear-
    Emotion/Expression-
    Emotion Group-
    Emotion Weight1.00
    Wrap Emotiontrue
    Safe Adult Subjecttrue
    Use Chain Inserttrue
    Strict Tags (no phrases)true
    De-duplicate With Prefix/Suffixtrue
    Danbooru Tag Styletrue
    Token Count77
    Enable TIPO Optimizationtrue
    TIPO Candidates8
    TIPO Flavorbalanced
    TIPO Max Length320
    TIPO Seed0
    Subject Fallbacknone
    Upscale Tagsnone
    Negative Presetnone
    Generate Negative Outputfalse
    Use Quality Blocktrue
    Quality Block Textmasterpiece, best quality, ultra-detailed, highres
    Quality Weight1.20
    Quality Weight Schemeauto
    Per-Token Quality Weightsfalse
    Subject Fallback Orderafter_upscale
    Weight Interpretationcomfy
    Token Normalizationnone
    prefix
    suffix
    tipo_extra_negatives
    Custom Negative Preset

    Think of this as IllustriousScenesPlus after it went through a growth spurt. Same scene-generation core - category, complexity, the Include * toggle grid for weather/props/pose/clothing - but IllustriousSmartSceneGenerator bolts on an expression picker, a full quality-tag block, a negative-prompt generator, and subject/upscale-tag fallbacks, so it can hand you a complete, ready-to-encode positive-and-negative pair instead of just a scene fragment. It's the "give me the whole thing" version.

    What's layered on top of the scene core

    The Emotion/Expression, Emotion Group, Emotion Weight, and Wrap Emotion fields fold in everything the standalone IllustriousEmotions node does, right into the scene pipeline. Then comes the quality-block system the README calls out as its v2.6 addition: Use Quality Block (default on) auto-prepends a token list - default masterpiece, best quality, ultra-detailed, highres - unless one's already present in your prompt. Quality Weight and Quality Weight Scheme (auto/comfy/A1111) decide whether that block gets grouped weighting like (masterpiece, best quality:1.2) or expanded per-token like (masterpiece:1.2), (best quality:1.2); Per-Token Quality Weights forces the per-token form even under comfy/auto.

    Subject Fallback (none/1girl/1boy/solo/1girl, solo) injects a baseline subject tag when you've left Person Description off, with Subject Fallback Order choosing whether it lands before or after Upscale Tags (none/anime_hd/ultra_hd/photo_8k), a set of extra resolution/detail tokens. Negative Preset (standard/aggressive/anime_clean/photoreal/custom) generates a matching negative prompt; flip Generate Negative Output on to actually get it on the second output port, and use Custom Negative Preset to supply your own string when the preset is custom. Weight Interpretation and Token Normalization are worth reading as hints, not enforcement - the tooltips are explicit that the actual weighting happens at your encoding node, this just tags what convention the output was written for.

    The same Enable TIPO Optimization block from IllustriousScenesPlus (TIPO Candidates/Flavor/Max Length/Seed) is here too, generating and ranking prompt variants before the quality block and fallbacks get layered on.

    Outputs

    Three of them: prompt, negative (empty unless Generate Negative Output is on), and metadata - a JSON string documenting what the node actually decided, including pruning info when the token budget forced it to drop upscale tags. Check metadata before assuming the model is ignoring part of your prompt; it'll often show you it pruned something you didn't notice.

    Installing it

    ComfyUI Manager: search "EasyIllustrious," install, restart. Manual: cd ComfyUI/custom_nodes && git clone https://github.com/regiellis/ComfyUI-EasyIllustrious, then pip install -r ComfyUI-EasyIllustrious/requirements.txt inside your ComfyUI environment, then restart.

    Where people get surprised

    With this many toggles defaulting to on, a first run through this node tends to produce a noticeably longer, more heavily-tagged prompt than a beginner expects - the quality block, subject fallback, and TIPO optimization can all fire at once without you touching a single field. This is exactly the kind of behavior that confused a user on the pack's Reddit launch thread, who found random tags appearing in their prompt and traced it back to having a scene generator wired into their chain and quietly injecting content. If you want tight control, start by turning off Use Quality Block, Enable TIPO Optimization, and Generate Negative Output, confirm the bare scene output looks right, then re-enable pieces one at a time.

    CategoryEasy Illustrious / Generators

    Inputs (46)

    NameTypeDefaultDescription
    CategoryCOMBOOutdoorSelect anime scene category with extensive vocabulary
    ComplexityCOMBOmediumControl number of scene elements generated
    Include Time/WeatherBOOLEANtrueAdd time of day and weather conditions
    Include AmbienceBOOLEANtrueAdd atmospheric mood and feeling
    Include EventBOOLEANfalseAdd specific events or activities
    Include PropBOOLEANtrueAdd scene props and objects
    Include DensityBOOLEANfalseAdd crowd density and population info
    Include Person DescriptionBOOLEANfalseAdd basic person description (use only if no character nodes)
    Include Pose/ActionBOOLEANtrueAdd pose and action descriptions
    Include ClothingBOOLEANfalseAdd clothing descriptions (use only if no clothing nodes)
    OutfitsCOMBO-Pick a full outfit or leave '-' for random.
    TopCOMBO-Pick a top; used if no Outfit is chosen.
    BottomsCOMBO-Pick bottoms; used if no Outfit is chosen.
    General StyleCOMBO-Overall clothing style/aesthetic.
    HeadwearCOMBO-Specific headwear item to include.
    Emotion/ExpressionCOMBO-Optional expression/emote to include.
    Emotion GroupCOMBO-Pick a group to browse or randomize when token is '-'
    Emotion WeightFLOAT1.000.1–2Weight applied to emotion (tag:weight).
    Wrap EmotionBOOLEANtrueWrap emotion as (tag:weight).
    Safe Adult SubjectBOOLEANtrueUse adult-safe subject terms
    Use Chain InsertBOOLEANtrueEnable chain token integration with other nodes
    Strict Tags (no phrases)BOOLEANtrueUse individual tags instead of phrases for better compatibility
    De-duplicate With Prefix/SuffixBOOLEANtrueRemove duplicate terms when chaining with other nodes
    Danbooru Tag StyleBOOLEANtrueFormat output as lowercase, underscore-separated tags (community style)
    Token CountCOMBO77Approximate token budget. Drives a soft character cap and selection size.
    Enable TIPO OptimizationBOOLEANtrueGenerate prompt candidates and pick the best for Illustrious
    TIPO CandidatesINT83–32Number of variants to consider
    TIPO FlavorCOMBObalancedIllustrious-oriented flavor to bias scoring
    TIPO Max LengthINT32080–800Soft cap for final prompt length (characters)
    TIPO SeedINT00–2147483647Randomization seed (0 = auto)
    Subject FallbackCOMBOnoneInject baseline subject tokens when person description is off.
    Upscale TagsCOMBOnonePrepend additional high-resolution/upscale tags after quality block.
    Negative PresetCOMBOnoneGenerate a negative prompt using a curated or custom preset.
    Generate Negative OutputBOOLEANfalseIf true, second output returns the negative prompt string.
    Use Quality BlockBOOLEANtrueAutomatically prepend a quality/emphasis block unless already present.
    Quality Block TextSTRINGmasterpiece, best quality, ultra-detailed, highresComma separated quality tokens. Will be auto-weighted if enabled.
    Quality WeightFLOAT1.200.1–2.5Weight applied per token or to group depending on scheme.
    Quality Weight SchemeCOMBOautoHow to format weighted quality tokens (grouped vs per-token).
    Per-Token Quality WeightsBOOLEANfalseForce apply weight to every quality token even in comfy/auto grouped modes.
    Subject Fallback OrderCOMBOafter_upscaleChoose whether subject fallback tokens are inserted before or after Upscale Tags.
    Weight InterpretationoptCOMBOcomfyHow to hint weights in text; actual enforcement happens at encoding stage.
    Token NormalizationoptCOMBOnoneNormalization hint for downstream encoders; used to shape emphasis strength.
    prefixoptSTRINGInput from previous node in chain
    suffixoptSTRINGAdditional suffix text
    tipo_extra_negativesoptSTRINGComma-separated terms to downweight/remove
    Custom Negative PresetoptSTRINGIf Negative Preset is 'custom', use this string as the negative prompt.

    Outputs (3)

    NameTypeDescription
    promptSTRING
    negativeSTRING
    metadataSTRING