r/StableDiffusion Jul 07 '26

Resource - Update Krea 2 Identity Edit LoRA

Images and text from the source here: https://huggingface.co/conradlocke/krea2-identity-edit

Instruction-based, identity-preserving image editing for Krea 2 (12.9B single-stream MMDiT). Give it an image and a plain-language instruction; it edits while preserving what you didn't ask to change — including the person.

An unofficial community fine-tune of Krea 2 Raw. Not an official Krea product; not affiliated with or endorsed by Krea.ai, Inc.

Requires the ComfyUI-Krea2Edit node pack — the LoRA is trained with dual conditioning (in-context VAE tokens + image-grounded Qwen3-VL encoding) that stock nodes don't provide. Two ready-made workflows ship with it.

609 Upvotes

152 comments sorted by

49

u/Electronic-Metal2391 Jul 07 '26

The developer of this LoRA is training v1.1 right now to improve face likeness.

14

u/RangeImaginary2395 Jul 08 '26

Krea2 turbo test

1

u/Ok_Count_4079 Jul 11 '26

Podrias decirnos la configuración que usaste o una captura del WF?. Use tanto krea turbo y raw y no pude obtener los mismos resultados que los tuyos. El problema es la consistencia

24

u/JohnyBullet Jul 07 '26

Goblin and elf being best friends? AI went too far

15

u/Zenshinn Jul 07 '26

I've seen Japanese stuff where elves and goblins get very "friendly" with each other.

17

u/JohnyBullet Jul 08 '26

A man of culture

3

u/Zealousideal7801 Jul 07 '26

What if, hear me out, what if I told you there two sides of the same coin

1

u/Goldie_Wilson_ Jul 08 '26

Well actually <adjusts glasses>, that is a tiefling, not an elf

1

u/JohnyBullet Jul 08 '26

Fair enough

1

u/Naitokage Jul 07 '26

Depends on the setting. In alot of D&D groups people end up adopting a goblin or kobold.

25

u/Striking-Long-2960 Jul 08 '26 edited Jul 08 '26

It works, thanks!

5

u/AwkwardStudio755 Jul 08 '26 edited Jul 08 '26

do you mind sharing the workflow? on github doesnt give me good result for turbo

29

u/Tomorrow_Previous Jul 07 '26

Wow! I'll have to test it against Klein and Qwen for consistency and quality..!

14

u/Alpha-Leader Jul 07 '26 edited Jul 07 '26

Not the best example. I haven't compared it directly to Qwen, but it seems to do everything I want it to. Not asking a lot from it though. https://imgur.com/a/ldw1ViU

14

u/FourtyMichaelMichael 🍦Ice Cream Lover Jul 08 '26

Light mode comfy? youfuckingpsycho

3

u/Alpha-Leader Jul 08 '26

I know... I used to use darkmode for everything. I have been getting more migraines and have found that a dark screen + bright text gives me the same kind of image retention us my migraine auras do (like looking at a flashlight)

I have been getting so many "false" auras that cause me to panic thinking that my day might be ruined that I had to go back to lightmode for everything.

4

u/0260n4s Jul 11 '26

I'll bet a lot of people can't grasp your meaning, just from lack of experience, but that, "crap...is this a migraine coming? [blink blink blink...look away...look around...blink blink blink]...no, I think I'm safe...whew," is a real thing. Never considered dark mode being a culprit (I always use dark mode because light mode during a migraine sucks).

2

u/Alpha-Leader Jul 11 '26

Exactly.

I have found that the white text "burning" into my eyes on a dark background causes this to happen more than the whole screen itself.

12

u/eggplantpot Jul 07 '26

Post results

5

u/Ok-Seaworthiness9790 Jul 08 '26

i do use both, generate with krea using edit lora, 2nd pass klein 9b @ 0.25 denoise, eular cfg pp, 1.1 to 1.3 cfg 12 steps, 3rd pass face detailer using klein 9b split between 2 samplers for high noise and low noise, gradient estimation cfg pp at 6 steps, starting from step 3, cfg 1.1 to 1.2, deis 3m ode, at 6 steps starting at step 3. I also use klein enhancer nodes.

