Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > Krea 2 Identity Edit > Krea2 Edit (source patch)

ComfyUI Node: Krea2 Edit (source patch)

Class Name

Krea2EditModelPatch

Category
krea2edit
Author
conradlocke (Account age: 120days)
Extension
Krea 2 Identity Edit
Latest Updated
2026-07-21
Github Stars
0.28K

How to Install Krea 2 Identity Edit

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

Krea2 Edit (source patch) Description

Enhances Krea2 model by preserving source image appearance during edits using VAE-encoded tokens and unique frame index.

Krea2 Edit (source patch):

Krea2EditModelPatch is a specialized node designed to enhance the Krea2 model by integrating an in-context source-preservation path. This node is particularly beneficial for AI artists who wish to maintain the original appearance of a source image while applying edits. It achieves this by utilizing the VAE-encoded source latent as a frame of clean tokens, which are then distinguished from the target tokens using a unique 3-axis RoPE frame index. This method allows for precise control over the editing process, ensuring that the source image's characteristics are preserved while the target image is generated. By wrapping the model's DIFFUSION_MODEL forward, Krea2EditModelPatch reconstructs the sequence to include both the source and target frames, mirroring the ai-toolkit's predict_velocity_edit functionality. This approach provides a seamless integration of source and target elements, making it an essential tool for artists looking to create complex, layered compositions.

Krea2 Edit (source patch) Input Parameters:

model

The model parameter refers to the Krea2 model that will be patched. It is crucial as it serves as the base model to which the source-preservation path is added. This parameter does not have specific minimum, maximum, or default values, as it depends on the user's selection of the Krea2 model they wish to enhance.

source_latent

The source_latent parameter is the VAE-encoded representation of the source image. It plays a vital role in preserving the original appearance of the source image during the editing process. This parameter ensures that the source image's characteristics are maintained while the target image is generated. Like the model parameter, it does not have predefined values and is determined by the user's input.

Krea2 Edit (source patch) Output Parameters:

patched_model

The patched_model is the output of the Krea2EditModelPatch node. It represents the enhanced Krea2 model with the integrated source-preservation path. This output is crucial for artists as it allows them to generate images that maintain the original source's appearance while incorporating new elements. The patched_model provides a seamless blend of source and target features, enabling the creation of complex and visually appealing compositions.

Krea2 Edit (source patch) Usage Tips:

  • Ensure that the source image is accurately encoded using the VAE to maintain its characteristics during the editing process.
  • Experiment with different Krea2 models to find the one that best suits your artistic vision and desired output.

Krea2 Edit (source patch) Common Errors and Solutions:

"The connected model patch is not a Uni3C ControlNet."

  • Explanation: This error occurs when the model patch connected is not compatible with the expected Uni3C ControlNet.
  • Solution: Verify that the correct model patch is being used and ensure it is compatible with the Krea2EditModelPatch node.

"This Uni3C ControlNet expects a Wan model with dim {}, the loaded model has dim {}."

  • Explanation: This error indicates a mismatch between the expected dimensions of the Uni3C ControlNet and the loaded model.
  • Solution: Check the dimensions of the loaded model and ensure they match the expected dimensions for the Uni3C ControlNet. Adjust the model or select a compatible one if necessary.

Krea2 Edit (source patch) Related Nodes

Go back to the extension to check out more related nodes.
Krea 2 Identity Edit
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.

Krea2 Edit (source patch)