ComfyUI Node
Gemini Pad Calculator
A ComfyUI node in image/padding with 5 inputs and 11 outputs.
Gemini Pad Calculator
- image
- pad_left
- pad_right
- pad_top
- pad_bottom
- target_w
- target_h
- aspect_ratio
- resolution
- fill_color
- padded_image
- outpaint_mask
◄aspect_ratioauto►
◄resolutionauto►
◄modesuperior►
◄fill_modeedge_average►
Categoryimage/padding
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| aspect_ratio | STRING | auto | — |
| resolution | STRING | auto | — |
| mode | COMBO | superior | 3 options: superior, inferior, closest |
| fill_mode | COMBO | edge_average | 2 options: edge_average, unique |
Outputs (11)
| Name | Type | Description |
|---|---|---|
| pad_left | INT | — |
| pad_right | INT | — |
| pad_top | INT | — |
| pad_bottom | INT | — |
| target_w | INT | — |
| target_h | INT | — |
| aspect_ratio | STRING | — |
| resolution | STRING | — |
| fill_color | IMAGE | — |
| padded_image | IMAGE | — |
| outpaint_mask | MASK | — |