Install this extension via the ComfyUI Manager by searching
for ComfyUI-RAVE
1. Click the Manager button in the main menu
2. Select Custom Nodes Manager button
3. Enter ComfyUI-RAVE in the search bar
After installation, click the Restart button to
restart ComfyUI. Then, manually
refresh your browser to clear the cache and access
the updated list of nodes.
Visit
ComfyUI Online
for ready-to-use ComfyUI environment
ComfyUI-RAVE is an unofficial implementation of RAVE within the ComfyUI framework, designed to integrate RAVE's video processing capabilities into ComfyUI, enhancing its functionality for video-related tasks.
ComfyUI-RAVE Introduction
ComfyUI-RAVE is an unofficial implementation of the RAVE (Recurrent Autoencoder for Video Enhancement) model within the ComfyUI framework. This extension is designed to enhance video quality by leveraging advanced noise inversion techniques. It is particularly useful for AI artists who work with video content and are looking to improve the visual quality of their projects. By integrating RAVE into ComfyUI, the author provides a powerful tool that can help you achieve smoother, more detailed video outputs with less visible noise and artifacts.
How ComfyUI-RAVE Works
At its core, ComfyUI-RAVE uses a process called noise inversion to enhance video quality. Noise inversion involves taking a noisy video and processing it to reduce or eliminate the noise, resulting in a cleaner and more visually appealing output. This is achieved through a series of steps that involve generating noise, duplicating and mixing latent images, and injecting noise back into the video in a controlled manner.
Think of it like cleaning a dirty window: you start by identifying the dirt (noise), then carefully remove it without damaging the glass (video content), and finally, you polish the window to make it clear and shiny. ComfyUI-RAVE automates this process, making it easier for you to enhance your videos without needing to understand the complex underlying algorithms.
ComfyUI-RAVE Features
ComfyUI-RAVE comes with several features that allow you to customize and control the video enhancement process:
Noisy Latent Image: This feature generates noise that can be used to simulate different levels of video quality. You can adjust settings like the noise source (GPU or CPU), seed, image width, height, and batch size to fine-tune the noise generation.
Duplicate Batch Index: This feature allows you to duplicate a specific sample in a batch, which can be useful for creating multiple variations of a video frame. You can specify the latents, batch index, and new batch size to control the duplication process.
Slerp Latents: This feature lets you mix two sets of latent images together. By adjusting the mix factor, you can control how much of each set is combined, allowing for creative blending of video frames.
Get Sigma: This feature calculates the amount of noise a sampler expects when it starts denoising. You can adjust settings like the model, sampler name, scheduler, steps, start step, and end step to control the noise calculation.
Inject Noise: This feature allows you to inject noise into an image latent, which can be useful for adding controlled amounts of noise to a video frame. You can adjust settings like the latents, noise, mask, and strength to control the noise injection.
Unsampler: This feature reverses the sampling process, calculating the noise that would generate a given image based on the model and prompt. You can adjust settings like the model, steps, end step, cfg, sampler name, scheduler, normalize, positive prompt, negative prompt, and latent image to control the unsampling process.
ComfyUI-RAVE Models
ComfyUI-RAVE primarily uses the RAVE model for video enhancement. The RAVE model is designed to handle various levels of noise and can be fine-tuned to work with different video resolutions and quality levels. While most testing has been done with the SD1.5 model, the SDXL model is also supported, although it may not perform as well due to multi-resolution training reducing the tiling effect.
What's New with ComfyUI-RAVE
The latest updates to ComfyUI-RAVE include:
Improved Noise Inversion: Enhanced algorithms for more accurate noise reduction.
Support for SDXL: Added compatibility with the SDXL model, although performance may vary.
Basic Workflow Example: Included a basic workflow using the cupcake train example from the RAVE paper to help you get started quickly.
These updates are designed to improve your experience with ComfyUI-RAVE, making it easier to achieve high-quality video enhancements.
Troubleshooting ComfyUI-RAVE
Here are some common issues you might encounter while using ComfyUI-RAVE and how to solve them:
Video Output is Still Noisy:
Ensure you are using the correct noise settings and model.
Try adjusting the noise strength and mix factors in the Slerp Latents and Inject Noise features.
Performance Issues with SDXL:
SDXL may not perform as well due to multi-resolution training. Consider using SD1.5 for better results.
Unexpected Artifacts in Video:
Check the settings in the Unsampler and ensure they match the intended output.
Experiment with different cfg values and steps to find the optimal settings.
Learn More about ComfyUI-RAVE
To learn more about ComfyUI-RAVE and get additional support, you can explore the following resources:
ComfyUI GitHub Repository
These resources provide tutorials, documentation, and community forums where you can ask questions and get support from other AI artists and developers.