๐ Smart USDU Split-Latent
Different denoise for masked and unmasked regions, handled in latent space
- image
- model
- conditionings
- negative
- vae
- mask
- upscale_model
- IMAGE
Most of the USDU family does its per-region control in image space with masks and patches. This one takes a different route: it's a standalone implementation of the "split-latent" idea, where the image is VAE-encoded once, the latent is split into masked/unmasked regions, and each region gets its own denoise level before sampling - the node's docstring calls it "manual noise injection with mask-based blending before sampling."
The pitch: instead of running two separate img2img passes at different denoise strengths and compositing the outputs (which gives you a hard seam you then have to hide), you inject noise at the right level per region inside the latent, sample once, and get one coherent image where the masked area changed a lot and the unmasked area barely moved. It's a genuinely different mechanism from the DiffDiff nodes, and it's the one to reach for when you want region-specific regeneration without the per-pixel patch overhead.
What it takes
The required inputs tell the story: image, model, conditionings, negative, vae, and a required mask - there's no optional path here, the mask is the whole point. Then two denoise values:
denoise_high(default 0.6) - applied to the masked regiondenoise_low(default 0.2) - applied to the unmasked region
Beyond that it's the standard USDU block: upscale_by, upscale_model, seed/steps/cfg/sampler_name/scheduler, mode_type, tile size/padding/blur, seam-fix settings, force_uniform_tiles, tiled_decode. Output is a single IMAGE.
Installing it
Part of 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, then it's usable. This node pulls from ComfyUI's own nodes module (VAE encode/decode, common_ksampler), so no extra install beyond the pack. Free for personal use; commercial use needs the paid license.
Where to be careful
It runs its own sampling loop - that's the point of being standalone - so it ignores whatever sampler objects you have elsewhere and uses the sampler_name/scheduler dropdowns. The mask is the single most important input: a soft, low-contrast mask will average both denoise levels toward a mushy middle, so keep boundaries crisp. And because masked regions get sampled at 0.6 denoise by default, that area will be visibly regenerated, not just detailed - if the masked zone is a face you need to keep, drop denoise_high toward 0.4 and feed it a good prompt, or the split-latent approach will happily rebuild it.
Inputs (27)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | โ | |
| model | MODEL | โ | |
| conditionings | CONDITIONING_LIST | โ | |
| negative | CONDITIONING | โ | |
| vae | VAE | โ | |
| mask | MASK | โ | |
| denoise_high | FLOAT | 0.600โ1 | โ |
| denoise_low | FLOAT | 0.200โ1 | โ |
| upscale_by | FLOAT | 2.000.05โ4 | โ |
| seed | INT | 00โ18446744073709550000 | โ |
| steps | INT | 201โ10000 | โ |
| cfg | FLOAT | 8.000โ100 | โ |
| sampler_name | COMBO | 44 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +38 | |
| scheduler | COMBO | 9 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +3 | |
| upscale_model | UPSCALE_MODEL | โ | |
| mode_type | COMBO | 3 options: Linear, Chess, None | |
| tile_width | INT | 51264โ8192 | โ |
| tile_height | INT | 51264โ8192 | โ |
| mask_blur | INT | 80โ64 | โ |
| tile_padding | INT | 320โ8192 | โ |
| seam_fix_mode | COMBO | 4 options: None, Band Pass, Half Tile, Half Tile + Intersections | |
| seam_fix_denoise | FLOAT | 1.000โ1 | โ |
| seam_fix_width | INT | 640โ8192 | โ |
| seam_fix_mask_blur | INT | 80โ64 | โ |
| seam_fix_padding | INT | 160โ8192 | โ |
| force_uniform_tiles | BOOLEAN | true | โ |
| tiled_decode | BOOLEAN | false | โ |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | โ |