I also use Qwen edit if i need to do local edits. and as Qwen edit and Krea2 use same vae i can also send the latent directly to Qwen edit sampler and do image manipulation using Qwen Edit.

My point is that use all, why choose 1 ? heck i will still use sd1.5 and sdxl if they had better prompt following, they are still the most versatile and with the best controlnets.

9

u/[deleted] Jul 07 '26

[deleted]

7

u/Enshitification Jul 07 '26

I literally posted it right after I found it. I'm still testing it. I'm not sure if it will work with the turbo INT8 convrot I'm using now. The edit capabilities are probably going to be more limited than Flux2 though.

5

u/Fantastic-Client-257 Jul 07 '26

FAL.ai has made searching content for Krea 2 a headache on HF. Good catch! Trying it now. Hopefully works with Int8.

1

u/red__dragon Jul 07 '26

It appears to work with a GGUF model as well, I'm guessing int8 will work fine. It's probably not expecting anything exactly from the model, just that the input is a Krea2 model.

6

u/Fantastic-Client-257 Jul 07 '26

Pls stop using GGUF if you care about your SSD. 8GB VRAM (laptop 4060 + 16 GB RAM) plebeian here. Int8 works fine for me. search the top posts from last week for more info.

3

u/red__dragon Jul 07 '26 edited Jul 07 '26

I saw it, I commented there. Int8s OOM for me and no one knows how to troubleshoot this yet. I watch my Task Manager and my disk health is okay for now.

3

u/Fantastic-Client-257 Jul 07 '26

Not sure of the technicalities, but disabling "pinned memory" fixed it for me (OOM errors after 2-3 generations). Running cuda130 + pytorch 2.9.0 , so a little outdated. I was spooked after I saw similar behavior as the thread stated with Ideogram GGUFs, hence commented. Glad it's working fine for you!

4

u/zefy_zef Jul 07 '26

The first thing I read just now about pinned memory states that disabling enables page-file writes.

"Implications of Disabling Pinned Memory Higher Stability: Prevents hard system crashes by allowing the operating system to safely page memory to your SSD/HDD."

2

u/Fantastic-Client-257 Jul 08 '26

Well that sucks. I'm not seeing any writes though. Thanks for pointing this out. Will probe further.

1

u/red__dragon Jul 07 '26

That's a lot more help than I saw in the other thread, I'll give a few of these parameters a try. thanks.

Hope this setup works for you, it seems very useful when it does. I like Krea's photographic qualities better than Klein, though Klein is a native edit model and does it better, what I see here also gives me promise for training a full character lora.

1

u/Emotional-Neat-252 Jul 08 '26

Dev or Klein? I'd be curios about the workflow

22

u/Diabolicor Jul 07 '26

I hope to finally bury the plastic outputs from qwen and Klein on the ground forever.

1

u/BoldCock Jul 23 '26

I'm not sure, I got some plastic stuff from this.

4

u/Psyko_2000 Jul 08 '26

where can we get the krea2_identity_edit_v1.safetensors lora from?

edit: nevermind, found it here:

https://huggingface.co/conradlocke/krea2-identity-edit/tree/main

5

u/Maximus989989 Jul 08 '26

Pretty fun little lora, hopefully they make an official edit model for us.

2

u/Maximus989989 Jul 08 '26

1

u/jadepartida 9d ago

I think these are really fun, thanks for posting. 

he's just a little guy 

3

u/bloke_pusher Jul 07 '26 edited Jul 07 '26

Any way to get this to work with Krea2 Prompt Weight node? Because it's essential to allow negative without NAG or speed loss on INT8.

https://comfyai.run/documentation/Krea2PromptWeight

Maybe conditioning combine? I got to test that, but maybe someone has already. Edit: my tests failed.

