Nodes/ComfyUI Studio Prompt Director/Flux 2 / Klein Prompt Builder (Official BFL 8-Layer Encyclopedic)
ComfyUI Node

Flux 2 / Klein Prompt Builder (Official BFL 8-Layer Encyclopedic)

The 8-Slot Prompt Machine for Flux 2 / Klein (and When to Override It)

By nexusfinancial-dev·Created 24 days ago·Updated 24 days ago· 3
Flux 2 / Klein Prompt Builder (Official BFL 8-Layer Encyclopedic)
    • positive_prompt
    • negative_prompt
    style_art_form3D Disney Pixar Animated (Subsurface 3D CGI)
    ethnicity_originEgyptian / Modern Middle Eastern (Warm Honey Olive Tone)
    age_groupYoung Adult (18-24 Years)
    gender_and_physiqueFemale (Slim & Athletic Toned Build)
    facial_expressionSubtle Friendly & Warm Genuine Smile
    hair_presetShort Brown Bob Haircut with Blunt Bangs
    wardrobe_presetCasual Beige Organic Cotton T-Shirt & Blue Vintage Denim Jeans
    location_environmentLuxury Artisanal Coffee Shop with Exposed Red Brick & Edison Lamps
    camera_framingMaster Character Portrait (Head & Shoulders Close-Up)
    lens_and_optics85mm f/1.2 L Canon Prime (Ultra Creamy Bokeh, Shaved Depth of Field)
    lighting_engineCinematic Warm Studio Rim Light with Soft Key & Subtle Fill
    color_palette_presetWarm Amber, Terracotta, Burnt Orange & Dark Oak Wood Tones
    visual_effect_presetSubtle Authentic 35mm Film Grain (Kodak 5219) & Micro Halation
    additional_elements_presetGently Wind-Blown Hair Strands & Natural Organic Fabric Movement
    negative_prompt_presetStandard Photography & General Quality Guard
    character_nameMaya
    🏷️_1_Custom_Style_and_Art_Medium
    🏷️_2_Custom_Subject_and_Features
    🏷️_3_Custom_Wardrobe_and_Fabric
    🏷️_4_Custom_Location_and_Architecture
    🏷️_5_Custom_Camera_and_Framing
    🏷️_6_Custom_Lighting_and_Shadows
    🏷️_7_Custom_Color_Palette
    🏷️_8_Custom_Visual_Effects
    🏷️_9_Custom_Additional_Micro_Details
    🏷️_Negative_Prompt_Custom_Additions
    🏷️_Full_Override_Positive_Prompt

    This node writes your entire Flux 2 / Klein prompt for you. Not magic - you're still the one choosing between "3D Disney Pixar Animated" and "Renaissance Chiaroscuro" - but it's a real time-saver if you've ever sat at a blank CLIP Text Encode box wondering what to type for Klein. It's the flagship of the ComfyUI-StudioPromptDirector pack, and it shows: fifteen dropdowns, eleven labeled override boxes, and two string outputs (positive_prompt, negative_prompt) that drop straight into your text encoder.

    The thing that makes it work is luck plus design. Klein's text encoder is a Qwen3 LLM that reads your prompt like an instruction - a chat turn, not CLIP tag soup. masterpiece, best quality does nothing on it; a descriptive sentence does. So when the pack's README says this implements the "exact 8-slot structural formula mandated by Black Forest Labs" ([SUBJECT], [LOCATION], [STYLE], [CAMERA], [LIGHTING], [COLORS], [EFFECT], [ADDITIONAL ELEMENTS]), take the word "mandated" with salt - that's the author's framing, not a published BFL spec. What's true is that the 8-slot approach produces long, structured, sentence-shaped prompts, which is exactly the format Klein rewards. The name may oversell the "official" bit; the method is sound.

    The inputs that actually matter

    You'll fiddle with style_art_form first - it's the big one, 42 choices from Pixar-ish CGI to 70mm IMAX to Hokusai woodblock. After that, the dropdowns are pleasantly opinionated: ethnicity_origin, age_group, gender_and_physique, facial_expression, hair_preset, wardrobe_preset, location_environment, camera_framing, lens_and_optics, lighting_engine, color_palette_preset, visual_effect_preset, and additional_elements_preset. Set character_name to "Maya" or anything you like - it's threaded through the subject core.

    The real power is in the eleven optional 🏷️_ boxes. They're slot-by-slot overrides: leave a slot's dropdown alone and type something better into 1_Custom_Style_and_Art_Medium or 5_Custom_Camera_and_Framing, and the node uses yours. Two to remember: Negative_Prompt_Custom_Additions appends to your chosen negative preset, and Full_Override_Positive_Prompt bypasses every dropdown entirely - type anything there and it ships straight to the output. That's your escape hatch when the assembled prompt fights you.

    The negative prompt question

    negative_prompt_preset offers seven guards - anatomy/anti-deformation, 3D-CGI clean, photoreal preserver, that sort of thing. Honest take: these are classic SD-style tag negatives (bad anatomy, bad hands, worst quality), and Flux-family models barely lean on negatives the way SD does, especially at Klein's default CFG 1. They're harmless, and if your workflow routes a negative text encode you'll want them, but don't expect them to carry the load. If Klein's anatomy is misbehaving, the community fix is more practical: run the distilled checkpoints at 8 steps with CFG nudged to 1.2–1.5, and don't fight the tag weighting - Klein's encoder ignores ((parentheses)) emphasis anyway.

    Install

    Two ways, both painless - this is a pure-Python node pack with no dependencies and no model downloads (the shipped requirements.txt is a comment):

    # Via ComfyUI Manager: search "ComfyUI-StudioPromptDirector" and install
    # Or manual clone:
    cd ComfyUI/custom_nodes
    git clone https://github.com/nexusfinancial-dev/ComfyUI-StudioPromptDirector.git
    

    Restart ComfyUI and the nodes appear under the StudioPromptDirector category. It's a young, small pack with zero community footprint so far, but it's genuinely dependency-free, so the install risk is basically nil.

    Gotchas

    Wire positive_prompt into whatever text encoder your Klein workflow uses and negative_prompt into the negative one if it has one. If your output looks off, remember the override box - the assembled prompt is only as good as your weakest dropdown, and "Custom Origin (Use Labeled Box Below)" exists for a reason. And if you're coming from SD tag habits, unlearn them here: on Klein, "a hyper-realistic portrait of Maya, 24yo, warm honey olive skin, shot with an 85mm f/1.2" beats "realistic, detailed, 8k, masterpiece" every time. This node builds the former. Let it.

    CategoryStudioPromptDirector

    Inputs (27)

    NameTypeDefaultDescription
    style_art_formCOMBO3D Disney Pixar Animated (Subsurface 3D CGI)42 options: 3D Disney Pixar Animated (Subsurface 3D CGI), DreamWorks Stylized 3D Animation (High Quality Shader), Unreal Engine 5 Hyperreal Render (Lumen & Nanite), Octane Render 3D Masterpiece (Volumetric Raytracing), Claymation Stop-Motion Animation (Aardman Style), Sculpted Clay & Polymer Miniature Diorama, +36
    ethnicity_originCOMBOEgyptian / Modern Middle Eastern (Warm Honey Olive Tone)23 options: Egyptian / Modern Middle Eastern (Warm Honey Olive Tone), Ancient Egyptian / Pharaonic Lineage (Sun-Kissed Bronze Skin), Mediterranean / Southern European (Italian / Greek / Spanish), North African / Amazigh / Berber (Olive Golden Skin), Gulf Arab / Levantine / Mesopotamian (Warm Almond Tone), East Asian (Japanese / Korean / Chinese / Taiwanese), +17
    age_groupCOMBOYoung Adult (18-24 Years)12 options: Newborn Infant (0-6 Months), Toddler (1-3 Years), Young Child (4-7 Years), Pre-Teen Youth (8-12 Years), Teenager (13-17 Years), Young Adult (18-24 Years), +6
    gender_and_physiqueCOMBOFemale (Slim & Athletic Toned Build)15 options: Female (Slim & Athletic Toned Build), Female (Curvy Hourglass Silhouette), Female (Petite & Graceful Frame), Female (Tall & Slender High-Fashion Model), Female (Natural Average Proportion), Female (Muscular & Powerful Amazonian Build), +9
    facial_expressionCOMBOSubtle Friendly & Warm Genuine Smile20 options: Subtle Friendly & Warm Genuine Smile, Radiantly Joyful Laughing & Sparkling Eyes, Neutral Calm & Focused Stoic Cinematic Gaze, Intense Furious Screaming Rage & Clenched Jaw, Shocked & Gasping in Utter Disbelief, Devastated Tearful Sadness & Glistening Crying Eyes, +14
    hair_presetCOMBOShort Brown Bob Haircut with Blunt Bangs20 options: Short Brown Bob Haircut with Blunt Bangs, Long Flowing Brunette Wavy Hair with Caramel Highlights, Voluminous Natural Dark Afro with Defined Coils, Sleek Platinum Blonde High Ponytail, Textured Dirty-Blonde Pixie Cut with Undercut, Raven Black Long Straight Hair with Middle Part, +14
    wardrobe_presetCOMBOCasual Beige Organic Cotton T-Shirt & Blue Vintage Denim Jeans18 options: Casual Beige Organic Cotton T-Shirt & Blue Vintage Denim Jeans, Pastel Pink Silk Modern Draped Hijab & Modest Georgette Abaya, Bespoke Black Wool Tuxedo with Silk Lapel & Crisp White Shirt, Cyberpunk Distressed Leather Biker Jacket with Neon Wiring, Traditional Embroidered Egyptian Galabeya / Royal Linen Kaftan, Vintage Oversized Denim Jacket over Grey Cashmere Hoodie, +12
    location_environmentCOMBOLuxury Artisanal Coffee Shop with Exposed Red Brick & Edison Lamps17 options: Luxury Artisanal Coffee Shop with Exposed Red Brick & Edison Lamps, Cozy Sunlit Cafe with Steaming Mugs & Rain on Glass Windows, Futuristic Cyberpunk Tokyo Street with Rain & Neon Holograms, Pristine Minimalist Photography Studio with White Cyclorama, Opulent Parisian Penthouse with Gilded Moldings & City View, Ancient Egyptian Karnak Temple with Colossal Columns & Sand, +11
    camera_framingCOMBOMaster Character Portrait (Head & Shoulders Close-Up)18 options: Master Character Portrait (Head & Shoulders Close-Up), Extreme Close-Up (Micro-Expression: Eyes, Iris & Lips), Tight Close-Up (Face from Forehead to Chin), Medium Close-Up (Bust Shot / Chest-Up), Medium Shot (Waist-Up Standard Dialogue Framing), Cowboy Shot / American Shot (Mid-Thigh to Head), +12
    lens_and_opticsCOMBO85mm f/1.2 L Canon Prime (Ultra Creamy Bokeh, Shaved Depth of Field)11 options: 85mm f/1.2 L Canon Prime (Ultra Creamy Bokeh, Shaved Depth of Field), 50mm f/1.4 Zeiss Planar (Natural Human Eye Perspective, Zero Distortion), 35mm f/1.4 Leica Summilux (Cinematic Environmental Narrative Portrait), 24mm f/1.8 Ultra-Wide Master (Expansive Context & Dynamic Energy), 135mm f/2.0 Telephoto Prime (Extreme Background Compression), 100mm f/2.8 Macro Lens (Extreme Pore-Level & Iris Micro Detail), +5
    lighting_engineCOMBOCinematic Warm Studio Rim Light with Soft Key & Subtle Fill14 options: Cinematic Warm Studio Rim Light with Soft Key & Subtle Fill, Rembrandt Chiaroscuro Lighting (Classic Triangle Highlight on Cheek), Morning Golden Hour Low-Angle Sunlight (Warm Dust Rays), Soft Diffused Commercial Beauty Softbox (Flawless Even Lighting), Cyberpunk Dual-Tone Lighting (Cyan Key Light with Magenta Edge Rim), Moody High-Contrast Film Noir (Venetian Blind Striped Shadows), +8
    color_palette_presetCOMBOWarm Amber, Terracotta, Burnt Orange & Dark Oak Wood Tones12 options: Warm Amber, Terracotta, Burnt Orange & Dark Oak Wood Tones, Muted Nordic Pastel Earth Tones (Sage Green, Beige, Soft Blush), Cyberpunk High-Contrast Neon (Vivid Cyan, Electric Magenta, Obsidian), Teal and Orange Hollywood Blockbuster Color Grade, Moody Desaturated Monochromatic with Selective Amber Warmth, Vintage Kodachrome 64 Warm Saturated Primary Colors, +6
    visual_effect_presetCOMBOSubtle Authentic 35mm Film Grain (Kodak 5219) & Micro Halation11 options: Subtle Authentic 35mm Film Grain (Kodak 5219) & Micro Halation, Cinematic Volumetric Atmospheric Dust Particles & Light Shafts, Dreamy Optical Bloom & Anamorphic Streak Lens Flares, High-Speed Shutter Action Freeze (Ultra Crisp Droplets & Debris), Cinematic Motion Blur on Dynamic Limb Movement, Shallow Depth-of-Field Dreamlike Bokeh Circles, +5
    additional_elements_presetCOMBOGently Wind-Blown Hair Strands & Natural Organic Fabric Movement9 options: Gently Wind-Blown Hair Strands & Natural Organic Fabric Movement, Swirling Steam Rising from Fresh Hot Coffee & Tea Cups, Raindrops Streaking and Beading Down Glass Windowpanes, Drifting Floating Dust Motes Dancing in Sunbeams, Falling Autumn Maple Leaves Drifting Across Frame, Realistic Subsurface Skin Scattering on Cheeks, Lips and Ears, +3
    negative_prompt_presetCOMBOStandard Photography & General Quality Guard7 options: Standard Photography & General Quality Guard, Master Anatomy & Anti-Deformation Guard (Fixes Hands & Extra Limbs), 3D CGI Clean (Removes Clay/Plastic & Uncanny Valley), Photoreal Preserver (Removes Illustration, Anime, Cartoons), Anime / Cel Guard (Removes Realistic Pores & Smudge), Cinematic Clean (Removes Glitches, Subtitles, Watermarks), +1
    character_nameoptSTRINGMayaCharacter name or unique identifier
    🏷️_1_Custom_Style_and_Art_MediumoptSTRING
    🏷️_2_Custom_Subject_and_FeaturesoptSTRING
    🏷️_3_Custom_Wardrobe_and_FabricoptSTRING
    🏷️_4_Custom_Location_and_ArchitectureoptSTRING
    🏷️_5_Custom_Camera_and_FramingoptSTRING
    🏷️_6_Custom_Lighting_and_ShadowsoptSTRING
    🏷️_7_Custom_Color_PaletteoptSTRING
    🏷️_8_Custom_Visual_EffectsoptSTRING
    🏷️_9_Custom_Additional_Micro_DetailsoptSTRING
    🏷️_Negative_Prompt_Custom_AdditionsoptSTRING
    🏷️_Full_Override_Positive_PromptoptSTRING

    Outputs (2)

    NameTypeDescription
    positive_promptSTRING
    negative_promptSTRING