# Inpainting

> Inpainting regenerates a selected region of an image while leaving the rest untouched — masking a hand and redrawing it, removing an object, changing one detail. The mask is the instruction.

It is the standard repair tool in image workflows because generation failures are usually local: the composition is right and one hand is wrong. Repainting the region is cheaper and safer than rolling the dice on the whole frame again.

Without it, the fix for a local failure is a fresh generation, which changes everything else too — so the practical technique becomes rendering a batch and keeping the one that has no defect worth repairing.

## On eroq

There is no masking or inpainting on eroq. A render is regenerated whole. What exists instead is a reference image, which carries identity and framing into the new render, a batch of up to four, and a negative prompt to steer the known artefacts out.

## FAQ

### How do I fix one bad hand in an image?

You re-render rather than repair. Frame away from the hands, add the artefact to the negative prompt, render a batch of four and keep the clean one — there is no mask tool to fix the region in place.

### Can I remove an object from a render?

Not by masking it. Describe the scene without the object and pass the original as a reference so the rest holds, or take the render into your own editor.

### Does a reference image work like inpainting?

No. A reference conditions the whole new render rather than protecting a region, so everything can shift — it holds identity and framing, not exact pixels.

## Related

- https://eroq.ai/glossary/image-to-image — Image-to-image
- https://eroq.ai/glossary/negative-prompt — Negative prompt
- https://eroq.ai/glossary/reference-image — Reference image

---

This page as HTML: https://eroq.ai/glossary/inpainting · Studio: https://eroq.ai/studio · Docs: https://eroq.ai/docs · Machine index: https://eroq.ai/llms.txt
