⚠️ [Deprecated] Edit Image
The deprecated twin of the edit node
- image_1
- IMAGE
- output_prefix_and_model
- total_credits_used
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.
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| model | COMBO | 9 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 | |
| prompt | STRING | — | |
| seed_value | INT | 1000 | — |
| nb_results | INT | 11–10 | — |
| output_prefix | STRING | — | |
| config_json | STRING | — | |
| image_1opt | IMAGE | — | |
| minimum_resolutionopt | COMBO | 1K | 4 options: 500, 1K, 2K, 4K |
| aspect_ratioopt | COMBO | 1:1 | 14 options: 1:1, 9:16, 16:9, 3:4, 4:3, 3:2, +8 |
| output_formatopt | COMBO | png | 3 options: png, jpeg, webp |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |
| output_prefix_and_model | STRING | — |
| total_credits_used | FLOAT | — |