ComfyUI Node
Stamp Censor
Scatter stamps over masked regions. Connect Stamp from Stamp Load or Stamp Custom Load.
Stamp Censor
- image
- mask
- stamp
- image
◄auto_rotatetrue►
◄min_size24►
◄max_size512►
◄size_ratio0.28►
◄target_coverage0.80►
◄spacing_factor0.30►
◄size_jitter0.15►
◄angle_jitter0.0►
◄uniform_packfalse►
◄stamp_angle0►
◄seed-1►
Category4A/StampCensor
Inputs (14)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Source image to stamp over. | |
| mask | MASK | White areas are stamped. Each connected region is handled separately. | |
| stamp | STAMP | Connect Stamp Load or Stamp Custom Load. | |
| auto_rotate | BOOLEAN | true | On: align to each mask region's long axis, then add the Stamp Load angle. Off: use the Stamp Load angle only. |
| min_size | INT | 244–1024 | Smallest stamp size in pixels. |
| max_size | INT | 5128–2048 | Largest stamp size in pixels. Size Ratio usually hits first. |
| size_ratio | FLOAT | 0.280–2 | Stamp size as a fraction of the region's shorter side (1.0 = fill that width), before min/max clamp. Even pack: fraction of local scan width or the region's short axis; 1.0 = fill that span. |
| target_coverage | FLOAT | 0.800.05–1 | Stop placing stamps in a region when this fraction of its mask is covered. Even pack: if a region got only one stamp and landed within 0.20 above this target, one extra stamp is placed. |
| spacing_factor | FLOAT | 0.300–2 | Collision size of each stamp. 0 = allow full overlap. 1.0 = oriented boxes just touch. Even pack: overlap gate only; sites stay on the size-based skeleton. Below 1 overlaps, 1.0 = just touch. |
| size_jitter | FLOAT | 0.150–0.9 | Random size variation around the base size. |
| angle_jitter | FLOAT | 0.00–180 | Extra random rotation in degrees, added after auto-rotate or the load angle. |
| uniform_pack | BOOLEAN | false | On: slender regions scan the long axis; squat regions size to the short axis and brick-stagger. Coverage / min / max / spacing / size ratio / jitter still apply. Off: random samples. |
| stamp_angle | FLOAT | 0-180–180 | Copied from Stamp Load. Added on top of auto-rotate when it is on. |
| seedopt | INT | -1-1–4294967295 | Optional. Connected: use this seed. Empty: randomize each queue. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |