ComfyUI > Nodes > ComfyUI > USOStyleReference

ComfyUI Node: USOStyleReference

Class Name

USOStyleReference

Category
advanced/model_patches/flux
Author
ComfyAnonymous (Account age: 763days)
Extension
ComfyUI
Latest Updated
2026-05-13
Github Stars
112.77K

How to Install ComfyUI

Install this extension via the ComfyUI Manager by searching for ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI 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

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

USOStyleReference Description

Enhance AI models with style patches for creative transformations.

USOStyleReference:

The USOStyleReference node is designed to enhance the capabilities of AI models by applying a style patch to a given model. This node is particularly useful for AI artists who want to experiment with different styles and effects in their models. By leveraging the apply_patch method, the node integrates a style reference into the model, allowing for more dynamic and varied outputs. This process involves encoding image data and applying it as a patch to the model, which can result in unique and creative transformations. The node is categorized under advanced model patches, indicating its experimental nature and potential for innovative applications in AI art.

USOStyleReference Input Parameters:

model

The model parameter represents the AI model that you wish to apply the style patch to. This is a required input and serves as the base model that will be modified. The model should be compatible with the patching process to ensure successful application of the style reference.

model_patch

The model_patch parameter is a crucial component that contains the style information to be applied to the model. This patch is used to modify the model's behavior or appearance, allowing for the integration of new styles or effects. It is essential that the patch is designed to work with the specified model to achieve the desired results.

clip_vision_output

The clip_vision_output parameter provides the encoded image data necessary for the patching process. This data is extracted from the CLIP model's vision output and is used to inform the style transformation. The parameter includes specific hidden states and penultimate hidden states that are crucial for accurately applying the style reference to the model.

USOStyleReference Output Parameters:

model

The output model is the modified version of the input model, now enhanced with the applied style patch. This output model reflects the changes made by integrating the style reference, resulting in potentially new and creative outputs. The patched model can be used for further artistic exploration or production tasks, offering a fresh perspective on the original model's capabilities.

USOStyleReference Usage Tips:

  • Ensure that the model and model_patch are compatible to avoid errors during the patching process. Compatibility is key to achieving the desired style transformation.
  • Experiment with different clip_vision_output configurations to explore a variety of style effects. Adjusting the hidden states used in the patching process can lead to unique and unexpected results.

USOStyleReference Common Errors and Solutions:

Incompatible Model and Patch

  • Explanation: The model and model_patch are not compatible, leading to errors during the patching process.
  • Solution: Verify that the model and patch are designed to work together. Consult documentation or support resources for compatibility guidelines.

Invalid CLIP Vision Output

  • Explanation: The clip_vision_output does not contain the necessary hidden states for the patching process.
  • Solution: Ensure that the clip_vision_output is correctly extracted from a compatible CLIP model and includes the required hidden states.

USOStyleReference Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

USOStyleReference