maiImage / editImage:
The CivitaiImageGenFalMaiImageEditImage node is designed to facilitate the editing of images using the Civitai Orchestration platform. This node is part of the maiImage suite, specifically tailored for image editing tasks. It leverages advanced algorithms to modify existing images, allowing you to enhance, transform, or otherwise alter visual content with precision. The node is particularly beneficial for AI artists looking to refine their creations or apply specific stylistic changes without starting from scratch. By integrating seamlessly with Civitai's orchestration capabilities, it provides a robust framework for image manipulation, ensuring high-quality results that align with your artistic vision.
maiImage / editImage Input Parameters:
output_format
The output_format parameter allows you to specify the desired format for the edited image. Options include jpeg, png, and webP, with an empty string as the default, which typically means the format will be determined automatically based on the input or other settings. Choosing the right format can impact the image's quality and file size, with png often preferred for lossless quality and jpeg for smaller file sizes.
image_metadata
The image_metadata parameter is a string input where you can provide external metadata to be stored with the image. This can include information such as the creator's name, creation date, or any other relevant data that you wish to associate with the image. By default, this is an empty string, meaning no additional metadata is added unless specified.
aspect_ratio
The aspect_ratio parameter determines the proportions of the edited image. You can choose from predefined ratios such as 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, and 9:16, with auto as the default setting. The auto option allows the node to maintain the original aspect ratio of the input image, ensuring that the edited image does not appear stretched or compressed.
quantity
The quantity parameter specifies the number of edited images to generate. It accepts integer values ranging from 1 to 4, with a default value of 1. This allows you to create multiple variations of the edited image in a single operation, which can be useful for exploring different stylistic options or batch processing.
api_config
The api_config parameter is used to configure the Civitai Auth connection. It defaults to using the CIVITAI_API_TOKEN or a stored OAuth login if not explicitly set. This configuration is crucial for authenticating your requests and ensuring secure access to Civitai's orchestration services.
maiImage / editImage Output Parameters:
edited_image
The edited_image output parameter provides the final result of the image editing process. This output is the modified version of the input image, reflecting all the changes and enhancements applied through the node's settings. The quality and characteristics of the edited_image depend on the input parameters and the specific transformations executed by the node.
maiImage / editImage Usage Tips:
- Experiment with different
aspect_ratiosettings to see how they affect the composition and visual appeal of your edited images. - Utilize the
quantityparameter to generate multiple versions of an edited image, allowing you to compare and select the best outcome for your project.
maiImage / editImage Common Errors and Solutions:
Invalid API Token
- Explanation: This error occurs when the API token provided in the
api_configis invalid or expired. - Solution: Ensure that your
CIVITAI_API_TOKENis correct and up-to-date. You may need to regenerate the token from your Civitai account settings.
Unsupported Output Format
- Explanation: This error is triggered when an unsupported format is selected in the
output_formatparameter. - Solution: Verify that the
output_formatis set to one of the supported options:jpeg,png, orwebP. Adjust the setting accordingly.
Exceeded Quantity Limit
- Explanation: This error occurs when the
quantityparameter is set to a value outside the allowed range. - Solution: Ensure that the
quantityis set between 1 and 4. Adjust the value to fall within this range.