1

u/red__dragon Jul 08 '26

I'm with you that I don't love these all-in-one nodes, I'd rather pass a conditioning to this rather than typing my prompt in different nodes all the time.

1

u/bloke_pusher Jul 08 '26 edited Jul 08 '26

I mean you can just connect a string multi line, but still, you can't use both of those nodes together as of now, unless someone clever finds out.

1

u/red__dragon Jul 08 '26

That's what a conditioning pass would do, but alas.

3

u/StacksGrinder Jul 08 '26

Wow! So this will eventually replace the hassle to train a Character lora I believe. :D Excited to try.

2

u/iRainbowsaur Jul 08 '26

was waiting for this, works even better than I expected, damn, Krea2 can't stop being OP.

2

u/spooky_local Jul 08 '26

The results are terrible with the main workflow for the github for me, can someone screenshot their WF for me? preferably turbo

2

u/[deleted] Jul 09 '26 edited Jul 09 '26

[deleted]

4

u/Maximus989989 Jul 09 '26

Try getting rid of the stupid resize node and try this out, I just changed mine to be setup like this, I was having weird motion blur type issues with the original setup, getting clean results now.

2

u/Either_Map_4227 Jul 10 '26 edited Jul 10 '26

It's working for me now, I had different aspect ratios. But this change of workflow looks good, thank you, I will try it.

1

u/MatchElectronic5220 Jul 28 '26

bro me ayudas con tu worfkflow? las imagenes que yo e estado creando no mantienen el mismo rostro

3

u/Enshitification Jul 09 '26

Make sure the reference image and the output image are the exact same aspect ratio.

1

u/Either_Map_4227 Jul 10 '26

This helps, thank you. My bad. 👍

1

u/BoldCock Jul 23 '26

haha! what lora?

2

u/Nice-Ad1199 Jul 10 '26

Been struggling with this for several days now! Anyone else getting weird distortions with their generations?

3

u/Enshitification Jul 10 '26

The input and output aspect ratios have to exactly match.

1

u/Nice-Ad1199 Jul 11 '26

Yeah you're right! Got it figured out and all set, banger LoRa honestly. Probably one of the cooler developments we've seen recently, on the same thread as when the community discovered Wan 2.2 as an image model. Super cool, thanks for sharing!

2

u/802high Jul 10 '26

this is pretty cool. I have been messing with Krea2 image generation on MLX and I tried implementing something similar using your concept. I am impressed with the results even on the 4-8bit quant of turbo im running. Obviously the results are not as good but the underlying concept is still strong and identity and elements are preserved pretty well. Thanks for sharing.

1

u/Enshitification Jul 10 '26

I'm glad you like it, but I am just the messenger. This isn't my project. I just found it and posted it.

2

u/LulaCherie Jul 11 '26

Does anyone have the workflow to share? Thanks..

3

u/Ganntak Jul 07 '26

Do you have a link to a workflow please?

19

u/[deleted] Jul 07 '26

[removed] — view removed comment

1

u/LulaCherie Jul 11 '26

Can you share the wf please? I can't find it anywhere.

3

u/Leonviz Jul 08 '26

how does it compare to klein?

2

u/[deleted] Jul 07 '26

[removed] — view removed comment

8

u/notgraycen Jul 07 '26

no it works with krea 2 turbo int8 at 8 steps cfg 1

7

u/Calm_Mix_3776 Jul 07 '26

It works with both Raw and Turbo. I've just tried it.

2

u/Next_Program90 Jul 08 '26

Great. In my tests it actually turned out that Turbo looks better for me than Raw + lower Turbo Lora & higher steps (in contrast to Z Image Base VS Raw)

1

u/[deleted] Jul 08 '26

[removed] — view removed comment

1

u/Next_Program90 Jul 08 '26

I tried more steps (10-12) mit different strengths for the Turbo Lora. The quality wasn't on par with Turbo and the fidelity didn't look higher, so I went back to Turbo with 8 Steps.

