ComfyUI Node
Load Image/Video From Path
Load an image or video from a filename path. Supports animation frame data, audio, and video.
Load Image/Video From Path
- images
- mask
- audio
- frame_count
- fps
◄path—►
◄RGBAfalse►
◄width0►
◄height0►
◄keep_aspect_ratio▾►
CategoryLoadAnimAdv/Loaders
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| path | STRING | Absolute or relative path to the image/video file. | |
| RGBA | BOOLEAN | false | Controls whether to include the Alpha channel in the 'image' output. The 'mask' output will always include this data. |
| width | INT | 0 | Final width of images, after resizing. Zero means to keep the original width. |
| height | INT | 0 | Final height of images, after resizing. Zero means to keep the original height. |
| keep_aspect_ratio | COMBO | What action to take, when the image doesn't match the expected aspect ratio. |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | The image data, either as a single image or a set of frames. |
| mask | MASK | Any transparency data found in the Alpha channel or transparent palette index. |
| audio | AUDIO | The audio from the video, if any. |
| frame_count | INT | Total number of frames loaded from the image. |
| fps | FLOAT | Frames-per-second, as reported from the image metadata. This may be zero, if the data could not be found, or the image doesn't animate. |