Using local AI to remove objects in images

How to remove or edit objects in images using inpainting with local ai