ComfyUI Node
MOSS Layout YDR
A ComfyUI node in MOSS/Layout with 16 inputs and 8 outputs.
MOSS Layout YDR
- background
- background_resize
- prompt
- width
- height
- bboxes
- draft_json
- moss_elements
- summary_caption
- character_boxes
◄summary►
◄aspect_ratio▾►
◄width1024►
◄height1024►
◄resolution▾►
◄megapixels1.00►
◄dimension_multiple16►
◄portraitfalse►
◄editor_state{}►
◄layout_text—►
◄summary_meta►
◄input_width—►
◄input_height—►
◄input_megapixels—►
CategoryMOSS/Layout
Inputs (16)
| Name | Type | Default | Description |
|---|---|---|---|
| summary | STRING | Describe the full image: scene, composition, lighting, style, and relationships between elements. | |
| aspect_ratio | COMBO | Choose the proportions of the layout board. Select Custom to enter an exact width and height. | |
| width | INT | 102464–16384 | Target canvas width in pixels. Editing width or height switches the ratio to Custom. |
| height | INT | 102464–16384 | Target canvas height in pixels. Editing width or height switches the ratio to Custom. |
| resolution | COMBO | Choose a target image area in megapixels. Custom enables the editable MP field. | |
| megapixels | FLOAT | 1.000.25–16 | Target image area in megapixels. The MOSS-safe minimum dimension multiple is 16. |
| dimension_multiple | COMBO | 16 | Legacy workflow compatibility field. The value is ignored; dimensions are aligned automatically to 16 px. |
| portrait | BOOLEAN | false | Internal orientation state controlled by the swap button. |
| editor_state | STRING | {} | Saved box editor data. It is tucked under Advanced and normally does not need editing. |
| layout_textopt | STRING | Import a MOSS layout JSON string or one item per line. | |
| backgroundopt | IMAGE | Optional board image. It replaces the automatic preview while connected. | |
| background_resizeopt | IMAGE | Optional board image. It replaces the automatic preview and sets the custom aspect ratio; megapixels scale its size. | |
| summary_metaopt | STRING | Optional comma-separated medium or genre tags written to summary.meta. | |
| input_widthopt | INT | Optional wired width override. When only one dimension is connected, the selected aspect ratio supplies the other. | |
| input_heightopt | INT | Optional wired height override. When only one dimension is connected, the selected aspect ratio supplies the other. | |
| input_megapixelsopt | FLOAT | Optional wired megapixel override. Background Resize keeps its source ratio and scales to this area. |
Outputs (8)
| Name | Type | Description |
|---|---|---|
| prompt | STRING | — |
| width | INT | — |
| height | INT | — |
| bboxes | ARRAY | — |
| draft_json | STRING | — |
| moss_elements | ARRAY | — |
| summary_caption | STRING | — |
| character_boxes | STRING | — |