[F2K9B]Uncrop/Inpaint/Outpaint with Context Image

[F2K9B]Uncrop/Inpaint/Outpaint with Context Image

LORA
Reprint


Updated:

Version Detail

FLUX_2_KLEIN_9B_BASE
UNCROP/INPAINT/OUTPAINT WITH CONTEXT IMAGE for F.2 Klein 9B IMAGE EDIT LORA https://civitai.com/models/2106308/uncropinpaintoutpaint-with-context-image-for-f2-klein-9b-qwen-image-edit-lora?modelVersionId=2620761 About this version Suggested tags: remove the white parts, use the image for context Suggested strength: 1.0 Flux.2 Klein 9B is already very good at doing this without this LoRA. I was quite amazed when testing on/off how many results looked fine without the LoRA. This LoRA still has its use cases in my dataset creation workflow and I spent time and money on Runpod making it so I'll still release it, but feel free to try it with/without. Also tested with colors besides white and it worked fine. My workflow is embedded in all the images again. Examples generated using flux-2-klein-9b-fp8.safetensors and corresponding fp8 text encoder at around 4-6 steps. Also Flux 2.Klein i2i prompting guide is helpful. If you are using 9b-base, in my workflow change sampler to euler and increase number of steps. For Uncropping/Outpainting: The intended purpose is to take a cropped image, expand the canvas size higher than the actual image and fill it with white. Use that as Image 1. Use the image of the persons head as Image 2. I suggest an image of a head that cropped to a square. Maybe rotate it so it makes sense if it were transferred onto Image 1 directly. If the image quality or even backgrounds are too different between the two images you may need to add additional context like hair color, location, etc, but less details is better in my experience. If you'd like a more unified quality, I had success using this with this Upscale LoRa. You could try other colors but I have not tested with/trained on anything but white. For Inpainting: You can use photoshop or the white paint from the built in Comfyui Mask Editor,

Project Permissions

Model reprinted from : https://civitai.com/models/2106308/uncropinpaintoutpaint-with-context-image-for-f2-klein-9b-qwen-ima

Reprinted models are for communication and learning purposes only, not for commercial use. Original authors can contact us to transfer the models through our Discord channel --- #claim-models.

Related Posts