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
- Tencent Hunyuan releases AuK code and weights on GitHub with ComfyUI and fine-tuning support — aigclink · 2026-09-11
- Tencent open-sources AuK, a unified 1.5B speech generation and editing model — aigclink · 2026-09-11
- Creator turns Bahamut vs Tiamat rivalry into an AI cinematic battle with Midjourney, GPT Image 2 and Seedance — azed_ai · 2026-09-11
- invideo launches AI agent-powered editor to automate repetitive editing tasks — azed_ai · 2026-09-11
- fable 5.1 recreates The Starry Night with 256,157 JavaScript brush strokes — cedric_chee · 2026-09-11
- GPT-6 Astra + Hyper3D Rodin MCP Generates 3D Assets in One Agent Flow — ahuja_priyank · 2026-09-11