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 > ComfyUI-MOSS-Image-Ostris-Edit > MOSS-Image Ostris Edit Model Patch

ComfyUI Node: MOSS-Image Ostris Edit Model Patch

Class Name

MOSSImageOstrisEditModelPatch

Category
ostris/moss_image
Author
ostris (Account age: 3252days)
Extension
ComfyUI-MOSS-Image-Ostris-Edit
Latest Updated
2026-10-22
Github Stars
0.05K

How to Install ComfyUI-MOSS-Image-Ostris-Edit

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

MOSS-Image Ostris Edit Model Patch Description

Enhances MOSS-Image models with reference latents for consistent, high-quality image edits using caching mechanism.

MOSS-Image Ostris Edit Model Patch:

The MOSSImageOstrisEditModelPatch node is designed to enhance the capabilities of MOSS-Image models by enabling reference latents through a method known as index_timestep_zero. This approach is particularly beneficial for AI artists looking to apply consistent and high-quality edits to images using MOSS-Image models. The node leverages a caching mechanism for reference tokens' attention keys and values, which are precomputed in a single pass and reused during each denoising step. This caching feature is aligned with the training methodology of MOSS-Image edit models, ensuring efficient processing and high fidelity in image editing tasks. By integrating with the TextEncodeMOSSImageOstrisEdit node, it allows for seamless conditioning and application of reference latents, making it a powerful tool for artists aiming to achieve precise and controlled image modifications.

MOSS-Image Ostris Edit Model Patch Input Parameters:

model

The model parameter is a required input that specifies the MOSS-Image model to be patched. This parameter is crucial as it determines the base model that will be enhanced with reference latents capabilities. The model serves as the foundation upon which the node applies its patching logic, enabling the use of reference latents for improved image editing.

kv_cache

The kv_cache parameter is a required boolean input that controls whether the reference tokens' attention keys and values are cached. By default, this parameter is set to True, which means that the caching mechanism is enabled. This caching is beneficial as it allows for the precomputation of reference tokens in a single pass, which are then reused in every denoising step. This results in more efficient processing and ensures that the reference tokens do not interfere with the per-step sequence. If you are using a LoRA trained with the kv_cache disabled, you should set this parameter to False.

MOSS-Image Ostris Edit Model Patch Output Parameters:

model

The model output is the patched MOSS-Image model that now includes the capability to utilize reference latents. This enhanced model allows for more sophisticated image editing by incorporating reference information into the editing process. The output model retains all the original functionalities of the input model while adding the ability to handle reference latents, making it a versatile tool for AI artists seeking to apply detailed and controlled edits to their images.

MOSS-Image Ostris Edit Model Patch Usage Tips:

  • To maximize the efficiency of the node, ensure that the kv_cache parameter is enabled if your model was trained with this feature. This will allow for faster processing by reusing precomputed reference tokens.
  • When working with models that do not support kv_cache, remember to disable this feature to avoid potential inconsistencies in the editing process.

MOSS-Image Ostris Edit Model Patch Common Errors and Solutions:

Error: "Reference latents not found"

  • Explanation: This error occurs when the node is unable to locate the reference latents required for processing.
  • Solution: Ensure that the reference latents are correctly specified and available in the input data. Verify that the TextEncodeMOSSImageOstrisEdit node is properly configured to provide the necessary reference latents.

Error: "Invalid model input"

  • Explanation: This error indicates that the provided model does not meet the requirements for patching.
  • Solution: Check that the input model is a compatible MOSS-Image model. Ensure that the model is correctly loaded and that it supports the patching process described by the node.

MOSS-Image Ostris Edit Model Patch Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-MOSS-Image-Ostris-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.

MOSS-Image Ostris Edit Model Patch