# Is there an example for stable diffusion 3 inpating (image editing) lora training (5k samples)

**URL:** <https://discuss.huggingface.co/t/is-there-an-example-for-stable-diffusion-3-inpating-image-editing-lora-training-5k-samples/142519>\
**Category:** 🤗Transformers\
**Created:** [February 23, 2025, 5:50pm UTC](https://discuss.huggingface.co/t/is-there-an-example-for-stable-diffusion-3-inpating-image-editing-lora-training-5k-samples/142519 "2025-02-23T17:50:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lampent](https://avatars.discourse-cdn.com/v4/letter/l/fbc32d/32.png) [@lampent](https://discuss.huggingface.co/u/lampent)\
**Post date:** [February 23, 2025, 5:50pm UTC](https://discuss.huggingface.co/t/is-there-an-example-for-stable-diffusion-3-inpating-image-editing-lora-training-5k-samples/142519/1 "2025-02-23T17:50:46Z")

</div>

Hello everyone, not sure if this is the right place to post it.  
Is there an example for stable diffusion 3 inpating (image editing) lora training (5k samples)?

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](https://discuss.huggingface.co/u/John6666)\
**Post date:** [February 24, 2025, 7:43am UTC](https://discuss.huggingface.co/t/is-there-an-example-for-stable-diffusion-3-inpating-image-editing-lora-training-5k-samples/142519/2 "2025-02-24T07:43:06Z")

</div>

Even if you are using Inpainting in the end, if you train the normal SD3 model, the training content will be applied, so it seems that there will be no problem if you use general scripts such as KohyaSS or OneTrainer.

> **[stabilityai/stable-diffusion-3-medium · How to train a LoRA based on SD3?](https://huggingface.co/stabilityai/stable-diffusion-3-medium/discussions/98)**
>
> How to train a LoRA based on SD3?
