Add a note about compositing to clarify docs, fixes #101

This commit is contained in:
asagi4
2025-05-05 15:33:25 +03:00
parent 42ae22db83
commit aba246a33c
+2
View File
@@ -163,6 +163,8 @@ The function `NOISE(weight, seed)` adds some random noise into the prompt. The s
You can use `MASK(x1 x2, y1 y2, weight, op)` to specify a region mask for a prompt. The values are specified as a percentage with a float between `0` and `1`, or as absolute pixel values (these can't be mixed). `1` will be interpreted as a percentage instead of a pixel value.
Multiple `MASK` or `IMASK` calls will be composited together using ComfyUI's `MaskComposite` node, using `op` as the `operation` parameter (defaulting to `multiply`).
Similarly, you can use `AREA(x1 x2, y1 y2, weight)` to specify an area for the prompt (see ComfyUI's area composition examples). The area is calculated by ComfyUI relative to your latent size.
#### Custom masks: IMASK and `PCAddMaskToCLIP`