ComfyUI Node
ArchAi3D_Mask_To_Position_Guide
A ComfyUI node in ArchAi3d/Utils with 11 inputs and 3 outputs.
ArchAi3D_Mask_To_Position_Guide
- mask
- guide_image
- region_count
- bbox_list
◄numbering_orderleft_to_right►
◄rectangle_colorred►
◄rect_hex_colorFF0000►
◄line_thickness2►
◄number_size18►
◄number_colorred►
◄num_hex_colorFF0000►
◄padding5►
◄background_colorcustom_hex►
◄bg_hex_color0F0F0F►
CategoryArchAi3d/Utils
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| mask | MASK | Input mask with selected regions (white = selected, black = background) | |
| numbering_order | COMBO | left_to_right | Order for numbering regions: - left_to_right: Numbers increase from left to right (→) - right_to_left: Numbers increase from right to left (←) - top_to_bottom: Numbers increase from top to bottom (↓) - bottom_to_top: Numbers increase from bottom to top (↑) |
| rectangle_color | COMBO | red | Color for rectangle borders (use 'custom_hex' to define hexadecimal color code below) |
| rect_hex_color | STRING | FF0000 | Hexadecimal color code for rectangles (e.g., 'FF0000' or '#FF0000') - only used when rectangle_color='custom_hex' |
| line_thickness | INT | 21–20 | Thickness of rectangle borders in pixels |
| number_size | INT | 1812–200 | Font size for numbers inside rectangles |
| number_color | COMBO | red | Color for numbers (use 'custom_hex' to define hexadecimal color code below) |
| num_hex_color | STRING | FF0000 | Hexadecimal color code for numbers (e.g., 'FF0000' or '#FF0000') - only used when number_color='custom_hex' |
| padding | INT | 50–50 | Padding around detected regions in pixels |
| background_color | COMBO | custom_hex | Background color for the guide image (use 'custom_hex' to define hexadecimal color code below) |
| bg_hex_color | STRING | 0F0F0F | Hexadecimal color code for background (e.g., '0F0F0F' or '#0F0F0F') - only used when background_color='custom_hex' |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| guide_image | IMAGE | Position guide image with numbered rectangles (use with Multi Image Text Encoder V3) |
| region_count | INT | Number of regions detected |
| bbox_list | STRING | JSON list of bounding boxes for each region |