Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates viewing and displaying images in a web browser for AI artists.
The VrchImageWebViewerNode
is designed to facilitate the viewing of images through a web interface, making it an essential tool for AI artists who want to seamlessly integrate their visual creations into a web-based environment. This node extends the functionality of the VrchImageSaverNode
, allowing you to not only save images but also view them directly in a web browser. By leveraging this node, you can easily open a specified URL in a new browser tab, providing a convenient way to display your images online. This capability is particularly beneficial for artists who wish to share their work with a broader audience or need to preview their creations in a web context. The node is part of the vrch.ai/viewer
category, emphasizing its role in enhancing the visual presentation of AI-generated content.
The mode
parameter determines the type of content you wish to view, with options including "image", "audio", and "depthmap". The default setting is "image", which is ideal for viewing visual content. This parameter allows you to specify the content type, ensuring that the node processes and displays the appropriate media format.
The server
parameter specifies the server address where the web viewer will connect. By default, it is set to "127.0.0.1:8188", which is a local server address. This parameter is crucial for establishing the connection between your local environment and the web viewer, enabling the display of your content.
The ssl
parameter is a boolean that indicates whether to use SSL (Secure Sockets Layer) for a secure connection. The default value is False
, meaning that the connection is not encrypted by default. Enabling SSL is important if you require a secure connection to protect your data during transmission.
The filename
parameter allows you to specify the name of the image file to be viewed. The default value is "web_viewer_image.jpeg". This parameter is essential for identifying the specific image file you wish to display in the web viewer.
The path
parameter defines the directory path where the image file is located. By default, it is set to "web_viewer". This parameter helps the node locate the image file within your file system, ensuring that the correct file is accessed for viewing.
The window_width
parameter sets the width of the web viewer window in pixels. The default value is 1280, with a minimum of 100 and a maximum of 10240. This parameter allows you to customize the size of the viewing window to suit your display preferences.
The window_height
parameter sets the height of the web viewer window in pixels. The default value is 960, with a minimum of 100 and a maximum of 10240. Similar to window_width
, this parameter lets you adjust the window size for optimal viewing.
The show_url
parameter is a boolean that determines whether to display the URL in the web viewer. The default value is False
. This parameter is useful if you want to provide visibility of the URL being accessed, which can be helpful for debugging or informational purposes.
The url
parameter specifies the web address to be opened in the browser. The default value is "https://vrch.ai/viewer". This parameter is critical for directing the web viewer to the correct online location where your content will be displayed.
The VrchImageWebViewerNode
does not produce any output parameters. Its primary function is to open a web viewer in a browser, and it does not return any data or values upon execution.
server
parameter is correctly set to match your local or remote server configuration to avoid connection issues.window_width
and window_height
parameters to fit your screen resolution for the best viewing experience.server
parameter is correctly configured with the correct IP address and port.filename
and path
parameters are correctly set to the location of the image file you wish to view.ssl
parameter is set correctly based on whether your server requires SSL. If SSL is enabled, verify that the server supports SSL connections.© Copyright 2024 RunComfy. All Rights Reserved.