diff --git a/doc/syntax.md b/doc/syntax.md index 59915d9..f98cbad 100644 --- a/doc/syntax.md +++ b/doc/syntax.md @@ -201,4 +201,9 @@ The order of the `FEATHER` and `MASK` calls doesn't matter; you can have `FEATHE Experimental features are unstable and may disappear or break without warning. ## Attention masking -- Use `ATTN()` in combination with `MASK()` or `IMASK()` to enable attention masking. Currently, it's pretty slow and only works with SDXL. You need to have a recent enough version of ComfyUI for this to work. + +Use `ATTN()` in combination with `MASK()` or `IMASK()` to enable attention masking. Currently, it's pretty slow and only works with SDXL. You need to have a recent enough version of ComfyUI for this to work. + +## TE_WEIGHT + +For models using multiple text encoders, you can set weights per TE using the syntax `TE_WEIGHT(clipname=weight, clipname2=weight2, ...)` where `clipname` is one of `g`, `l`, or `t5xxl`. For example with SDXL, try `TE_WEIGHT(g=0.25, l=0.75`). The weights are applied as a multiplier to the TE output.