ComfyUI Node
RS Character Mask
Use a silhouette or painted MASK for one numbered character. Shift and scale about the canvas centre, then expand the white area; overflow is clipped without wrapping. Overrides its point/box in any builder order. Overlaps share captions; outside uses the common prompt. Guides prompt attention, not exact pose. MOSS native JSON requires boxes instead.
RS Character Mask
- building_pipe
- mask
- building_pipe
- region_mask
◄character_id1►
◄enabledtrue►
◄margin24►
◄threshold0.50►
◄offset_x0.00►
◄offset_y0.00►
◄scale1.00►
CategoryRS MultiCharacter/Characters
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| character_id | INT | 11–10 | Match this number to the Character Prompt row. |
| enabled | BOOLEAN | true | Off removes this character's mask and restores its point/box settings. |
| margin | INT | 240–128 | Expand the white region in source-mask pixels. Leave room for hair, clothes and interaction. |
| threshold | FLOAT | 0.500–1 | Pixels above this value become white. Gray is not a continuous prompt strength. |
| building_pipeopt | RS_MC_BUILD_PIPE | — | |
| maskopt | MASK | One full-canvas mask. White selects this character; black excludes it. Parts moved or enlarged outside the canvas are clipped. | |
| offset_xopt | FLOAT | 0.00-1–1 | Horizontal shift as a fraction of canvas width. Positive moves right; outside is clipped. |
| offset_yopt | FLOAT | 0.00-1–1 | Vertical shift as a fraction of canvas height. Positive moves down; outside is clipped. |
| scaleopt | FLOAT | 1.000.05–4 | Uniform size ratio about the canvas centre: 0.5 half, 1 original, 2 double. Keeps aspect ratio; outside is clipped. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| building_pipe | RS_MC_BUILD_PIPE | — |
| region_mask | MASK | — |