ComfyUI Node
NAI Reference Inset
Prepare a reference canvas locally without an API call. Width/height describe the whole canvas; the node shows the smaller cropped output size. Run this node for an actual image preview. Connect inset to NAI Reference Inset Generate when ready.
NAI Reference Inset
- image
- inset
- canvas
- generation_mask
◄canvas_width1216►
◄canvas_height832►
◄placementleft►
◄reference_percent50►
CategoryRS_NovelAI_API/Reference Inset
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | One reference image. Fits without stretching or cropping; transparency is composited on white. | |
| canvas_width | INT | 121664–4096 | Whole canvas including the reference. The cropped output will be smaller. |
| canvas_height | INT | 83264–4096 | Whole canvas including the reference. The cropped output will be smaller. |
| placement | COMBO | left | Side occupied by the reference. The other side is generated. |
| reference_percent | INT | 5010–75 | Percentage reserved for the reference. Smaller reference space gives a larger output, but may weaken consistency. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| inset | RS_NAI_INSET | — |
| canvas | IMAGE | — |
| generation_mask | MASK | — |