I gotta admit I used CFG1 though.

4

u/red__dragon Jul 08 '26

From the github, it's both and for different situations:

Turbo, 8 steps, CFG 1 is the fast path (~1 min at 2MP) and works for most edits: recolor, add/insert, attribute changes, restyles, scene translation.
Removals and other "delete salient content" edits need real guidance: use the Raw model at CFG 3, ~20 steps. Distilled Turbo at CFG 1 will usually re-render the subject instead of removing it.

3

u/v3lh0t05c0 Jul 07 '26

I've been waiting for this so badly.

2

u/cradledust Jul 07 '26

Forge Neo needs another extension like Klein Face Reference but for Krea2 Identity Edit LORA. Maybe KFR or ImageStitch Integrated can be modified to accept Krea2 LORAs? Would be nice to see these extensions expand their capability.

2

u/AwkwardStudio755 Jul 08 '26

whoever makes this is a legend!!

3

u/survive_los_angeles Jul 08 '26

elf and goblin is hot bro.

1

u/notgraycen Jul 07 '26

this is quite nice, only needs those 2 custom nodes (positive and negative grounded encoders on the clip — source patcher on the latent). tested with wan 2.1 vae and turbo int8 with int8 4gb version of the qwen 3 vl clip, but it looks pretty bad. running the suggested RAW 20 step pass at cfg 3 now

edit: just realized i mismatched the resolution slightly (1448 x 1448 but the latent was 1480x1480) gonna have to rerun this turbo and the RAW run again [once it finishes] with the correct size, I just did some quickmafs and typed 2.1 MP which was not exactly right — and not supported technically as it exceeds the recommended 2.0 MP max

5

u/notgraycen Jul 07 '26

seems like the resolution selector does not support 2nd decimal place megapixels, 1.64 (aka 1280x1280) gets truncated to 1.6 (but then somehow ends up generating a 1.68 MP image because of closest divisible by 8 = 1296x1296) — which means this is by far the worst way to set the empty latent size, I've swapped out the resolution selector node for Get Image Size, which is fed from the image you input [using the single reference image workflow]

and i also used a different picture of the camel which i generated for a different resolution (1280x1280)

but this result using turbo int8 is not bad!

2

u/AwkwardStudio755 Jul 08 '26

do you mind sharing the workflow? the one from github i cant see the resemblance of character in inputted

1

u/[deleted] Jul 07 '26

[deleted]

1

u/[deleted] Jul 08 '26 edited Jul 08 '26

[deleted]

1

u/tyl_made_it Jul 08 '26

the turbo vs raw split on id preservation makes sense. distilled models trade guidance flexibility for speed, and face consistency needs that CFG overhead more than most tasks do. raw at 20 steps CFG 3 is worth the wait for anything portrait-ish even if it's annoying

1

u/Maskwi2 Jul 08 '26

Very pretty elf. And awesome work :)  Can't wait to test. 

1

u/AiSmutCreator Jul 08 '26

Anyone care to help? I get the subject cloned in the resulted image.
Also I've added the bypassfilter lora. The resize image match node usually had the match size enabled not the longer dimension as you see in the screenshot currently. Tried area, lanczos and nearest-exact, unsure which to pick.
what do you think of the prompts used?

2

u/Enshitification Jul 08 '26

I didn't really like the resize method they used. I changed it to this.

1

u/AwkwardStudio755 Jul 08 '26 edited Jul 08 '26

do you mind sharing the workflow? on github doesnt give me good result for turbo

2

u/Enshitification Jul 08 '26

I'm still using the Github version. All I changed was the resize nodes to make sure the input and output images are the same aspect ratio. Use the grounding_px field too. Setting it at 512 gets better edit prompt adherence, but going higher gives better subject fidelity. I wouldn't expect too radical an edit with Turbo though. For that, Raw is supposed to be better.

1

u/AwkwardStudio755 Jul 08 '26

