git404hub

what is comfyui-krea2edit fr?

lbouaraba/comfyui-krea2edit — explained in plain English

Analysis updated 2026-05-18

279PythonAudience · vibe coderComplexity · 3/5LicenseSetup · hard

tl;dr

A ComfyUI add-on that lets you edit photos with written instructions while preserving the subject's identity, built for the Krea 2 image model.

vibe map

mindmap
  root((comfyui-krea2edit))
    What it does
      Instruction based editing
      Identity preserving
      Dual image conditioning
    Tech stack
      Python
      ComfyUI
      Krea 2
      Qwen3-VL
    Use cases
      Recolor objects
      Scene swaps
      Object removal
    Audience
      AI art creators
      ComfyUI users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Recolor or restyle an object in a photo using a written instruction.

VIBE 2

Move a person from one photo into a different scene while keeping their identity recognizable.

VIBE 3

Remove an object from a photo using the slower, higher-guidance editing mode.

VIBE 4

Combine two reference images, like a person and a scene, into one edited result.

what's the stack?

PythonComfyUIKrea 2Qwen3-VL

how it stacks up fr

lbouaraba/comfyui-krea2editlynote-ai/humanize-textagentic-in/elephant-agent
Stars279279278
LanguagePythonPythonPython
Setup difficultyhardmoderateeasy
Complexity3/53/52/5
Audiencevibe coderresearchergeneral

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · hard time til it works · 1h+

Requires ComfyUI with Krea 2 support, the Krea 2 model itself, the Qwen3-VL text encoder, and the separate Identity Edit LoRA file.

The node code is Apache 2.0, free to use and modify including commercially, the separate AI model weights have their own license terms.

in plain english

comfyui-krea2edit is a set of custom nodes for ComfyUI, a visual tool for building AI image workflows. It turns an AI image model called Krea 2 into an image editor that follows written instructions, letting you describe a change you want, like recoloring an object or changing a scene, and apply it to an existing photo while keeping the subject's identity and likeness recognizable. The project works by feeding the source image into the model in two ways at once, once as raw visual data and once through a text-understanding component so the model can connect your written instruction to what it actually sees in the picture. This dual approach is what lets it make instruction-based edits, such as "recolor the car to matte black" or moving a person into a different scene, while keeping faces and identities consistent. To use it, you need ComfyUI already set up with support for the Krea 2 model, plus a separate Krea 2 Identity Edit add-on file that this project's nodes were built to work with. The README walks through exact wiring between nodes, and includes practical tips, like using a faster mode for most simple edits, but switching to a slower, more careful mode when you are trying to remove something from a photo rather than just change it. The project explicitly states it was trained only on safe-for-work data, was not trained on any NSFW content, and its creator does not support or endorse using it to create non-consensual, harmful, or sexual images of real people, including deepfakes. The node code itself is released under the Apache 2.0 license, while the separate AI model weights it depends on have their own license terms.

prompts (copy fr)

prompt 1
Walk me through installing comfyui-krea2edit into my ComfyUI custom_nodes folder.
prompt 2
Explain the difference between fit_mode 'fit' and 'crop' in Krea2EditModelPatch.
prompt 3
Show me the minimal node wiring to do a single-image edit with Krea2EditGroundedEncode.
prompt 4
When should I use the Turbo mode versus the Raw model at CFG 3 for an edit?

Frequently asked questions

what is comfyui-krea2edit fr?

A ComfyUI add-on that lets you edit photos with written instructions while preserving the subject's identity, built for the Krea 2 image model.

What language is comfyui-krea2edit written in?

Mainly Python. The stack also includes Python, ComfyUI, Krea 2.

What license does comfyui-krea2edit use?

The node code is Apache 2.0, free to use and modify including commercially, the separate AI model weights have their own license terms.

How hard is comfyui-krea2edit to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is comfyui-krea2edit for?

Mainly vibe coder.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.