ComfyUI Node
Portrait Reference Placement
A ComfyUI node in MOSS-Image/Layout with 9 inputs and 2 outputs.
Portrait Reference Placement
- source_card
- reference_portrait
- initialized_card
- suggested_face_box
◄layout_json—►
◄canvas_width—►
◄canvas_height—►
◄reference_frame_height0.80►
◄vertical_position0.45►
◄reference_framing—►
◄replace_portraittrue►
CategoryMOSS-Image/Layout
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| source_card | IMAGE | — | |
| reference_portrait | IMAGE | — | |
| layout_json | STRING | — | |
| canvas_width | INT | — | |
| canvas_height | INT | — | |
| reference_frame_height | FLOAT | 0.800.5–1 | Fraction of the portrait panel occupied by the complete reference frame. Uniform framing preserves facial proportions; surrounding space is completed by the editor. |
| vertical_position | FLOAT | 0.450–1 | — |
| reference_framingopt | STRING | — | |
| replace_portraitopt | BOOLEAN | true | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| initialized_card | IMAGE | — |
| suggested_face_box | BOUNDING_BOX | — |