hidream-o1 / HiDream-O1-Image / createImage:
The CivitaiImageGenComfyHidreamO1HiDreamO1ImageCreateImage node is designed to facilitate the creation of high-quality images using the HiDream-O1 model within the Civitai framework. This node leverages advanced AI capabilities to generate images based on user-defined parameters, offering a versatile tool for AI artists to explore creative possibilities. By adjusting various input settings, you can control the output's style, resolution, and other characteristics, making it a powerful asset for generating unique and personalized artwork. The node's integration with Civitai ensures seamless access to model configurations and authentication, enhancing the user experience by providing a robust and flexible image generation process.
hidream-o1 / HiDream-O1-Image / createImage Input Parameters:
output_format
The output_format parameter allows you to specify the desired format for the generated image. Options include jpeg, png, and webP, with the default being an empty string, which typically defaults to a standard format like png. Choosing the right format can affect the image's quality and file size, with png offering lossless compression and jpeg providing smaller file sizes with some quality loss.
image_metadata
The image_metadata parameter is a string that lets you attach external metadata to the image. This metadata is stored with the image and can include information such as the creation date, author, or any other relevant details you wish to embed. By default, this is an empty string.
negative_prompt
The negative_prompt parameter is a string input that allows you to specify elements or styles you want to avoid in the generated image. This can help refine the output by steering the AI away from certain features or aesthetics. It supports multiline input for detailed descriptions.
width
The width parameter defines the width of the generated image in pixels. It ranges from 64 to 2048 pixels, with a default value of 2048. Adjusting the width can impact the image's detail and file size, with larger values providing more detail at the cost of increased processing time and file size.
height
The height parameter sets the height of the generated image in pixels, with a range from 64 to 2048 and a default of 2048. Similar to the width, changing the height affects the image's resolution and file size, allowing for more detailed images at higher values.
steps
The steps parameter controls the number of iterations the AI model uses to generate the image. It ranges from 1 to 150, with a default of 40. More steps can lead to higher quality images but will increase the processing time.
cfg_scale
The cfg_scale parameter is a float that influences the adherence of the generated image to the input prompt. It ranges from 0.0 to 30.0, with a default of 5.0. Higher values make the image more closely follow the prompt, while lower values allow for more creative freedom.
seed
The seed parameter is an integer that determines the randomness of the image generation process. It ranges from 0 to 4294967295, with a default of 0. Using the same seed with identical settings will produce the same image, allowing for reproducibility.
quantity
The quantity parameter specifies the number of images to generate in one execution. It ranges from 1 to 4, with a default of 1. This allows you to create multiple variations of an image with a single set of parameters.
checkpoint_model
The checkpoint_model parameter allows you to select a specific model checkpoint from Civitai's available models. This selection can significantly impact the style and quality of the generated image, as different models have unique characteristics.
loras
The loras parameter lets you apply specific LoRA (Low-Rank Adaptation) models to the image generation process. These models can modify the output's style or introduce new features, providing additional customization options.
api_config
The api_config parameter is used to configure the Civitai API authentication. It defaults to using the CIVITAI_API_TOKEN or a stored OAuth login, ensuring secure access to Civitai's resources and models.
hidream-o1 / HiDream-O1-Image / createImage Output Parameters:
images
The images output parameter provides the generated images based on the input parameters. Each image reflects the specified settings, such as resolution, style, and format, and is ready for further use or distribution. The output is crucial for evaluating the effectiveness of the input parameters and making any necessary adjustments for future image generation tasks.
hidream-o1 / HiDream-O1-Image / createImage Usage Tips:
- Experiment with different
cfg_scalevalues to find the right balance between creativity and adherence to the prompt. - Use the
seedparameter to reproduce specific images or explore variations by changing the seed value. - Adjust the
stepsparameter to improve image quality, especially for complex or detailed prompts.
hidream-o1 / HiDream-O1-Image / createImage Common Errors and Solutions:
Invalid API Token
- Explanation: This error occurs when the API token used for authentication is invalid or expired.
- Solution: Ensure that your
CIVITAI_API_TOKENis correctly set and has not expired. You may need to generate a new token from your Civitai account.
Image Size Exceeds Limits
- Explanation: The specified width or height exceeds the maximum allowed size.
- Solution: Adjust the
widthandheightparameters to be within the allowed range of 64 to 2048 pixels.
Unsupported Output Format
- Explanation: The chosen output format is not supported by the node.
- Solution: Select a supported format such as
jpeg,png, orwebPfor theoutput_formatparameter.
