MiniMax H3 Image • Advanced Combined Prepare:
H3ImagePrepare is a versatile node designed to facilitate the preparation of images for various AI-driven artistic processes. It serves as a bridge between different modes of image generation, such as text-to-image and image-to-image transformations, by setting up the necessary conditions and parameters for these tasks. The node is capable of handling multiple reference images and optimizing prompts for still image generation, making it a powerful tool for artists looking to refine their creative outputs. By leveraging advanced settings like quality profiles and source fidelity, H3ImagePrepare ensures that the resulting images meet the desired artistic standards while maintaining flexibility in terms of input sources and output configurations.
MiniMax H3 Image • Advanced Combined Prepare Input Parameters:
clip
The clip parameter is used to provide the CLIP model, which is essential for understanding and processing the input prompts. It plays a crucial role in aligning the generated images with the textual descriptions provided by the user.
vae
The vae parameter refers to the Variational Autoencoder model, which is used for encoding and decoding images. Although not always required at the preparation stage, it becomes essential for downstream processes that involve image decoding.
source_image
The source_image parameter is a tensor representing the initial image that serves as the basis for image-to-image transformations. It is crucial for tasks where the original image needs to be modified or enhanced based on the provided instructions.
edit_instruction
The edit_instruction parameter is a string containing the textual prompt or instructions for editing the image. This parameter guides the transformation process, ensuring that the output aligns with the user's creative vision.
width
The width parameter specifies the desired width of the output image. It is important for defining the resolution and aspect ratio of the generated image, impacting the overall quality and detail.
height
The height parameter determines the desired height of the output image. Like the width, it affects the resolution and aspect ratio, playing a significant role in the final appearance of the image.
quality_profile
The quality_profile parameter is a string that defines the quality settings for the image generation process. It influences the level of detail and fidelity in the output, allowing users to balance between performance and quality.
source_fidelity
The source_fidelity parameter is a float that controls how closely the output should resemble the source image. A higher value ensures greater preservation of the original image's features, while a lower value allows for more creative alterations.
source_fit
The source_fit parameter is a string that determines how the source image should be adjusted to fit the desired output dimensions. Options like "crop_center" help maintain the composition while resizing.
optimize_for_still
The optimize_for_still parameter is a boolean that indicates whether the prompt should be optimized for generating still images. This setting is useful for artists focusing on single-frame outputs rather than animations.
MiniMax H3 Image • Advanced Combined Prepare Output Parameters:
positive
The positive output provides the FL2VA text-to-image conditioning, which is used as the positive input for the sampler. It ensures that the generated image aligns with the intended artistic direction.
h3_latent
The h3_latent output contains the packed H3 audio/video latent, which includes the requested temporal image packet. This latent representation is crucial for further processing and refinement of the generated image.
requested_frames
The requested_frames output indicates the number of image frames that should be preserved and decoded by the Exact Frame Decode process. It helps manage the temporal aspects of the image generation.
image_prompt
The image_prompt output is the final still-image prompt after any optional optimization. It serves as a refined version of the original prompt, tailored for the specific image generation task.
run_info
The run_info output provides details about the temporal packet, canvas, checkpoint expectations, and recommended output strategy. This information is valuable for understanding the context and configuration of the image generation process.
MiniMax H3 Image • Advanced Combined Prepare Usage Tips:
- To achieve high-quality still images, ensure that the
optimize_for_stillparameter is set to true, which will refine the prompt specifically for single-frame outputs. - When working with multiple reference images, use the
reference_edit (REF2VA)mode to fully utilize the additional reference inputs and enhance the creative possibilities. - Adjust the
source_fidelityparameter based on how much you want the output to resemble the source image; higher values preserve more of the original features.
MiniMax H3 Image • Advanced Combined Prepare Common Errors and Solutions:
"Additional reference_image_2..9 inputs are connected but ignored outside REF2VA mode."
- Explanation: This error occurs when additional reference images are provided, but the node is not in
reference_edit (REF2VA)mode, which is the only mode that utilizes these inputs. - Solution: Switch to
reference_edit (REF2VA)mode if you intend to use multiple reference images, or disconnect the additional references if they are not needed.
"Invalid width or height specified."
- Explanation: This error indicates that the specified dimensions for the output image are not valid, possibly due to being outside the acceptable range or not being multiples of a required value.
- Solution: Ensure that the
widthandheightparameters are set to valid values, typically multiples of a specific number, and within the supported range for your setup.
