MiniMax H3 Image • Resolution Preset:
The H3ImageResolutionPreset node is designed to facilitate the selection of image resolutions in a manner that is both intuitive and aligned with the capabilities of the H3 system. It provides a sophisticated mechanism for determining the optimal resolution for image generation by considering various factors such as aspect ratio, resolution profiles, and source image characteristics. This node is particularly beneficial for users who wish to maintain a balance between image quality and computational efficiency, as it offers options to limit the resolution to H3's native pixel area, thereby optimizing resource usage. By leveraging this node, you can ensure that your images are generated with the desired level of detail and fidelity, while also managing the computational load effectively.
MiniMax H3 Image • Resolution Preset Input Parameters:
aspect_ratio
The aspect_ratio parameter allows you to specify the desired aspect ratio for the image. You can choose from preset ratios or use the "source image" option to automatically adopt the aspect ratio of the connected source image. This parameter is crucial for ensuring that the generated image maintains the intended proportions, which can affect the overall composition and aesthetic of the output.
resolution_profile
The resolution_profile parameter determines the target pixel area for the image generation. It offers various profiles that balance between detail and computational cost. The default profile is "native detail | 0.98 MP," which is optimized for typical use cases. Higher profiles will increase VRAM/RAM usage and decoding cost, but the learned detail may not scale proportionally. This parameter is essential for managing the trade-off between image quality and resource consumption.
source_image
The source_image parameter is an optional input that allows you to provide a source image as a reference for the resolution calculation. When specified, the node can use the source image's characteristics to influence the resolution settings, ensuring that the generated image aligns with the source's visual attributes.
custom_megapixels
The custom_megapixels parameter lets you define a custom target megapixel value for the image resolution. This is useful when you have specific requirements that are not covered by the predefined resolution profiles. The value should be between 0.10 and 64.0 megapixels, with a default of 2.0 megapixels. This parameter provides flexibility in tailoring the resolution to your specific needs.
limit_to_native_area
The limit_to_native_area parameter is a boolean option that, when enabled, restricts the resolution to H3's native pixel area. This helps in managing computational resources by preventing the generation of excessively large images that could strain VRAM and processing power. It is particularly useful for maintaining efficiency in environments with limited resources.
MiniMax H3 Image • Resolution Preset Output Parameters:
width
The width output parameter represents the calculated width of the image based on the selected resolution profile and aspect ratio. It is a crucial dimension that, along with the height, defines the overall size of the generated image.
height
The height output parameter indicates the calculated height of the image. Together with the width, it determines the final dimensions of the image, ensuring that it adheres to the specified aspect ratio and resolution settings.
info
The info output parameter provides a comprehensive summary of the resolution settings, including the dimensions, megapixel count, source characteristics, and any notes regarding the resolution profile or native area limitations. This information is valuable for understanding the context and implications of the chosen resolution settings.
MiniMax H3 Image • Resolution Preset Usage Tips:
- Use the "source image" option for
aspect_ratiowhen you want the generated image to match the proportions of an existing image, ensuring consistency in visual style. - Select a
resolution_profilethat aligns with your project's needs, balancing between detail and computational efficiency. For high-detail requirements, consider higher profiles, but be mindful of resource constraints. - Enable
limit_to_native_areato prevent excessive resource usage, especially when working with high-resolution images or in environments with limited VRAM.
MiniMax H3 Image • Resolution Preset Common Errors and Solutions:
Invalid aspect ratio selection
- Explanation: This error occurs when an unsupported aspect ratio is selected.
- Solution: Ensure that the aspect ratio is either a preset option or "source image" to avoid compatibility issues.
Resolution profile not found
- Explanation: This error indicates that the specified resolution profile does not exist in the predefined list.
- Solution: Verify that the resolution profile is correctly spelled and available in the list of supported profiles.
Source image not provided
- Explanation: This error arises when a source image is required but not supplied.
- Solution: Provide a valid source image if the node's operation depends on it, or adjust the settings to not require a source image.
