# Magic brush & eraser

## Introduction

In fashion design, making structural changes like adding or removing elements such as collars, zippers, or pockets can be a tedious and time-consuming task. Traditionally, this process involves hours of manual work in design software, limiting creative exploration and slowing down production cycles. With Fermat, designers can now **modify structural elements effortlessly**. Whether you need to add a turtleneck to a sweater or remove pockets from a biker jacket, Fermat lets you make these adjustments, removing the need for complex Photoshop edits. In this guide, we’ll walk you through how to make structural modifications instantly by using Fermat's *'Magic brush'* & *'Magic eraser*' tools.

## Step by step guide

### Magic brush

To add structural elements on your designs, follow these steps:

{% stepper %}
{% step %}

### Open the AI tool

1. Go to [Fermat.app](https://fermat.app/) and log into your account.
2. Open: '[Magic brush](https://toolmaker.fermat.app/tool/magic-brush-garment-4ba3f8c6-abef-41e8-8490-4b11b2dcddbb)' tool if you want to **add** new elements.
   {% endstep %}

{% step %}

### Describe the changes

Specify **only** what you want to add.

{% hint style="info" %}
Example: Sleeve side cargo pockets
{% endhint %}
{% endstep %}

{% step %}

### Upload your design

Click the upload area and select the design that you want to modify.

{% hint style="success" %}
Supported formats: JPEG, PNG, and WEBP
{% endhint %}
{% endstep %}

{% step %}

### Paint a specific area

Indicate with the painting tool where you want the pocket, zipper closure, etc., to appear on the design.
{% endstep %}

{% step %}

### Generate image

Click on the *'Generate'* button and let the AI process your inputs. In a few seconds, you will have your new design.

{% hint style="warning" %}
Review the output, and if necessary, **refine both the painted area and the prompt** to improve the results.
{% endhint %}

<figure><img src="https://2419988688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVR1BDoqmJbjltMHKIdui%2Fuploads%2F49fuctc7SYGJ4mAfV8ZC%2FCaptura%20de%20pantalla%202025-01-30%20a%20les%2011.39.01.png?alt=media&#x26;token=01a4c64f-2d7f-4d09-b00b-dea03ffaf17b" alt="" width="563"><figcaption><p>Generate button</p></figcaption></figure>
{% endstep %}
{% endstepper %}

{% embed url="<https://youtu.be/NfxVLrHcxn8>" %}
This video demonstrates how to add structural elements, such as a turtleneck, to your designs.
{% endembed %}

### Magic eraser

To remove structural elements from your designs, follow these steps:

{% stepper %}
{% step %}

### Open the AI&#x20;

1. Go to [Fermat.app](https://fermat.app/) and log into your account.
2. Open: '[Magic eraser](https://toolmaker.fermat.app/tool/magic-eraser-migration-cd5a87fd-057f-4db8-b705-ca0063cb90bd)' tool if you want to **remove** elements.
   {% endstep %}

{% step %}

### Select a page

Inside the Magic Eraser tool, there are two pages:&#x20;

1. The first page allows you to erase small elements such as placement prints and other minor details.&#x20;
2. The second page allows you to erase larger structural elements such as pockets, zippers, collars, etc.
   {% endstep %}

{% step %}

### Upload your design

Click the upload area and select the design that you want to erase.

{% hint style="success" %}
Supported formats: JPEG, PNG, and WEBP
{% endhint %}
{% endstep %}

{% step %}

### Paint a specific area

Indicate with the painting tool which zipper, pocket, or zip closure you want to erase from the design.
{% endstep %}

{% step %}

### Generate image

Click on the *'Generate'* button and let the AI process your inputs. In a few seconds, you will have your new design.

{% hint style="warning" %}
Review the output, and if necessary, **refine both the painted area and creativity level** to improve the results.
{% endhint %}

<figure><img src="https://2419988688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVR1BDoqmJbjltMHKIdui%2Fuploads%2F49fuctc7SYGJ4mAfV8ZC%2FCaptura%20de%20pantalla%202025-01-30%20a%20les%2011.39.01.png?alt=media&#x26;token=01a4c64f-2d7f-4d09-b00b-dea03ffaf17b" alt="" width="563"><figcaption><p>Generate button</p></figcaption></figure>
{% endstep %}
{% endstepper %}

{% embed url="<https://youtu.be/pBiWWaX6dt0>" %}
Learn how to remove structural elements, such as pockets, from your designs in this video.
{% endembed %}

## Examples

<figure><img src="https://2419988688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVR1BDoqmJbjltMHKIdui%2Fuploads%2FLUiObRTDIP800hdOHXLp%2Fbrush%20apparel.jpg?alt=media&#x26;token=7173335a-eb3b-48bb-b75c-8ea9de67850a" alt=""><figcaption><p>Magic brush on apparel</p></figcaption></figure>

<figure><img src="https://2419988688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVR1BDoqmJbjltMHKIdui%2Fuploads%2FdPK6GqH1mm0KGfPn3gJf%2Fbrush%20accessory.jpg?alt=media&#x26;token=2cfb8433-ce87-45e7-ada4-86ac4dd83a63" alt=""><figcaption><p>Magic brush on accessory</p></figcaption></figure>

<figure><img src="https://2419988688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVR1BDoqmJbjltMHKIdui%2Fuploads%2FNF2d8yYFlj84acyCZ6Ya%2Feraser%20apparel.jpg?alt=media&#x26;token=1588deb5-10e2-4c4f-97d3-da0d6f382e7b" alt=""><figcaption><p>Magic eraser on apparel</p></figcaption></figure>

<figure><img src="https://2419988688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVR1BDoqmJbjltMHKIdui%2Fuploads%2FXzv4mSb892hkcbXOGJ4D%2Feraser%20accessory.jpg?alt=media&#x26;token=3d055fc5-1982-4ac8-93e1-8141b60d4349" alt=""><figcaption><p>Magic eraser on accessory</p></figcaption></figure>
