> ## Documentation Index
> Fetch the complete documentation index at: https://ailabtools.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Try on Clothes Premium

> Try on Clothes Premium API creates high-quality virtual try-on images with realistic garment fit, texture, and body alignment.

export const FileStoragePolicy = ({uploadedFiles, responseType}) => {
  const responseFileData = {
    URL: {
      stored: "Yes",
      retention: "24 Hours",
      deletion: "Automatic"
    },
    BASE64: {
      stored: "No",
      retention: "N/A",
      deletion: "Immediate"
    }
  };
  if (!uploadedFiles && !responseType) return null;
  return <div>
      <table>
        <thead>
          <tr>
            <th>Data Type</th>
            <th>Stored</th>
            <th>Retention</th>
            <th>Training</th>
            <th>Deletion</th>
          </tr>
        </thead>
        <tbody>
          {uploadedFiles && <tr>
              <td>Uploaded Files</td>
              <td>No</td>
              <td>N/A</td>
              <td>No</td>
              <td>Immediate</td>
            </tr>}
          {responseType && responseFileData?.[responseType] && <tr>
              <td>Response Files ({responseType})</td>
              <td>{responseFileData[responseType]['stored']}</td>
              <td>{responseFileData[responseType]['retention']}</td>
              <td>No</td>
              <td>{responseFileData[responseType]['deletion']}</td>
            </tr>}
        </tbody>
      </table>

      <Tip>
        For more information, see the{" "}<a href="/docs/file-storage-policy">File Storage Policy</a> and{" "}<a href="https://www.ailabtools.com/privacy-policy" target="_blank">Privacy Policy</a>.
      </Tip>
    </div>;
};

export const BillingInstructions = ({creditsPerRequest = 1}) => {
  const creditUnitPrice = 0.0027;
  const billingTiers = [{
    price: 6,
    credits: 2000,
    costPerCredit: 0.003
  }, {
    price: 30,
    credits: 10000,
    costPerCredit: 0.003
  }, {
    price: 300,
    credits: 110000,
    costPerCredit: 0.0027
  }, {
    price: 1500,
    credits: 550000,
    costPerCredit: 0.0027
  }, {
    price: 2500,
    credits: 1000000,
    costPerCredit: 0.0025
  }];
  const formatCurrency = (value, fractionDigits = 2) => value.toLocaleString("en-US", {
    style: "currency",
    currency: "USD",
    minimumFractionDigits: fractionDigits,
    maximumFractionDigits: fractionDigits
  });
  const formatNumber = (value, fractionDigits = 0) => value.toLocaleString("en-US", {
    minimumFractionDigits: fractionDigits,
    maximumFractionDigits: fractionDigits
  });
  return <>
      <table>
        <thead>
          <tr>
            <th style={{
    textAlign: "right"
  }}>Price</th>
            <th style={{
    textAlign: "right"
  }}>Requests</th>
            <th style={{
    textAlign: "right"
  }}>Cost / Request</th>
          </tr>
        </thead>
        <tbody>
          {billingTiers.map(tier => {
    const requests = tier.credits / creditsPerRequest;
    const costPerRequest = tier.costPerCredit * creditsPerRequest;
    return <tr key={tier.credits}>
                <td style={{
      textAlign: "right"
    }}>{formatCurrency(tier.price)}</td>
                <td style={{
      textAlign: "right"
    }}>{formatNumber(requests)}</td>
                <td style={{
      textAlign: "right"
    }}>
                  {formatCurrency(costPerRequest, 4)}
                </td>
              </tr>;
  })}
        </tbody>
      </table>

      <Tip>
        Each successful API request consumes{" "}<strong>{creditsPerRequest} credits (≈{" "}{formatCurrency(creditUnitPrice * creditsPerRequest, 4)})</strong>. Failed requests are not billed.

        <ul>
          <li>
            View pricing on the{" "}<a href="https://www.ailabtools.com/price?tab=api" target="_blank">pricing page</a>{" "}or manage credits in the{" "}<a href="https://www.ailabtools.com/developer/billing" target="_blank">developer platform</a>.
          </li>
          <li>
            Need more credits or an enterprise plan? Contact{" "}<a href="mailto:business@ailabtools.com">business@ailabtools.com</a>.
          </li>
        </ul>
      </Tip>
    </>;
};

export const ExperienceLinks = ({onlineUrl, apiUrl}) => {
  return <Tip>
      Explore this API through the{" "}<a href={`https://www.ailabtools.com${onlineUrl}`} target="_blank">👉 Online Experience 👈</a>{" "}or integrate it using the{" "}<a href={apiUrl}>👉 Run with API 👈</a>.
    </Tip>;
};

## Renderings show

