In ComfyUI, value sets one mask intensity across the entire SolidMask area, while width and height set that area’s dimensions. Use SolidMask when you need a uniform mask, such as an all-selected or all-unselected starting mask, or a constant test input. It does not draw a local shape or extract a mask from an image. The node outputs MASK; choose dimensions that fit the workflow, then check that the receiving node accepts the resulting mask size.
Decide whether a uniform mask fits
Start with the mask you actually need. If every location should have the same intensity, SolidMask is a suitable source. If only a subject, region, or painted area should be selected, use a workflow that obtains or edits a spatially varying mask instead. SolidMask has no image input or region controls in the documented interface.
ComfyUI describes value as the mask’s intensity and says the specified value applies uniformly across the output area. The documentation does not state a numeric range or give exact value semantics for every downstream operation. Do not assume a particular numeric value means “selected” in every context; confirm the receiving node’s expectations and the value control shown in your ComfyUI setup. SolidMask documentation
Set the canvas and value
- Add a SolidMask node and identify the downstream MASK input you intend to feed. Decide whether the mask is meant to be a constant source or whether you need a local shape; use another mask source if it is local.
- Set
widthandheightto the intended mask canvas dimensions. For an image-sized mask, use dimensions that match the relevant image canvas or the size expected by the receiving workflow. These fields determine mask size and aspect ratio; they do not resize an image connected to the node, because SolidMask has no image input. - Set
valueto the uniform intensity required for the task. For a diagnostic, choose a value whose effect you can distinguish in the next operation, using that operation’s documented expectations rather than guessing what a numeric value means. - Connect the node’s
MASKoutput to the downstream node’s MASK input. Check the receiving input type and any associated image dimensions before running the workflow. - Inspect the result at the point where the mask is used. If the task requires a constant mask, verify there is no intended subject boundary or spatial variation missing from the result.
Check dimensions and behavior
The table below is a hypothetical diagnostic, not a measured ComfyUI run. Suppose the intended canvas is 640 by 480 pixels and a receiving workflow expects a mask matching that image area. A uniform output at those dimensions is consistent with the goal; a different size is a reason to revisit the dimension fields or the receiving workflow’s expectations. The exact effect of the chosen value must be judged at the downstream operation.
| Check | Hypothetical observation | Next decision |
|---|---|---|
| Width and height | Intended image area is 640 × 480; fields read 640 and 480 | Dimensions match the stated target |
| Uniformity | The intended mask is a constant test mask, not a subject cutout | SolidMask is an appropriate source |
| Output connection | MASK is connected to a downstream MASK input | Confirm that input is the intended mask port |
| Downstream result | The operation behaves differently than expected | Check its value interpretation and mask-size expectations before changing unrelated image settings |
Handle mismatches and understand limits
If the receiving workflow reports a size mismatch or gives an unexpected result, first compare the SolidMask dimensions with the relevant image or downstream mask expectation. Then confirm the connection goes from MASK to a MASK input, and review how the receiving node interprets mask intensity. Change one setting at a time so the cause remains identifiable.
A uniform value cannot create a boundary, isolate a subject, or reproduce detail that was not supplied. Inverting a mask changes its interpretation or values; cropping changes the area; growing or feathering adjusts boundaries on an existing spatial mask. Those are separate operations, not SolidMask controls. ComfyUI’s node documentation specifies the uniform output, dimensions, and MASK type, but it does not document every downstream node’s handling of values or size compatibility. Check the relevant node documentation when that behavior matters. SolidMask input and output reference
Is SolidMask the right node for selecting one object?
Not by itself. Its documented output has one value throughout the area, so it cannot describe an object boundary. Use a source or editing workflow that provides a spatially varying mask.
Do `width` and `height` resize the image too?
No image input is listed for SolidMask. These parameters set the generated mask’s dimensions; they are not an image-resize control.
What if my workflow needs a different value after creating the mask?
Check the receiving operation’s mask semantics first. If it needs inversion or boundary changes, apply an appropriate separate operation to the mask rather than expecting SolidMask to vary its value across the canvas.
Sources and next step
This guide interprets public documentation and uses explicitly hypothetical acceptance examples, not application tests. Controls and availability can change; verify the cited manual against your installed version.
For work created in Imagild, carry the input requirements and acceptance checklist into the photo editor. The external software controls discussed above belong to their respective products.