# How do I adjust the garment length?

## 1. Product shot: using the 'brush tool'

In photos where only the product is shown alone, the result depends on how the user defines the area with the brush.

* How to use: paint the area where you want to adjust the length with a brush.
* Point: when shortening the length, prompt so that the existing (sleeve) design is preserved.&#x20;

{% hint style="info" %}
Shorten the sleeve lengths to end at the top boundary of the purple masked areas, \
while perfectly preserving all original design details of the cuffs. \
Remove the purple masked areas from the final result.
{% endhint %}

<figure><img src="/files/7c81025379d59123de5351ac9434dfa1d9906c64" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/2170cbcc29245d3d0038fa10c265609177e5a417" alt=""><figcaption></figcaption></figure>

## 2. Model shot: using 'body information'

For photos of a model wearing the clothing, adjust the length by using body information such as the model's elbows, knees, and ankles.

* How: use the brush to specify the area where you want to extend the garment length.
* Point: it is more accurate if you write the prompt using body information.

{% hint style="info" %}
Change the dress skirt length to a shorter midi length. \
Edit the image so that the original model's legs are visible, not the skirt in the purple area.\
Remove the purple masked areas from the final result.
{% endhint %}

<figure><img src="/files/669de39c6d792ec5e83c9b6695a011cd03f6f1d5" alt=""><figcaption></figcaption></figure>

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

***

## 3. Advanced: using design 'reference points' instead of numerical values (cm)

AI cannot calculate physical lengths. Instead, if you write prompts using the clothing's detail points or body landmarks as reference points, you can dramatically reduce errors.

### 3-1. Communicating with a 'design guideline'

Instead of saying "extend it by 5 cm," specify the endpoint where the garment ends in design terms.

| **Adjustment area** | **Designer intent**                          | **Recommended AI prompt (translation)** |
| ------------------- | -------------------------------------------- | --------------------------------------- |
| Sleeve              | Shorten to the wrist bone position           | `End at the wrist bone`                 |
|                     | Extend to cover half of the back of the hand | `Extend to the knuckles`                |
| Top length          | Align with the hip line                      | `Align the hem with the hip bone`       |
|                     | Length covering the buttocks                 | `Length covering the buttocks`          |
| Bottom length       | Adjust to the ankle bone position            | `Crop at the ankle bone`                |
|                     | Length covering the shoes                    | `Full-length, covering the shoes`       |

### 3-2. Using clothing 'details' as reference points

Using elements already built into the clothing as references improves design consistency.

* Pocket reference: "Align the jacket hem with the bottom edge of the side pockets."
* Button reference: "Shorten the length to the position of the bottom button."
* Seam reference: "Raise the sleeve to the height of the elbow seam."

## 4. Recommended prompts for adjusting length by clothing type

Prompt usage formula (Template)

{% hint style="info" %}
\[Verb: Shorten/Extend] the \[part: Sleeve/Waist/Hem] to the boundary of the masked areas, while perfectly preserving all original design details.&#x20;
{% endhint %}

### 3-1. Tops: adjusting sleeves and overall length

<figure><img src="/files/986ff4692cec92cd931584400a9e64bcb190937b" alt=""><figcaption></figcaption></figure>

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

<table data-header-hidden><thead><tr><th width="195.81817626953125"></th><th></th></tr></thead><tbody><tr><td><strong>Editing goal</strong></td><td><strong>Recommended prompt (Copy &#x26; Paste)</strong></td></tr><tr><td>Shorten sleeve length</td><td><code>Shorten the sleeve lengths to end at the top boundary of the masked areas, while perfectly preserving all original design details of the cuffs.</code></td></tr><tr><td>Extend sleeve length</td><td><code>Extend the sleeve lengths into the masked areas, matching the original fabric texture and seamless connection to the cuffs.</code></td></tr><tr><td>Shorten top length</td><td><code>Shorten the total length of the garment to the top boundary of the masked areas, while perfectly preserving the original hemline design and fabric texture.</code></td></tr><tr><td>Extend top length</td><td><code>Extend the total length into the masked areas to increase the length, ensuring the fabric texture and hemline style match the original design perfectly.</code></td></tr></tbody></table>

### 3-2. Bottoms: adjusting hem and waistline

<figure><img src="/files/06526a4f6d5e3fe92661ee287c007570fd4de068" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/61e9527dedd8548478458588852b476b13799509" alt=""><figcaption></figcaption></figure>

<table data-header-hidden><thead><tr><th width="191.272705078125"></th><th></th></tr></thead><tbody><tr><td><strong>Editing goal</strong></td><td><strong>Recommended prompt (Copy &#x26; Paste)</strong></td></tr><tr><td>Shorten pants/skirt length</td><td><code>Shorten the hemline to the top boundary of the masked areas, while perfectly preserving the original stitching and finish details.</code></td></tr><tr><td>Extend pants/skirt length</td><td><code>Extend the hemline into the masked areas to increase the length, ensuring the fabric texture and fit match the original design perfectly.</code></td></tr><tr><td><p>Raise the waistline <br></p><p>(high-waisted)</p></td><td><code>Adjust the waistline to the top of the masked areas to create a high-waisted fit, while preserving all original belt loops and button details.</code></td></tr><tr><td><p>Change the hem detail<br></p><p>(raw-edge finish, etc.)</p></td><td><code>Replace the original hem within the masked areas with a natural frayed raw-edge finish, while keeping the rest of the garment design intact.</code></td></tr></tbody></table>


---

# Agent Instructions: 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://docs.styleai.io/product-docs/product-docs-en/readme-2/how-do-i-adjust-the-garment-length.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.