| ORIGINAL IMAGE                                                                                    | GARMENT IMAGE                                                                                                                                                                      | RESULT IMAGE                                                                                  |
| :------------------------------------------------------------------------------------------------ | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------------------- |
| ![ORIGINAL IMAGE](https://ai-resource.ailabtools.com/try-on-clothes-pro/doc/OriginalImage-1.webp) | ![CLOTHING IMAGE](https://ai-resource.ailabtools.com/try-on-clothes-pro/doc/top-1.webp) ![CLOTHING IMAGE](https://ai-resource.ailabtools.com/try-on-clothes-pro/doc/bottom-1.webp) | ![RESULT IMAGE](https://ai-resource.ailabtools.com/try-on-clothes-pro/doc/ResultImage-1.webp) |
| ![ORIGINAL IMAGE](https://ai-resource.ailabtools.com/try-on-clothes-pro/doc/OriginalImage-1.webp) | ![CLOTHING IMAGE](https://ai-resource.ailabtools.com/try-on-clothes-pro/doc/suit-1.webp)                                                                                           | ![RESULT IMAGE](https://ai-resource.ailabtools.com/try-on-clothes-pro/doc/ResultImage-2.webp) |

<ExperienceLinks onlineUrl="/virtual-try-on-clothes" apiUrl="/docs/ai-portrait/editing/try-on-clothes-premium/api" />

## Billing Instructions

<BillingInstructions creditsPerRequest={50} />

## File Storage Policy

<FileStoragePolicy uploadedFiles responseType="URL" />

## What Is Try on Clothes Premium?

Try on Clothes Premium is the **high-quality version** of our Try on Clothes Pro engine.
Both products follow the same basic workflow, but Premium uses a more advanced generation pipeline to:

* refine garment fit and silhouette,
* preserve fabric details and prints,
* reduce artifacts around edges, hands, and complex areas.

Because of this enhancement, **each Premium request typically takes about 80 seconds**, compared to roughly **40 seconds** for Try on Clothes Pro.
In return, you get **cleaner, sharper, and more reliable try-on images** that are better suited for:

* product main images and detail pages,
* marketing and ad creatives,
* any scenario where visual quality is a priority.

***

## Typical Use Cases

* **E-commerce product & detail page images**
  Generate high-quality on-model visuals for category pages and product detail pages, focusing on garment shape, fit, and texture. Ideal for main images and hero placements.

* **Virtual try-on for models and consumers**
  Create personalized try-on results across different body types, skin tones, and styles so shoppers see looks that feel closer to their real-world appearance.

* **Marketing and social media content**
  Produce realistic lifestyle images for ads, social posts, and store banners, reducing reliance on physical shoots while keeping brand visuals consistent.

* **New product launch & design reference**
  Use virtual try-on images to support early listings, internal reviews, and concept boards. Combine fabric reference images with different styles for quick visual exploration.

***

## How Is Try on Clothes Premium Different from Try on Clothes Pro?

Try on Clothes Premium and Try on Clothes Pro share the same API structure and overall workflow, but they are tuned for different priorities.

**1. Image Quality & Detail**

* **Premium**
  * Enhanced pipeline for garment reconstruction and texture.
  * Better at preserving prints, seams, edges, and structural elements.
  * Recommended for main product images, campaigns, and high-visibility placements.

* **Pro**
  * Balanced quality with faster inference.
  * Well-suited for bulk generation, day-to-day e-commerce visuals, and rapid iteration.

**2. Processing Speed**

* **Premium**: \~**80 seconds** per successful request (per input combination), due to additional refinement and quality steps.
* **Pro**: \~**40 seconds** per request, better when quick preview and throughput matter.

**Recommended usage pattern:**

* Use **Try on Clothes Pro** for **preview, internal review, and large-scale testing**.
* Use **Try on Clothes Premium** for **final outputs** that will be exposed directly to users (main images, key detail shots, ad creatives).

***

## Upload Guidelines

To get the best results from Try on Clothes Premium, we recommend following the guidelines below.

### Garment Image (Flat Lay or Mannequin)

* Use a **high-resolution image** that shows the entire garment.
* Flat lay shots are ideal; clean mannequin photos also work well.
* Avoid heavy shadows, strong reflections, and busy backgrounds that hide edges.
* Make sure sleeves, hems, collars, and key design elements are **not cropped**.

Clean, complete garment images allow Premium to more accurately reconstruct **fit, shape, and fabric behavior**.

### Model Image (Person / Consumer Photo)

* Use a **front-facing full-body or half-body** photo with the model clearly visible.
* Prefer simple base clothing (e.g., T-shirt and shorts) so **arms and legs are not blocked**.
* Avoid:
  * long skirts covering the legs,
  * bulky outerwear or multi-layer outfits,
  * large accessories like scarves, umbrellas, or big bags.

The clearer the body silhouette, the more precisely Premium can overlay and adapt the garment.

***

## FAQ

* **Do I still need a flat lay garment image for Premium?**
  Yes. Premium is stronger at reconstruction, but it still depends on **clear garment structure and pattern information**. A high-quality flat lay or mannequin photo greatly improves the final try-on quality.

* **What if I don’t have a flat lay image?**
  You can photograph a colleague or friend wearing the garment in a well-lit environment, or place it on a mannequin. As long as the clothing is **fully visible and not heavily distorted**, Premium can process it.

* **Why does the generated image sometimes look soft or lack texture?**
  This usually indicates the **source garment image is low resolution, cropped, or blurry**. Try re-uploading a higher-resolution, fully framed garment photo so Premium can better enhance texture and structure.

* **When should I choose Premium instead of Pro?**
  Choose **Premium** for:
  * product **main images and detail close-ups**,
  * assets used in **ads, campaigns, and lookbooks**,
  * cases where visual quality is more important than speed.
    Choose **Pro** when you need **faster turnaround, bulk generation, or quick experimentation**.
