Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > civitai-comfy-nodes > gemini / 2.5-flash / editImage

ComfyUI Node: gemini / 2.5-flash / editImage

Class Name

CivitaiImageGenGemini25FlashEditImage

Category
Civitai/Image/gemini
Author
civitai (Account age: 1322days)
Extension
civitai-comfy-nodes
Latest Updated
2026-06-18
Github Stars
0.02K

How to Install civitai-comfy-nodes

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

gemini / 2.5-flash / editImage Description

Enhance and modify images with advanced editing capabilities for AI artists seeking artistic effects and high-quality results.

gemini / 2.5-flash / editImage:

The CivitaiImageGenGemini25FlashEditImage node is designed to enhance and modify existing images using the Gemini 2.5-Flash editing capabilities. This node allows you to input reference images and apply various transformations and enhancements to achieve the desired artistic effect. It is particularly useful for AI artists looking to refine their creations by adjusting specific elements or adding new features to their images. The node leverages advanced image editing techniques to provide high-quality results, making it an essential tool for those seeking to elevate their digital artwork.

gemini / 2.5-flash / editImage Input Parameters:

prompt

The prompt parameter is a string input that guides the editing process by providing textual instructions or descriptions of the desired changes. This parameter is crucial as it directly influences the outcome of the image editing, allowing you to specify the artistic direction or specific elements to be emphasized. The default value is an empty string, and it supports multiline input for detailed descriptions.

images

The images parameter requires you to provide reference images that will be used as the basis for editing. You can input between 1 to 4 images, which serve as the foundation for the modifications. This parameter is essential for contextualizing the edits and ensuring that the final output aligns with your artistic vision.

output_format

The output_format parameter allows you to choose the format of the edited image. Options include jpeg, png, and webP, with the default being an empty string, which typically defaults to a standard format. This parameter affects the quality and compatibility of the output image with various platforms and applications.

image_metadata

The image_metadata parameter is a string input that lets you attach external metadata to the image. This metadata can include information about the editing process, copyright details, or any other relevant data you wish to store with the image. The default value is an empty string.

negative_prompt

The negative_prompt parameter is a string input that specifies elements or features to avoid during the editing process. By providing a negative prompt, you can ensure that certain unwanted aspects are not included in the final image. The default value is an empty string, and it supports multiline input.

guidance_scale

The guidance_scale parameter is a float value that determines the strength of the guidance provided by the prompt. It ranges from 1.0 to 10.0, with a default value of 3.5. A higher value increases the influence of the prompt on the editing process, resulting in more pronounced changes.

seed

The seed parameter is an integer that controls the randomness of the editing process. By setting a specific seed value, you can achieve consistent results across multiple runs. The default value is 0, with a range from 0 to 4294967295.

quantity

The quantity parameter specifies the number of edited images to generate. You can choose between 1 to 10 images, with the default being 1. This parameter allows you to create multiple variations of the edited image in a single execution.

image_size

The image_size parameter is a string input that defines the dimensions of the output image. The default value is square_hd, which typically refers to a high-definition square format. This parameter ensures that the output image meets your size requirements.

enable_prompt_expansion

The enable_prompt_expansion parameter is a boolean that, when enabled, allows the node to expand the prompt with additional context or details. The default value is False. This feature can enhance the richness of the editing process by incorporating more nuanced interpretations of the prompt.

enable_safety_checker

The enable_safety_checker parameter is a boolean that activates a safety mechanism to prevent the generation of inappropriate or harmful content. The default value is False. Enabling this feature ensures that the output adheres to ethical and community standards.

loras

The loras parameter is a specialized input for incorporating additional layers or adjustments into the editing process. This parameter allows for advanced customization and fine-tuning of the image, providing greater control over the final result.

use_pro

The use_pro parameter is a boolean that, when enabled, utilizes professional-grade features or settings for the editing process. The default value is False. This option is ideal for users seeking the highest quality output and advanced editing capabilities.

api_config

The api_config parameter is a configuration setting for connecting to the Civitai API. It allows for authentication and access to additional resources or features. The default configuration uses the CIVITAI_API_TOKEN or stored OAuth login.

gemini / 2.5-flash / editImage Output Parameters:

edited_images

The edited_images parameter provides the final output of the node, which consists of the edited images based on the input parameters and reference images. This output is crucial as it represents the culmination of the editing process, showcasing the transformations and enhancements applied to the original images.

gemini / 2.5-flash / editImage Usage Tips:

  • Experiment with different prompt and negative_prompt combinations to achieve unique artistic effects.
  • Utilize the guidance_scale to control the intensity of the edits, adjusting it based on the complexity of the prompt.
  • Use the seed parameter to replicate successful edits or explore variations by changing the seed value.

gemini / 2.5-flash / editImage Common Errors and Solutions:

Invalid image format

  • Explanation: The provided reference images are not in a supported format.
  • Solution: Ensure that the images are in a compatible format such as JPEG, PNG, or WebP.

Missing prompt

  • Explanation: The prompt parameter is empty, leading to undefined editing instructions.
  • Solution: Provide a detailed prompt to guide the editing process effectively.

API authentication failed

  • Explanation: The node is unable to connect to the Civitai API due to authentication issues.
  • Solution: Verify your API token or OAuth login credentials in the api_config parameter.

gemini / 2.5-flash / editImage Related Nodes

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

gemini / 2.5-flash / editImage