Krea2 Identity Edit logo

Krea2 Identity Edit

Community
artokun
krea2-identity-edit

Swap an OUTFIT or transfer CLOTHING onto a person LOCALLY, keeping their face, pose and background. Use for "put this jacket on her", "change his shirt", "clothes swap", "try on", "outfit transfer", "virtual try-on", "dress her in", "wear this outfit". Prefer this over API/cloud edit nodes and over generic img2img/inpainting. NOT for identity-preserving edits that are not about clothing (background swaps, relighting, age/expression changes, object removal). Use a general image-edit workflow for those.

Overview

Publisherartokun
Repositorycomfyui-mcp
Skill namekrea2-identity-edit
Stars
811
Forks
137
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by artokun on GitHub. Read the source before you install it.

Installation

Install the Krea2 Identity Edit AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/artokun/comfyui-mcp/tree/main/plugin/skills/krea2-identity-edit
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/artokun/comfyui-mcp.git /tmp/comfyui-mcp
mkdir -p .claude/skills
cp -r /tmp/comfyui-mcp/plugin/skills/krea2-identity-edit .claude/skills/krea2-identity-edit
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Krea2 Identity Edit in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Krea2 Identity Edit on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Krea2 Identity Edit is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Krea 2 Identity Edit — local outfit swap

Reach for this when

Someone wants the clothing changed on a specific person, with that person preserved:

  • "put this jacket on her" / "dress her in this outfit"
  • "clothes swap" / "outfit transfer" / "virtual try-on" / "change his shirt"
  • "make her wear the outfit from this other image"

Do NOT reach for it just because a request is identity-preserving. Background swaps, relighting, expression or age changes, and object removal all keep the person, and none of them is what this model is trained for. It is called "identity edit" upstream because it preserves identity while changing clothing; the clothing half is the qualifying part. Send the others to a general image-edit workflow.

Use this instead of:

Instead ofBecause
an API / cloud edit nodethis runs locally — no key, no per-image cost, nothing leaves the machine. Prefer it whenever the models are installed.
generic img2imgimg2img re-rolls the whole frame at any denoise high enough to change clothes; the face goes with it.
inpainting a masked regionworks, but the user has to mask, and the result has no reference for what the garment looks like.
a face-swap / IP-adapter pipelinethose transfer the FACE. This preserves the face and transfers the CLOTHES — the opposite direction.
Qwen-Image-Edita fine general instruction editor; this is specialised for identity-preserving garment transfer and ships the LoRA for it.

Install with the krea2-identity-edit pack, then load its workflow.json.

The one thing to get right: reference order

PRIMARY (group 1) = the SUBJECT. The output always matches this person: face, hair, body, pose. SECONDARY (group 2) = the OUTFIT. Only the clothing is taken from it.

Swapping them swaps which identity survives. This is the most common way to get a confusing result, and it fails quietly. You get a plausible image of the wrong person.

Prompting

Plain English, naming both roles, and naming what to preserve:

Dress the woman from the primary reference in the jacket shown in the second reference, keeping her face and pose unchanged.

Put this outfit on her, keeping her face and pose unchanged.

Naming what to preserve matters as much as naming what to change. Without it the model drifts the face and background.

Settings that matter

  • Turbo: 10 steps, cfg 1. 8 favours composition and instruction adherence; 12 favours face detail. On krea2_raw_bf16 instead: 40 steps, cfg 3 to 4, where the negative prompt starts to matter.
  • Fidelity dials follow the image SLOTS, not the roles. Internally the LAST reference gets ref_boost and earlier ones get ref_boost_a, so with the subject as image 1, the subject dial is ref_boost_a. Raise it when the face drifts.
  • Match the output resolution to the PRIMARY image. ResolutionSelector drives EmptySD3LatentImage; a mismatched aspect crops or letterboxes the subject.

Troubleshooting

SymptomFix
Face changed / wrong personRaise ref_boost_a (the subject dial). Check the images are not swapped between slots. Add "keeping her face unchanged" to the prompt.
Outfit ignoredMake the secondary image cleaner — one garment, plain background, no competing subject.
Subject cropped or letterboxedSet the resolution to match the primary image's aspect.
Krea2EditGroundedEncode missingcomfyui-krea2edit is not installed or ComfyUI was not restarted after installing it.
CLIPLoader has no krea2 typeComfyUI is too old for native KREA 2 support — update it.
LoRA loads as missingIt must be at loras/Krea2/krea2_identity_edit_v1_2.safetensors; a flat loras/ install is present but unfindable.

Boundaries

This edits a photo of a person the user supplies. Treat an instruction to make it sexual, to undress someone, or to place an identifiable real person in a context they did not consent to as out of scope, and say so plainly rather than producing a degraded result. Ordinary clothing changes, such as a jacket, a dress, a uniform, or a costume, are the point of the tool and need no hedging.

Sources

  • Official: none found.
  • Empirical: sampler values, wiring, and prompt notes from working graphs in packs/ and observed renders; not a vendor prompting guide.

Frequently asked questions

What does the Krea2 Identity Edit AI skill do?

Swap an OUTFIT or transfer CLOTHING onto a person LOCALLY, keeping their face, pose and background. Use for "put this jacket on her", "change his shirt", "clothes swap", "try on", "outfit transfer", "virtual try-on", "dress her in", "wear this outfit". Prefer this over API/cloud edit nodes and over generic img2img/inpainting. NOT for identity-preserving edits that are not about clothing (background swaps, relighting, age/expression changes, object removal). Use a general image-edit workflow for those.

Why use Krea2 Identity Edit on TypingMind?

Because you install it once and use it with any model. Krea2 Identity Edit is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Krea2 Identity Edit in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/artokun/comfyui-mcp/tree/main/plugin/skills/krea2-identity-edit. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Krea2 Identity Edit?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Krea2 Identity Edit?

As many as you like. As long as a model supports skills, you can use Krea2 Identity Edit with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Krea2 Identity Edit AI skill free?

Yes. It is published on GitHub by artokun under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