ComfyUI Node
Get Frame at Index
Isolates conditioning to a specific segment of a frame and additional returns masks to use in composotion of that segment in a final frame. Segment type supports 4 modes, 3x3, 3x2, 3x1 and 3x1 + 1x1. Defaults to width x height (wide orientation), use swap_dimensions to height x width (tall orientation). segment_row and segment_column provide indexes in to the final grid. If conditioning is supplied, use that, otherwise generate from clip + text prompt. Both, either, or neither of [pos|neg] can be provided.
Get Frame at Index
- segments
- clip
- pos
- neg
- mask
- mask_inverted
- POS
- NEG
◄segment_row0►
◄segment_col0►
◄pos_text—►
◄neg_text—►
CategoryAharaNodes/frame_segmenter
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| segments | FRAME_SEGMENTS | — | |
| segment_row | INT | 00–2 | — |
| segment_col | INT | 00–2 | — |
| pos_text | STRING | — | |
| neg_text | STRING | — | |
| clipopt | CLIP | — | |
| posopt | CONDITIONING | — | |
| negopt | CONDITIONING | — |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| mask | MASK | — |
| mask_inverted | MASK | — |
| POS | CONDITIONING | — |
| NEG | CONDITIONING | — |