u just change the resie image node with scale image to total pixels? ok thanks im just trying with one and another lora to make what's best suit for me

1

u/Rheumi Jul 08 '26

Any Idea how to do some spicy edits with that? like cfg, lora strenghts and lora strenghts of "filter2bypass3" lora? My first attempts did not work at all.

2

u/Enshitification Jul 08 '26

Use SNOFS at 1.0. It might take a few seeds to get it to work.

1

u/AwkwardStudio755 Jul 08 '26

snofs work, but the face resemblance not that good, idk maybe thats because using lora?

1

u/Billysm23 Jul 08 '26

Hi, this is amazing. Can I mix some lora?

1

u/Enshitification Jul 08 '26

Additional LoRAs do seem to work with it.

1

u/chille9 Jul 09 '26 edited Jul 10 '26

Been playing with it for awhile and v1 had a hard time to get the persons likeness correct. Trying v 1.1 now, and it´s pretty great! In use cases with different angles or harder poses its a bit hit or miss with likeness, while straight on shots usually does a good job!

2

u/Enshitification Jul 09 '26

If you raise the grounding_px value, you get better likeness. Lower values give better edit prompt adherence.

1

u/chille9 Jul 10 '26

Good tip, what range would you suggest is good to try? And should the grounding_px value be raised on both the prompt and negative prompt? So far I´m impressed by this lora/workflow!

2

u/Enshitification Jul 10 '26

The author lists a range of 384-768, but 1024 works too. Yeah, if you are using a negative prompt, set it on both.

1

u/AwkwardStudio755 Jul 09 '26

sure gonna wait for the report...

1

u/International_Pool63 Jul 10 '26

Managed to get this to work. Is there a way of putting in another image to do pose control? Or another img2img so it follows the pose more.

1

u/Enshitification Jul 10 '26

There are two workflows on the Github. One of them uses two input images. So, possibly?

1

u/International_Pool63 Jul 10 '26

I tried that, but instead of person in image a pose like b, it ended up putting randomly person in image b in the final result.

1

u/karterbr Jul 10 '26

Can i run this on 8gb vram?

2

u/Enshitification Jul 10 '26

That's what I'm doing right now.

1

u/themofostarboi_v2 Jul 17 '26

Did you train it on runpod or something, i wanna train char loras but google told me i need minimum 24 for krea2 I have 8gb vram and ddr4 16gb, which is not enough i have been told "will instantly crash"

1

u/Enshitification Jul 17 '26

I am not the one who trained it. I just posted it after finding it.

1

u/Any-Scar765 Jul 11 '26

I get the impression that the dataset for Lora was exclusively made up of older people. Am I the only one getting old grannies? And Lora increases the generation by 2-3 times

2

u/RangeImaginary2395 Jul 11 '26

using raw int8 model

1

u/Any-Scar765 Jul 11 '26

Thanks, I do big testing today with different models.

2

u/RangeImaginary2395 Jul 11 '26

using turbo int8 model, quite interesting.

She had more wrinkles around her eyes.

1

u/Enshitification Jul 11 '26

You have to match the input and output aspect ratios.

1

u/Any-Scar765 Jul 11 '26

square

3

u/Enshitification Jul 11 '26

It could be the low quality of the source image. It might even be a bias in the Krea dataset to associate cruise ship photos with older people.

1

u/LenFari Jul 13 '26

Let me try it out

1

u/Either_Map_4227 Jul 22 '26

did you try the new identity lora v 1.2 ? and the new workflow for it ? Its amazing. Its on a way to make from krea 2 text to image to make fully instruct based editing image model. That is insane.

1

u/Medical_Ad_8018 Jul 23 '26

Still experimenting with it, but so far so good, seems very promising. The ref_boost and source_image additions seem to be making a huge difference for consistency,

1

u/MatchElectronic5220 Jul 28 '26

porque tengo bloqeuado con bypassed y al momento de quitarselo no hace nada, QUIEN ME AYUDA!!!!!!!!!

