Stable Diffusion Inpainting


AI model preview image
Stable Diffusion Inpainting is an image-to-image model that fills in masked parts of images using a stable diffusion process. It is particularly useful when dealing with large missing regions or complex structures. The model uses a patch-based approach to synthesize the missing parts, while ensuring that the inpainted regions are visually consistent with the rest of the image. It achieves this by iteratively updating the inpainted regions based on the neighboring pixels, gradually diffusing the information across the masked area.

Use cases

This AI model for stable diffusion inpainting has a range of potential use cases for technical users. One possible application is in image editing and restoration, where users can easily fill in missing or damaged parts of an image with visually consistent results. This could be particularly useful when dealing with large missing regions or complex structures, where manual editing would be time-consuming or difficult to achieve accurate results. Another use case is in the field of computer vision, where the model could be used to automatically inpaint missing parts of images in datasets or during image processing pipelines. This could improve the quality and completeness of image datasets for training machine learning models. The stable diffusion inpainting model could also be applied to other domains such as digital forensics, where it could be used to restore or enhance images that have been tampered with or corrupted. Overall, this AI model has the potential to enhance a range of image-related applications and enable new possibilities for inpainting and image restoration.



Cost per run
Avg run time
Nvidia A100 (40GB) GPU

Creator Models

Stable Diffusion$0.0897102,807,479
Stablelm Tuned Alpha 7b$0.020796,399
Stablelm Base Alpha 3b$?215
Stablelm Base Alpha 7b$?532
Stable Diffusion Img2img$0.0138855,600

Similar Models

Try it!

You can use this area to play around with demo applications that incorporate the Stable Diffusion Inpainting model. These demos are maintained and hosted externally by third-party creators. If you see an error, message me on Twitter.

Currently, there are no demos available for this model.


Summary of this model and related resources.

Model NameStable Diffusion Inpainting
Fill in masked parts of images with Stable Diffusion
Model LinkView on Replicate
API SpecView on Replicate
Github LinkView on Github
Paper LinkNo paper link provided


How popular is this model, by number of runs? How popular is the creator, by the sum of all their runs?

Model Rank
Creator Rank


How much does it cost to run this model? How long, on average, does it take to complete a run?

Cost per Run$0.0069
Prediction HardwareNvidia A100 (40GB) GPU
Average Completion Time3 seconds