Overview
Inpainting

Selectively edit specific regions of AI-generated content while preserving the rest

editregionselective
Prompt Actions
Docs

Inpainting gives users the ability to modify specific portions of AI-generated content while preserving the rest. Rather than regenerating an entire output, users select a region — a paragraph, a section of an image, or a segment of audio — and provide targeted instructions for that area alone. This makes AI collaboration more predictable and controllable, reduces rework, and speeds iteration.

Variants

  • Brush selection Users paint over areas to select them for regeneration, common in image editing tools.
  • Segment selection Content is pre-divided into labeled segments that users can click to select for editing.
  • Inline selection Users highlight text directly within the content to mark it for AI modification.

Use Cases

  • Editing specific sections of AI-generated documents while preserving the rest
  • Fixing localized issues in AI-generated images without full regeneration
  • Adjusting the tone of specific paragraphs without affecting the whole piece
  • Correcting factual errors in AI summaries while keeping accurate sections
  • Iterating on specific parts of generated code while preserving working logic

Best Practices

  • Clearly highlight which region is selected and will be affected by changes.
  • Preserve context from surrounding content to guide the regeneration.
  • Show a before/after comparison before committing the change.
  • Support undo so users can revert to the original if the edit doesn't improve things.
  • Allow users to adjust the scope of the selection before applying changes.

Search patterns

Search for a pattern, category, or tag