Nodes/ComfyUI-ArchAi3d-Qwen/ArchAi3D_Position_Guide_Prompt_Builder
ComfyUI Node

ArchAi3D_Position_Guide_Prompt_Builder

A ComfyUI node in ArchAi3d/Utils with 8 inputs and 2 outputs.

By amir84ferdos·Created 10 months ago·Updated 4 months ago· 65
ArchAi3D_Position_Guide_Prompt_Builder
    • formatted_prompt
    • system_prompt
    object_descriptions
    prompt_templatestandard
    custom_template
    system_prompt_templateuser_validated
    custom_system_prompt
    additional_instructions
    removal_at_startnone
    removal_at_endcombined
    CategoryArchAi3d/Utils

    Inputs (8)

    NameTypeDefaultDescription
    object_descriptionsSTRINGDescribe objects separated by / (slash). Example: 'boy seats on sofa / man seats on sofa / woman seats on sofa'. Each description will be mapped to rectangle 1, 2, 3... in order.
    prompt_templateCOMBOstandardTemplate preset: - standard: Combined removal command (default) - standard_explicit: Split removal (use if rectangles/numbers appear in output) ⭐ - strong_removal: Ultra-explicit with IMPORTANT prefix (use if standard_explicit fails) ⭐⭐ - no_removal: Keep rectangles visible (for debugging) - minimal: Just mappings, no extra commands - custom: Use custom_template field below
    custom_templateSTRINGCustom template (only used when template is 'custom'). Use {MAPPINGS} for object mappings, {ADDITIONAL} for extra instructions. Example: 'Add to image 1 using image 2 guide: {MAPPINGS}. {ADDITIONAL}'
    system_prompt_templateCOMBOuser_validatedSystem prompt template: - user_validated: YOUR WORKING PROMPT with 3-stage cleanup! (recommended) ⭐ - three_stage: Explicit 3-stage process (Read→Add→Clean) ⭐⭐ - none: No system prompt - standard: Basic guidance + removal reminder - detailed: Precise placement + explicit removal - preserve_everything: STRONG preservation + removal rules - minimal_change: Short and direct with removal - custom: Use custom_system_prompt field below
    custom_system_promptSTRINGCustom system prompt (only used when system_prompt_template is 'custom'). Example: 'You are an expert in architectural visualization...'
    additional_instructionsSTRINGExtra details to add at the end (optional). Example: 'man is close to boy' or 'warm lighting, photorealistic style'
    removal_at_startCOMBOnoneAdd removal instruction at START of prompt: - none: No removal at start - combined: 'remove all red rectangles and numbers from the image' - rectangles_only: 'remove all red rectangles from the image' - numbers_only: 'remove all numbers from the image' - both_separate: Both commands separately (rectangles, then numbers)
    removal_at_endCOMBOcombinedAdd removal instruction at END of prompt: - none: No removal at end - combined: 'remove all red rectangles and numbers from the image' (default) - rectangles_only: 'remove all red rectangles from the image' - numbers_only: 'remove all numbers from the image' - both_separate: Both commands separately (rectangles, then numbers)

    Outputs (2)

    NameTypeDescription
    formatted_promptSTRINGComplete formatted prompt ready for Qwen image editing
    system_promptSTRINGSystem prompt (empty if 'none' selected)