> For the complete documentation index, see [llms.txt](https://docs.fermat.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fermat.app/ai-tool-catalogue/apparel-and-accessories/extract-garment.md).

# Extract garment

## Introduction

This tool automatically detects and extracts any garment worn by a model, isolating it for further editing, analysis, or reuse. You can extract a garment from a photoshoot or sketch image.

## Step by step guide

To extract garments from photoshoots, follow these steps:

{% stepper %}
{% step %}

### Open the AI tool

1. Go to [Fermat.app](https://fermat.app/) and log into your account.
2. Open: '[Extract garment](https://toolmaker.fermat.app/tool/extract-garment-546dd57b-d14f-463f-804d-744c977560ae)' tool.
   {% endstep %}

{% step %}

### Select a page

There are two pages, each with a specific purpose. These pages are:

* Extract garment from photoshoot
* Extract garment from sketch
  {% endstep %}

{% step %}

### Specify which garment to extract

{% hint style="info" %}
Example: sweater
{% endhint %}
{% endstep %}

{% step %}

### Choose the photoshoot image/ sketch

{% hint style="success" %}
Supported formats: JPEG, PNG, and WEBP
{% endhint %}
{% 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.

<figure><img src="/files/VdVrhY9fXvz0BJIfRGwQ" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

(tutorial)

### (Optional) Add extra details

You can provide extra details about the garment you want to extract to make sure the AI takes them into consideration.

{% hint style="info" %}
Example: The sweater is knitted and made of wool.
{% endhint %}

<figure><img src="/files/d1zNDErZNsuIgD5EeGTQ" alt=""><figcaption></figcaption></figure>
