ComfyUI > Nodes > ComfyUI > Empty HiDream-O1 Latent Image

ComfyUI Node: Empty HiDream-O1 Latent Image

Class Name

EmptyHiDreamO1LatentImage

Category
latent/image
Author
ComfyAnonymous (Account age: 763days)
Extension
ComfyUI
Latest Updated
2026-05-13
Github Stars
112.77K

How to Install ComfyUI

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

Empty HiDream-O1 Latent Image Description

Generate empty latent image for HiDream-O1-Image model initialization in pixel-space.

Empty HiDream-O1 Latent Image:

The EmptyHiDreamO1LatentImage node is designed to generate an empty latent image in pixel-space specifically for the HiDream-O1-Image model. This node is particularly useful for initializing a latent space that can be further processed or manipulated by other nodes in a computational graph. The HiDream-O1-Image model is optimized for high-resolution images, trained at approximately 4 megapixels, which means it performs best with specific resolutions. The node's primary function is to create a blank canvas in the latent space, which can then be used as a starting point for generating or transforming images. This is especially beneficial when working with models that require a specific latent input format, ensuring that the generated images maintain high quality and fidelity to the model's training data.

Empty HiDream-O1 Latent Image Input Parameters:

width

The width parameter specifies the width of the latent image in pixels. It determines the horizontal dimension of the generated latent space. The width can range from a minimum of 64 pixels to a maximum of 4096 pixels, with a default value set at 2048 pixels. Adjusting the width affects the aspect ratio and resolution of the latent image, which can influence the quality and detail of the final output when processed by the HiDream-O1-Image model.

height

The height parameter defines the height of the latent image in pixels, setting the vertical dimension of the latent space. Similar to the width, the height can be adjusted between 64 and 4096 pixels, with a default of 2048 pixels. The height, in conjunction with the width, determines the overall resolution and aspect ratio of the latent image, impacting the model's ability to generate high-quality images.

batch_size

The batch_size parameter indicates the number of latent images to generate in a single batch. This parameter allows for the creation of multiple latent images simultaneously, which can be useful for batch processing or parallel computations. The batch size can range from 1 to 64, with a default value of 1. Increasing the batch size can improve processing efficiency but may require more computational resources.

Empty HiDream-O1 Latent Image Output Parameters:

samples

The samples output parameter provides the generated latent images as a tensor. This tensor represents the empty latent space created by the node, which can be used as input for further processing or transformation by other nodes in the computational graph. The latent images are initialized to zero, serving as a blank canvas for subsequent operations. This output is crucial for workflows that involve image generation or manipulation using the HiDream-O1-Image model.

Empty HiDream-O1 Latent Image Usage Tips:

  • Ensure that the width and height parameters are set to one of the trained resolutions (e.g., 2048x2048, 2304x1728) to maintain image quality and avoid off-distribution artifacts.
  • Use a batch_size greater than 1 if you need to process multiple images simultaneously, but be mindful of the increased computational load.

Empty HiDream-O1 Latent Image Common Errors and Solutions:

InvalidResolutionError

  • Explanation: This error occurs when the specified width and height do not match any of the trained resolutions, leading to potential quality degradation.
  • Solution: Adjust the width and height to one of the supported resolutions, such as 2048x2048 or 2560x1440, to ensure optimal performance.

OutOfMemoryError

  • Explanation: This error may arise if the batch_size is set too high, exceeding the available memory resources.
  • Solution: Reduce the batch_size or consider using a machine with more memory to accommodate larger batch processing.

Empty HiDream-O1 Latent Image Related Nodes

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

Empty HiDream-O1 Latent Image