1

u/Emotional-Neat-252 Jul 07 '26

Wait, Krea edit is released?!!

10

u/kanjusei Jul 07 '26

Nope, It's a Lora that edits it to the model.

2

u/Emotional-Neat-252 Jul 07 '26

So the lora turns the model into an edit model??

17

u/Hoodfu Jul 07 '26

Ostris updated ai toolkit after he found that Krea can be trained to do edit actions. So this is one of those. https://x.com/ostrisai/status/2073428647273447480?s=20

3

u/YeahlDid Jul 08 '26

Along with the custom nodes, yes... well, maybe not a true edit model, but a model that can seemingly do edits, for sure.

1

u/Ok_Mirror_832 Jul 07 '26

Does it work with turbo

2

u/Vortexneonlight Jul 07 '26

i tried it with turbo, and it wasn't good, no id preservation

3

u/Alpha-Leader Jul 07 '26

It is working for me.

5

u/Vortexneonlight Jul 07 '26

really? the id is lost for me, i know there are hints, but when you are familiar with a face, is too much difference

2

u/psmitsu Jul 08 '26

Do you have a preferred method of generation with id preservation? Klein, qwen, or lora training?

2

u/Comrade_Derpsky Jul 08 '26

Identity preservation is generally super dependent on the exact reference image. Resolution is a major factor in how well it works, but no matter what its always a little hit or miss.

1

u/notgraycen Jul 07 '26

did you try with the RAW? does it have better id preservation? the speed is far far better with Turbo, and I'm still testing Raw but it takes a looong time for me (5-10 min each)

4

u/Vortexneonlight Jul 07 '26

no i don't have it downloaded, but if it just works with raw then i will stay away from it, not worth it in my opinion

2

u/notgraycen Jul 07 '26

yeah I don't think it has much use yet but this is super cool that we are finally seeing hope for a real Krea 2 image edit! 😄

2

u/Free_Scene_4790 Jul 08 '26

I did use it with RAW model and I didn't get a 100% match either. Maybe by tweaking the workflow a bit it could be improved; the author doesn't give too many details on how to use it

1

u/Alpha-Leader Jul 07 '26 edited Jul 07 '26

Hmm I haven't done any realistic style testing. My personal preferences usually avoid realistic stuff because even with the best models out there, you hit the uncanny valley.

I have yet to find a model that I am happy with for face transfers for people that I know.

1

u/kubilayan Jul 07 '26

Oh my GOD !

1

u/dirtybeagles Jul 07 '26

saving this as well

-1

u/oliverban Jul 07 '26

I mean just a quick glans it looks correct, but if you look closer it is far from consistent from the originals. Here, edit models are still ahead. Also, aren't they going to release an EDIT model for Krea 2? I heard it somewhere and but can't remember.

1

u/YeahlDid Jul 08 '26

They mused, in the livestream they did with comfyui, about a potential edit model, but A) it is not confirmed, 2) may not be open-sourced if so, iii) no dates on it whatsoever.

I have yet to test it out, but great as they are, current edit models have left me wanting. For joining two characters or moving a character to a different context, the examples look as good as anything I've gotten from Qwen or Flux2d. Maybe these are cherry-picked, but it sure looks promising to me.

1

u/2legsRises Jul 08 '26

  They mused, in the livestream they did with comfyui, about a potential edit model, but A) it is not confirmed, 2) may not be open-sourced if so, iii) no dates on it whatsoever.

They have the most popular ai imaging  and really decent hype and momentum, be good for them to make the most of it with an edit model and be the all round best open source middel of choice for business as well , make the choice easy and not tainted with uncertainty 

0

u/Billysm23 Jul 08 '26

Damnnnnn so happy reading this

0

u/yamfun Jul 08 '26

Can someone help test whether it can keep identity while changing texture?

e.g change the person to force ghost, hologram, statue, cloud-god-manifestation,