2.9 KiB
2.9 KiB
Node: IMAGE Saver @ vrch.ai (vrch.ai/image)
-
Add the
IMAGE Saver @ vrch.ainode to your ComfyUI workflow. -
Configure the Node:
- Image Input:
images: Provide one or more images to be saved.
- Filename:
filename: Specify the base filename for saving the image(s). If multiple images are provided, an index will be appended (e.g.,web_viewer_image_00.jpeg).
- Path:
path: Define the subfolder within the ComfyUI output directory where the images will be saved (default isweb_viewer).
- File Extension:
extension: Choose the output image format fromjpeg,png, orwebp(default isjpeg).
- Quality Settings:
quality_jpeg_or_webp: Set the quality for JPEG or WEBP images (default is 85, valid range: 1–100).optimize_png: Enable PNG optimization when saving PNG images.lossless_webp: Enable lossless compression for WEBP images.
- Preview Option:
enable_preview: If enabled, the node will return preview information for the saved images.
- Image Input:
-
Save Images:
- The node saves the provided images into the specified subfolder under the ComfyUI output directory using the given filename and file extension.
- When multiple images are provided, filenames will be automatically suffixed with an index.
Node: IMAGE Preview in Background @ vrch.ai (vrch.ai/image)
-
Add the
IMAGE Preview in Background @ vrch.ainode to your ComfyUI workflow. -
Configure the Node:
- Image Input:
image: Provide a single image that you wish to use for the background preview.
- Channel:
channel: Select a channel number from "1" to "8" (default is "1"). This determines the filename (e.g.,channel_1.jpeg).
- Background Display:
background_display: Toggle to enable or disable the display of the image as a background in ComfyUI.
- Refresh Interval:
refresh_interval_ms: Set the refresh interval in milliseconds for updating the background preview (default is 300ms).
- Display Option:
display_option: Choose how the image should be displayed in the background. Options includeoriginal,fit,stretch, andcrop(default isfit).
- Image Input:
-
Preview in Background:
- The node saves the input image in the
preview_backgroundsubfolder of the ComfyUI output directory using a filename based on the selected channel (e.g.,channel_1.jpeg). - The saved image is intended to be used as a dynamic background inside the ComfyUI frontend.
- The refresh interval controls how frequently the background preview is updated.
- The node saves the input image in the
Note:
- Ensure that the output directory is correctly configured.
- This node is useful for continuously updating a background display with image previews.
