# US 2026/0311406 A1 · Image inpainting using local content preservation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0311406 A1
- Document ID: US20260311406A1
- Status: Published application
- Kind: A1
- Application number: 19/688,711
- Filed: 2026-05-27
- Published: 2026-10-08
- Earliest claimed: 2023-07-12
- Assignees: Adobe Inc.
- Applicants: Adobe Inc.
- Inventors: Dana Michelle Jefferson; Benjamin Delarre; Davis Taylor Brown; Michael Spencer Cragg
- Web page: https://patentgrep.com/patent/US20260311406A1

## CPC

- G06T 11/60: Creating or editing images; Combining images with text
- G06T 5/50: using two or more images, e.g. averaging or subtraction
- G06T 5/77: Retouching; Inpainting; Scratch removal
- G06T 11/23: using straight lines or curves
- G06T 2207/20221: Image fusion; Image merging
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A method, apparatus, non-transitory computer readable medium, and system for media generation includes obtaining a first image, a second image, and a local content preservation value, receiving a content generation selection, where the content generation selection applies the local content preservation value to at least one pixel of the first image, and generating, using an image generation process guided by the second image, an output image based on the first image and the content generation selection, where the output image includes synthetic content described by the second image in a region specified by the content generation selection, and where a weight of an effect of the second image on the image generation process corresponds to the local content preservation value.

## Claims

### Claim 1

A method for image generation, comprising:
obtaining, via a user interface, a first image, a second image, and a local content preservation value;
receiving a content generation selection, wherein the content generation selection applies the local content preservation value to at least one pixel of the first image; and
generating, using an image generation process guided by the second image and performed by an image generation machine learning model, an output image based on the first image and the content generation selection, wherein the output image includes synthetic content described by the second image in a region specified by the content generation selection, and wherein a weight of an effect of the second image on the image generation process corresponds to the local content preservation value.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving, via a brush size input element, a brush size input, wherein the content generation selection is based at least in part on the brush size input.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
receiving, via a brush hardness input element, a brush hardness input, wherein the content generation selection is based at least in part on the brush hardness input.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
receiving, via a local content preservation input element, an additional local content preservation value from a user; and
receiving an additional content generation selection from the user, wherein the additional content generation selection applies the additional local content preservation value to at least one additional pixel of the input image, and wherein the output image is further based on the additional content generation selection.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
receiving, via a global content preservation input element, a global content preservation value, wherein the output image is further based on the global content preservation value.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
combining the local content preservation value and the global content preservation value to obtain a combined content preservation value for the at least one pixel, wherein the output image is based on the combined content preservation value.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
receiving, via a match shape input element, a match shape input, wherein a closeness of a match between the synthetic content of the output image and the content generation selection is based on the match shape input.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
receiving, via a guidance strength input element, a guidance strength input, wherein a closeness of a match between the synthetic content of the output image and the text prompt is based on the guidance strength input.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
receiving, via an insert content input element, an insert content input, wherein the output image is based on the insert content input.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
receiving, via a remove content input element, a remove content input, wherein the output image is based on the remove content input.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
saving the content generation selection as metadata in an image layer of the output image.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
generating a plurality of variations of the output image;
displaying a preview of each of the plurality of variations of the output image; and
receiving a selection input indicating the output image from among the plurality of variations.

### Claim 13 (depends on 1)

The method of claim 1, further comprising:
displaying a content generation selection overlay depicting the content generation selection overlapping the input image, wherein a transparency value of the content generation selection overlay is based on the local content preservation value.

### Claim 14 (depends on 1)

The method of claim 1, further comprising:
displaying the output image including the synthetic content at a location of the content generation selection.

### Claim 15 (depends on 1)

The method of claim 1, further comprising:
obtaining a text prompt describing additional synthetic content, wherein the synthetic image is generated based on the text prompt.

### Claim 16

A non-transitory computer readable medium storing code for media generation, the code comprising instructions that, when executed by at least one processor, cause the at least one processor to perform operations comprising:
obtaining, via a user interface, a first image, a second image, and a local content preservation value;
receiving a content generation selection, wherein the content generation selection applies the local content preservation value to at least one pixel of the first image; and
generating, using an image generation process guided by the second image and performed by an image generation machine learning model, an output image based on the first image and the content generation selection, wherein the output image includes synthetic content described by the second image in a region specified by the content generation selection, and wherein a weight of an effect of the second image on the image generation process corresponds to the local content preservation value.

### Claim 17

A system for image generation, comprising:
a memory component; and
a processing device coupled to the memory component, the processing device configured to perform operations comprising:
obtaining, via a user interface, a first image, a second image, and a local content preservation value;
receiving a content generation selection, wherein the content generation selection applies the local content preservation value to at least one pixel of the first image; and
generating, using an image generation process guided by the second image and performed by an image generation machine learning model, an output image based on the first image and the content generation selection, wherein the output image includes synthetic content described by the second image in a region specified by the content generation selection, and wherein a weight of an effect of the second image on the image generation process corresponds to the local content preservation value.

### Claim 18 (depends on 17)

The system of claim 17, the user interface displaying:
an input element configured to receive the second image;
a local content preservation input element configured to receive the local content preservation value; and
a content generation brush tool configured to receive the content generation selection.

### Claim 19 (depends on 17)

The system of claim 17, the user interface displaying:
a brush size input element configured to receive a brush size input, wherein the content generation selection is based at least in part on the brush size input.

### Claim 20 (depends on 17)

The system of claim 17, the user interface displaying:
a brush hardness input element configured to receive a brush hardness input, wherein the content generation selection is based at least in part on the brush hardness input.
