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-MiniMax-H3-Studio > H3 Studio • Reference Edit

ComfyUI Node: H3 Studio • Reference Edit

Class Name

H3StudioReferenceEditPrepare

Category
H3 Studio/Runtime
Author
thaakeno (Account age: 725days)
Extension
ComfyUI-MiniMax-H3-Studio
Latest Updated
2026-08-20
Github Stars
0.07K

How to Install ComfyUI-MiniMax-H3-Studio

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

H3 Studio • Reference Edit Description

Node for reference-guided image editing with up to nine ordered reference images, facilitating precise adjustments and enhancements.

H3 Studio • Reference Edit:

H3StudioReferenceEditPrepare is a sophisticated node designed for reference-guided image editing, leveraging the REF2VA method. This node allows you to prepare images for editing by utilizing up to nine ordered reference images, providing a structured approach to image manipulation. The primary goal of this node is to facilitate the integration of multiple reference images into a cohesive editing process, ensuring that the final output maintains a high level of fidelity to the source material. By using this node, you can achieve precise control over the editing process, allowing for detailed adjustments and enhancements based on the provided references. This capability is particularly beneficial for AI artists looking to create complex compositions or enhance images with specific stylistic elements derived from multiple sources.

H3 Studio • Reference Edit Input Parameters:

clip

The clip parameter refers to the CLIP model used for processing the image. It plays a crucial role in understanding and interpreting the visual content of the image, which is essential for generating accurate and contextually relevant edits. This parameter does not have specific minimum or maximum values, as it is typically a model object.

vae

The vae parameter stands for Variational Autoencoder, which is used to encode and decode images during the editing process. It helps in maintaining the quality and details of the image while applying the edits. Like clip, this parameter is a model object and does not have specific value constraints.

mode

The mode parameter specifies the operation mode of the node, which in this case is "reference_edit (REF2VA)". This mode determines the method used for editing the image, focusing on reference-guided adjustments.

prompt

The prompt parameter is a textual instruction that guides the editing process. It provides context and direction for the changes to be applied to the image, allowing for targeted and meaningful edits.

width

The width parameter defines the width of the output image. It is crucial for setting the dimensions of the final edited image, ensuring it meets the desired specifications. The minimum and maximum values depend on the capabilities of the system and the requirements of the project.

height

Similar to width, the height parameter sets the height of the output image. It ensures that the image dimensions are correctly configured for the intended use.

frame_preset

The frame_preset parameter determines the quality profile of the image, affecting the overall appearance and detail level of the final output. It allows you to choose from predefined quality settings to optimize the image for specific purposes.

optimize_prompt

The optimize_prompt parameter is a boolean flag that, when enabled, optimizes the prompt for still images. This can enhance the clarity and effectiveness of the prompt in guiding the editing process.

preserve_strength

The preserve_strength parameter controls the degree to which the original image's features are preserved during editing. It is not a denoise slider but rather adjusts the language used to maintain source fidelity.

source_fit

The source_fit parameter determines how the source image is fitted into the editing process. Options may include "stretch" or other fitting methods, affecting how the image is aligned and scaled.

reference_size

The reference_size parameter specifies the size of the reference images relative to the editing process. It can be set to options like "match_generation_area" to ensure consistency in the reference-guided edits.

source_image

The source_image parameter is the primary image to be edited. It serves as the base for all reference-guided modifications.

reference_image_2 to reference_image_9

These parameters allow you to provide up to eight additional reference images. Each reference image contributes to the editing process, offering stylistic or content cues that influence the final output.

H3 Studio • Reference Edit Output Parameters:

edited_image

The edited_image parameter is the final output of the node, representing the image after all reference-guided edits have been applied. It reflects the combined influence of the source image and the reference images, resulting in a cohesive and enhanced visual.

H3 Studio • Reference Edit Usage Tips:

  • Ensure that the reference images are relevant and complementary to the source image to achieve the best results.
  • Experiment with different frame_preset settings to find the optimal quality profile for your specific project needs.
  • Use the optimize_prompt feature when working with still images to enhance the effectiveness of the prompt.

H3 Studio • Reference Edit Common Errors and Solutions:

"Invalid model object for clip or vae"

  • Explanation: This error occurs when the provided clip or vae model objects are not correctly initialized or compatible with the node.
  • Solution: Verify that the models are correctly loaded and compatible with the node's requirements.

"Reference images exceed maximum allowed"

  • Explanation: This error indicates that more than nine reference images have been provided, exceeding the node's capacity.
  • Solution: Limit the number of reference images to nine or fewer to comply with the node's constraints.

"Mismatch in image dimensions"

  • Explanation: This error arises when the dimensions of the source image and reference images are incompatible.
  • Solution: Ensure that all images have compatible dimensions or adjust the source_fit parameter to accommodate differences.

H3 Studio • Reference Edit Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-MiniMax-H3-Studio
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.

H3 Studio • Reference Edit