Nodes/ComfyUI-ArchAi3d-Qwen/ArchAi3D_Solid_Color_Image
ComfyUI Node

ArchAi3D_Solid_Color_Image

A solid-color canvas for panorama workflows, sized in the right MP

By amir84ferdos·Created 11 months ago·Updated 5 months ago· 70
ArchAi3D_Solid_Color_Image
  • reference_image
  • solid_image
preset_dimensions2:1 - 768 (1536×768)
color_modergb
rgb_r128
rgb_g128
rgb_b128
hex_color808080
debug_modefalse

Sometimes you need a flat, colored canvas that's exactly the right size for a model - a blank panorama to inpaint a room into, a background plate for compositing, a resolution test target for VRAM budgeting. ArchAi3D_Solid_Color_Image is a 295-line utility that does precisely that and nothing else. Its party trick: dimension presets that are all 2:1 panoramic aspect ratios, all divisible by 32, sized for Qwen-VL and the pack's panorama workflows, from 1024×512 (0.52 MP) up to 3072×1536 (4.72 MP).

The default preset is 2:1 - 768 (1536×768) - a size the author clearly picked as the sweet spot for interior-design editing with the pack's Qwen encoder nodes. If you're building a workflow around those, matching the preset to what the encoder was tuned for saves you an explicit resize.

How to use it

Pick a color two ways, via color_mode:

  • rgb (default) - rgb_r/rgb_g/rgb_b sliders, 0–255 each, default mid-gray 128
  • hex - hex_color string, accepts 808080 or #808080

Dimensions come from either source: connect reference_image (optional IMAGE) and the output matches its dimensions, or leave it disconnected and preset_dimensions takes over. That reference path is the sneaky-useful bit - it's a one-wire way to build a color canvas exactly matching another image's resolution.

debug_mode (default False) turns on console logging of the dimensions and color. Output is a single IMAGE (solid_image).

Installing it

One of ~100 nodes in ComfyUI-ArchAi3d-Qwen by Amir Ferdos (ArchAi3d). ComfyUI Manager → search "ArchAi3d Qwen" → install → restart, or:

cd ComfyUI/custom_nodes
git clone https://github.com/amir84ferdos/ComfyUI-ArchAi3d-Qwen.git
cd ComfyUI-ArchAi3d-Qwen
pip install -r requirements.txt

Restart. It's a pure-torch utility - no deps beyond ComfyUI's own. Free for personal use; commercial use needs the paid license.

Notes

There are dozens of solid-color image nodes out there, so this one earns its place only if you're already in the ArchAi3d ecosystem (for the Qwen presets and the reference-image sizing). The preset_dimensions dropdown is the only thing specific to this pack - if a preset size looks odd (like 1664×832), that's deliberate, every entry is divisible by 32. Watch out for the hex input swallowing the # either way - the node accepts both forms, so a stray # isn't an error, just be consistent.

CategoryArchAi3d/Utils

Inputs (8)

NameTypeDefaultDescription
preset_dimensionsCOMBO2:1 - 768 (1536×768)Preset panoramic dimensions (2:1 aspect ratio). Used when no reference image is provided. All sizes divisible by 32 for optimal AI processing. Range: 0.52 MP to 4.72 MP.
color_modeCOMBOrgbChoose color definition method: RGB values (0-255) or hexadecimal code
rgb_rINT1280–255Red channel value (0-255) - only used when color_mode='rgb'
rgb_gINT1280–255Green channel value (0-255) - only used when color_mode='rgb'
rgb_bINT1280–255Blue channel value (0-255) - only used when color_mode='rgb'
hex_colorSTRING808080Hexadecimal color code (e.g., 'FF0000' or '#FF0000') - only used when color_mode='hex'
debug_modeBOOLEANfalseEnable console logging (shows dimensions, color info)
reference_imageoptIMAGEOptional: Reference image to extract dimensions from. If not provided, uses preset dimensions below.

Outputs (1)

NameTypeDescription
solid_imageIMAGESolid color image matching reference dimensions