Visit ComfyUI Online for ready-to-use ComfyUI environment
Efficiently generates multiple images using a diffusion model in a streaming manner for AI artists.
The StreamDiffusionSampler
node is designed to facilitate the generation of images using a diffusion model in a streaming manner. This node is particularly useful for AI artists who want to create multiple images based on a given prompt without having to reinitialize the model for each image. By leveraging the capabilities of the StreamDiffusion model, this node allows for efficient and rapid image generation, making it an essential tool for those looking to produce high-quality images in a streamlined workflow. The primary goal of this node is to update the model's prompt and generate a specified number of images, ensuring that the process is both efficient and user-friendly.
This parameter expects a WARMUP_STREAM
type input, which is essentially a pre-warmed StreamDiffusion model. The warmup stream ensures that the model is ready to generate images quickly, reducing the initialization time and improving overall efficiency.
This parameter is a STRING
type and allows for multiline input. It represents the positive prompt or text description that guides the image generation process. The prompt should be descriptive enough to convey the desired characteristics of the generated images. There is no strict limit on the length of the prompt, but it should be concise and clear to achieve the best results.
This parameter is an INT
type with a default value of 1, a minimum value of 1, and a maximum value of 10000. It specifies the number of images to be generated based on the provided positive prompt. Adjusting this value allows you to control the batch size of the generated images, making it flexible for different project needs.
The output of this node is of the IMAGE
type. It returns a tensor containing the generated images. Each image is processed and converted to a format suitable for further use or display. The output tensor can be used directly in subsequent nodes or saved for later use, providing a seamless integration into your image generation workflow.
warmup_stream
is properly initialized and warmed up before using it in this node to achieve faster image generation.num
parameter based on your project requirements to generate the appropriate number of images in a single batch.warmup_stream
input is not properly initialized or is of an incorrect type.warmup_stream
is correctly initialized and warmed up using the appropriate node before passing it to the StreamDiffusionSampler
.num
parameter is set to a value outside the allowed range (1 to 10000).num
parameter to a value within the allowed range to ensure proper image generation.© Copyright 2024 RunComfy. All Rights Reserved.