Nodes/Prompt Builder/Environment
ComfyUI Node

Environment

How This Pack Stops Your Backgrounds Looking Like Mush

By zinigo-creations·Created 5 months ago·Updated 5 months ago· 1
Environment
    • environment
    location
    indoor_outdoor
    setting
    time_of_day
    weather
    lighting_1
    lighting_2
    background_complexity
    atmosphere_1
    atmosphere_2

    Environment is the section of the Prompt Builder pack that decides where the scene happens - and it's the node you'll blame less, but thank more, than the character stuff. A great character in a floating grey void is a half-finished image; the Environment node is the part of the pack that makes your backgrounds look like a deliberate scene instead of accidental mush.

    It works the same way every section node here works: dropdowns read from presets.json, everything you select gets joined with commas, None skips a field, and the result is one string. But Environment has a nice spread of decisions baked in, so you can go from "a room" to "a rainy cyberpunk alley at midnight with dramatic rim lighting" without typing a word.

    The inputs that matter

    Ten fields, and they mostly self-organize into setting and mood:

    • location (56 options - alley, rooftop, bedroom, library…) and setting (urban, rural, fantasy, cyberpunk, post-apocalyptic, medieval…). These two anchor everything else.
    • indoor_outdoor, time_of_day (day, night, golden hour, blue hour…), and weather (rain, snow, fog, storm…). Set two of these and the scene starts to feel real.
    • lighting_1 and lighting_2 - the duplicate-slot pattern again: base lighting plus one modifier. "Cinematic lighting" plus "rim lighting" reads well; two conflicting picks just cancel out.
    • background_complexity - the sneaky-important one. If the model is adding visual noise behind your character, "simple background" or "minimal background" is the fix. If you want a world, "highly detailed background."
    • atmosphere_1 and atmosphere_2 - mysterious, romantic, serene, moody, cozy… the emotional glue.

    The output is environment - one string that feeds the environment input on the pack's Combine Prompt node, where it's joined after the action tags.

    Install

    Same story as the rest of the pack - zero dependencies, nothing to download.

    cd ComfyUI/custom_nodes
    git clone https://github.com/zinigo-creations/comfyui-prompt-builder
    

    Or use ComfyUI Manager (search "Prompt Builder") and restart ComfyUI.

    Common issues

    One real, documented trap: location words like "beach," "snow," or "bedroom" are exactly the kind of keyword that can push some models toward blown-out, overexposed highlights - it's a known association quirk on a few WAI/Illustrious checkpoints. If your backgrounds start blasting white, don't blame the node: add overexposed, washed out, blown highlights to your negative prompt, or weight the location tag down. And the usual pack advice applies here too - "detailed background" plus "busy background" plus five location tags is how you get a noisy image that ignores your character. Pick one location, one weather, one atmosphere, and let the scene breathe.

    CategoryPrompt

    Inputs (10)

    NameTypeDefaultDescription
    locationCOMBO56 options: None, simple background, alley, street, city, city skyline, +50
    indoor_outdoorCOMBO3 options: None, indoor, outdoor
    settingCOMBO11 options: None, urban, rural, fantasy, sci-fi, cyberpunk, +5
    time_of_dayCOMBO10 options: None, day, night, dawn, sunrise, sunset, +4
    weatherCOMBO11 options: None, clear sky, rain, heavy rain, snow, snowfall, +5
    lighting_1COMBO12 options: None, soft lighting, natural lighting, ambient lighting, studio lighting, cinematic lighting, +6
    lighting_2COMBO12 options: None, soft lighting, natural lighting, ambient lighting, studio lighting, cinematic lighting, +6
    background_complexityCOMBO6 options: None, simple background, minimal background, detailed background, highly detailed background, busy background
    atmosphere_1COMBO13 options: None, mysterious, romantic, tense, serene, peaceful, +7
    atmosphere_2COMBO13 options: None, mysterious, romantic, tense, serene, peaceful, +7

    Outputs (1)

    NameTypeDescription
    environmentSTRING