ComfyUI Node
ArchAi3D_Position_Guide_Prompt_Builder
A ComfyUI node in ArchAi3d/Utils with 8 inputs and 2 outputs.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| object_descriptions | STRING | Describe 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_template | COMBO | standard | Template 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_template | STRING | Custom 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_template | COMBO | user_validated | System 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_prompt | STRING | Custom system prompt (only used when system_prompt_template is 'custom'). Example: 'You are an expert in architectural visualization...' | |
| additional_instructions | STRING | Extra details to add at the end (optional). Example: 'man is close to boy' or 'warm lighting, photorealistic style' | |
| removal_at_start | COMBO | none | Add 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_end | COMBO | combined | Add 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)
| Name | Type | Description |
|---|---|---|
| formatted_prompt | STRING | Complete formatted prompt ready for Qwen image editing |
| system_prompt | STRING | System prompt (empty if 'none' selected) |