The ComfyUI Web Viewer by vrch.ai is a custom node collection offering a real-time AI-generated interactive art framework. This utility integrates realtime streaming into ComfyUI workflows, supporting keyboard control nodes, OSC control nodes, sound input nodes, and more. Accessible from any device with a web browser, it enables real time interaction with AI-generated content, making it ideal for interactive visual projects and enhancing ComfyUI workflows with efficient content management and display.
Features:
- Real-time interaction and AI generation
- Keyboard control nodes, OSC control nodes, and sound input nodes
- Web accessibility from any device
intro.mp4
see CHANGELOG
Simply search for ComfyUI Web Viewer
in ComfyUI Manager and install it directly.
- Clone this repo into the
custom_nodes
directory of ComfyUI - Install dependencies:
or if you use the
pip install -r requirements.txt
windows
portable install, run this inComfyUI_windows_portable
folder:python_embeded\python.exe -m pip install -r ComfyUI\custom_nodes\comfyui-web-viewer\requirements.txt
- Restart ComfyUI
- Documentation: Usage of Web Viewer nodes
- Example workflows:
- Documentation: Usage of OSC Control nodes
- TouchOSC Control Panel:
- Example workflows:
- Tutorials:
- Documentation: Usage of Key Control nodes
- Example workflows:
- Documentation: Usage of Audio nodes
- Example workflows:
- Documentation: Usage of Image nodes
- Example workflows: n/a
- Rapid Text to Image (8K)
- Auto Switch to Instant Queue and Run Workflow
- Apple Vision Pro Ultrawide Wallpaper (5K)
For Chrome, you may need to add the ComfyUI server's IP address manually in chrome://flags/#unsafely-treat-insecure-origin-as-secure
to enable access to the content. For other browsers, an http-to-http setup should allow for seamless access without additional configuration.
If you’re encountering a CORS policy error with a message like this:
"origin 'https://vrch.ai' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource"
you can resolve this by launching the ComfyUI service with the --enable-cors-header
flag. For example:
python main.py --enable-cors-header
For additional details, refer to this discussion on GitHub.
ComfyUI Web Viewer
provides a build-in, self-signed certificate (intended for development only, not production use). To launch the ComfyUI service with HTTPS enabled on port 8189, use the following command:
# Start ComfyUI with HTTPS using the built-in certificate and key
python main.py --tls-keyfile ./custom_nodes/comfyui-web-viewer/https/key.pem --tls-certfile ./custom_nodes/comfyui-web-viewer/https/cert.pem --port 8189 --listen
For more details, refer to the ComfyUI official instructions.
This project uses bump2version
for version management. To update the version:
- Ensure you have
bump2version
installed:pip install bump2version
- To update the version, run:
Replace
python update_version.py [major|minor|patch]
[major|minor|patch]
with the part of the version you want to increment. - This will automatically:
- Update the version number in
__init__.py
- Update the CHANGELOG.md file
- Create a new git commit and tag (if you're using git)
- Update the version number in
- After running the script, review and update the CHANGELOG.md file with details about the new version's changes.
- Note: make sure you've put changes in
Unreleased
section manually
- Note: make sure you've put changes in
Created and maintained by the vrch.io team.
Contributions are welcome! Please feel free to submit a Pull Request.
For any inquiries, you can contact us at [email protected].