> For the complete documentation index, see [llms.txt](https://aigc-chain.gitbook.io/aigc-chain-documents/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aigc-chain.gitbook.io/aigc-chain-documents/capabilities/2d-utilities/editing-skill.md).

# Editing Skill

## Regenerating by wiping

Using the wiping constraint, participants can select an area in the input image to conceal from CLIP's "translation." The wiping constraint is in a black and white format where the black areas indicate which parts of the image constraint will be concealed while the white areas will be redrawn in the resulting image.&#x20;

There are also three types of redrawing：

* The first uses the corresponding area of the image constraint to draw content similar to the input image area (using the original image as a constraint, very similar).&#x20;
* The second option is to only use the color matching of the corresponding area of the image constraint as a constraint (redrawing, color matching is similar).&#x20;
* The third option is to use a new constraint or random noise from the model as a constraint to draw content that is not as similar to the input image area. The demo below shows an example of regenerating facial images of an Asian guy from a Caucasian guy by using a new constraint.

<figure><img src="/files/429QUCf1rAueT5HdPAT7" alt=""><figcaption></figcaption></figure>

## Removing by wiping

Users can also remove the subject in the wiped areas. By combining regeneration and removal, users can add or remove subjects in an image where they see fit.

Merging subjects for new creation: By setting weights, it is possible for two text constraints to simultaneously affect the result. For example, if "cow" and "rabbit" are fused as text constraints, it will generate a new creature that features a rabbit’s head on a cows’ body or vice versa. With the ability to control the weights of the text constraints, users can fine-tune the results of their creations to achieve the desired effects and outcomes.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://aigc-chain.gitbook.io/aigc-chain-documents/capabilities/2d-utilities/editing-skill.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
