Skip to main content
The WebcamCapture node captures images from a webcam device and converts them into a format that can be used within ComfyUI workflows. It inherits from the LoadImage node and provides options to control the capture dimensions and timing. When enabled, the node can capture new images each time the workflow queue is processed.

Inputs

ParameterDescriptionData TypeRequiredRange
imageThe webcam input source to capture images fromWEBCAMYes-
widthThe desired width for the captured image (default: 0, uses webcam’s native resolution)INTYes0 to MAX_RESOLUTION
heightThe desired height for the captured image (default: 0, uses webcam’s native resolution)INTYes0 to MAX_RESOLUTION
capture_on_queueWhen enabled, captures a new image each time the workflow queue is processed (default: True)BOOLEANYes-
Note: When both width and height are set to 0, the node uses the webcam’s native resolution. Setting either dimension to a non-zero value will resize the captured image accordingly.

Outputs

Output NameDescriptionData Type
IMAGEThe captured webcam image converted to ComfyUI’s image formatIMAGE
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 551368150fc293309f917eabaa066f223b1fa1a016ffd3643b57b80c83f812cc