Krea2 Image Editing LoRA Open-Sourced
molbal · reddit · 2026-07-14
A developer ran out of GPU budget while training a Krea2 image editing LoRA and decided to open-source the project, datasets, and training details, inviting others to carry the baton.
The post shares several technical insights:
- Adopts the indextimestepzero approach from Ostris's ai-toolkit, allowing reference image tokens to participate in modulation at timestep=0
- Places reference tokens on the right side of the target image's RoPE 2D grid to avoid grid artifacts caused by a standalone axis
- Requires a fixed reference label format for the text encoder: <referenceN><|visionstart|><|imagepad|><|visionend|></referenceN>
- Necessitates changing the VLM pixel budget during training from 384x384 to 512x512
Additionally, two Hugging Face datasets were released: one containing about 20,000 real-world semantic editing pairs to teach the model the concept of "editing," and another featuring algorithmically generated identity-preserving/pixel-level preserving data, emphasizing that areas not mentioned in the prompt should be copied exactly from the reference image.
More from Multimodal
- Reddit user chains Ideogram 4 and Krea2 to mimic bbox-based image positioning — v3lh0t05c0 · 2026-07-22
- Ultimate Face Fix: Open-Source Multi-Face Repair Node for ComfyUI — Merserk13 · 2026-07-22
- Getting Started with AI Video: Solving Consistency and Censorship — cynicalnewenglander · 2026-07-22
- Storyboard-first workflows are making AI dance videos and influencers more consistent — aftahi_ai · 2026-07-22
- Runpod MCP and Claude help spin up image and video generation workflows — 802high · 2026-07-22
- Midjourney prompt turns a bee into a glitching pixel explosion — michaelrabone · 2026-07-22