ComfyUI Node
π Prepare img2vid
Prepares an image for video generation by resizing, cropping, and adjusting aspect ratio and resolution.
π Prepare img2vid
- image
- IMAGE
- width
- height
βresolution720p (HD)βΊ
βaspect_ratio16:9 (Horizontal)βΊ
βhorizontal_offset0βΊ
βvertical_offset0βΊ
CategoryComfyUI-YarvixPA/Utils/Video
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | β | |
| resolution | COMBO | 720p (HD) | 5 options: 480p (SD), 720p (HD), 1080p (Full HD), 1440p (Quad HD), 2160p (4K) |
| aspect_ratio | COMBO | 16:9 (Horizontal) | 5 options: 16:9 (Horizontal), 3:2 (Horizontal), 1:1 (Square), 2:3 (Vertical), 9:16 (Vertical) |
| horizontal_offset | INT | 0-16384β16384 | β |
| vertical_offset | INT | 0-16384β16384 | β |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | β |
| width | INT | β |
| height | INT | β |