Nodes/ComfyUI-DeepGen-API/⚠️ [Deprecated] Edit Image
ComfyUI Node

⚠️ [Deprecated] Edit Image

The deprecated twin of the edit node

By deepiksdev·Created 8 months ago·Updated 6 months ago· 0
⚠️ [Deprecated] Edit Image
  • image_1
  • IMAGE
  • output_prefix_and_model
  • total_credits_used
model
prompt
seed_value1000
nb_results1
output_prefix
config_json
minimum_resolution1K
aspect_ratio1:1
output_formatpng

You'll usually meet DeepGen_I2I as "⚠️ [Deprecated] Edit Image" after loading an old workflow, and the natural reaction is to assume it's about to break. It isn't. This is the previous name for the pack's single-reference image edit node - the exact same Python class that now lives under DeepGen_I2I0, just registered under its legacy key and flagged deprecated for clarity.

The rename, explained

When the pack standardized its node names around version 1.2.1, every current-generation class picked up a 0 or X suffix (DeepGen_I2I0, DeepGen_T2I0, DeepGen_I2IX…). To keep old graphs alive, the old names were kept as thin subclasses: same class, but with CATEGORY = "DeepGen/Deprecated" and ComfyUI's DEPRECATED flag set, which is where the warning triangle and the category move come from. So the difference between DeepGen_I2I and DeepGen_I2I0 is cosmetic - the API call, the inputs, and the outputs are all identical.

What it does

One reference image in (image_1), one instruction (prompt), and a cloud model edits the picture: restyle, re-light, add or remove objects, keep the subject and change everything else. Models in the dropdown are the edit-capable set - Grok Imagine Image and Pro, Hunyuan Image 3.0 Edit, Wan 2.6, FLUX.2 [max] Edit, GPT Image 1.5, Seedream 5.0 Fast Lite, and the Nano Banana pair. Your reference tensor is converted to a base64 PNG and attached to the request, the model works its magic server-side, and the result comes back as an IMAGE tensor plus the usual output_prefix_and_model string and total_credits_used float. Full details live in the DeepGen_I2I0 article.

Install

Same pack, same steps, no special handling for the deprecated name:

cd ComfyUI/custom_nodes
git clone https://github.com/deepiksdev/ComfyUI-DeepGen-API.git
cd ComfyUI-DeepGen-API
pip install -r requirements.txt

Restart ComfyUI and put your DeepGen API key (from deepgen.app) into Settings → "DeepGen API Key" - it's stored at ComfyUI/user/deepgen/config.json. No weights, no VRAM, no model downloads.

What to do with it

New graphs should use DeepGen_I2I0 - it's the same node under the current name, and there's no reason to keep picking the deprecated spelling. Old graphs that already reference DeepGen_I2I will keep executing without any edits; if you'd rather clean them up, swap the node for DeepGen_I2I0 and reconnect, since the sockets are identical. But if a legacy workflow is working, the pragmatic move is to leave it alone. "Deprecated" in this pack means "renamed for consistency," not "removed" - and the alias exists precisely so your old files don't die the moment you update.

CategoryDeepGen/Deprecated

Inputs (10)

NameTypeDefaultDescription
modelCOMBO9 options: Grok Imagine Image Pro (grok-imagine-image-pro), Hunyuan Image 3.0 Edit (hunyuan-image-v3-edit), Grok Imagine Image (grok-imagine-image), Wan 2.6 (wan-2.6), FLUX.2 [max] Edit (flux-2_max), GPT Image 1.5 (gpt-image-1.5), +3
promptSTRING
seed_valueINT1000
nb_resultsINT11–10
output_prefixSTRING
config_jsonSTRING
image_1optIMAGE
minimum_resolutionoptCOMBO1K4 options: 500, 1K, 2K, 4K
aspect_ratiooptCOMBO1:114 options: 1:1, 9:16, 16:9, 3:4, 4:3, 3:2, +8
output_formatoptCOMBOpng3 options: png, jpeg, webp

Outputs (3)

NameTypeDescription
IMAGEIMAGE
output_prefix_and_modelSTRING
total_credits_usedFLOAT