# TryOn AI API Documentation

Welcome to the TryOn AI API Playground!

Explore our APIs and easily integrate them into your applications. You can also visit our UI to test and experience our AI models quickly.

{% hint style="info" %}
We offer you 5 free credits. Each credit allows you to:

* Do one virtual try-on
* Reimagine an image
* Generate one outfit
* Generate a caption for a single outfit

Please send an email to us at <contact@tryonlabs.ai> to get more credits.
{% endhint %}

### TryOn AI APIs

<table data-view="cards"><thead><tr><th></th><th align="center"></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td></td><td align="center"><a href="api-playground/authentication"><strong>Authentication</strong></a></td><td></td><td></td></tr><tr><td></td><td align="center"><a href="api-playground/virtual-try-on"><strong>Virtual Try-On</strong></a></td><td></td><td><a href="api-playground/virtual-try-on">virtual-try-on</a></td></tr><tr><td></td><td align="center"><a href="api-playground/model-swap"><strong>Modal Swap</strong></a></td><td></td><td><a href="api-playground/model-swap">model-swap</a></td></tr><tr><td></td><td align="center"><a href="outfit-generation"><strong>Outfit Generation</strong></a></td><td></td><td></td></tr><tr><td></td><td align="center"><a href="outfit-captioning"><strong>Outfit Captioning</strong></a></td><td></td><td></td></tr></tbody></table>

### Try Our UI Playground

<table data-view="cards"><thead><tr><th align="center"></th><th align="center"></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center"></td><td align="center"><a href="https://playground.tryonlabs.ai/tryonai"><strong>Virtual Try-On UI</strong></a></td><td></td><td><a href="https://3843449255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmG9ClhcdY5kONghs8B56%2Fuploads%2FZMcx54X7A4W0SMEMSxp0%2FMetaScreenshot.png?alt=media&#x26;token=1a4a188e-d3a9-47ea-824f-3955261c9806">MetaScreenshot.png</a></td><td><a href="https://playground.tryonlabs.ai">https://playground.tryonlabs.ai</a></td></tr><tr><td align="center"></td><td align="center"><a href="https://playground.tryonlabs.ai/reimagineai"><strong>Reimagine UI</strong></a></td><td></td><td><a href="https://3843449255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmG9ClhcdY5kONghs8B56%2Fuploads%2FW0L3I6x9j571fdQD5Wos%2Fvirtual-tryon.png?alt=media&#x26;token=81afdbc9-0521-41d9-bb07-e02367f40f98">virtual-tryon.png</a></td><td><a href="https://playground.tryonlabs.ai/">https://playground.tryonlabs.ai/</a></td></tr><tr><td align="center"></td><td align="center"><a href="https://playground.tryonlabs.ai/outfitai"><strong>Outfit Generation UI</strong></a></td><td></td><td><a href="https://3843449255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmG9ClhcdY5kONghs8B56%2Fuploads%2FD1xvLnP39OXHHz9lK54M%2FOutfit%20Generation%20Samples%20(1).png?alt=media&#x26;token=43129402-a3f7-44cf-ab48-675e8d9fc69c">Outfit Generation Samples (1).png</a></td><td></td></tr><tr><td align="center"></td><td align="center"><a href="https://playground.tryonlabs.ai/outfitcaptionai"><strong>Outfit Captioning UI</strong></a></td><td></td><td><a href="https://3843449255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmG9ClhcdY5kONghs8B56%2Fuploads%2FaynnozBp8IP0IX0ppEsj%2FOutfit%20Generation%20Samples%20(3).png?alt=media&#x26;token=38233a77-3345-4492-bdf3-9aed89360935">Outfit Generation Samples (3).png</a></td><td></td></tr></tbody></table>

### Coming Soon...

<table data-view="cards"><thead><tr><th></th><th align="center"></th><th></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td></td><td align="center"><strong>Fashion Model Generation</strong></td><td></td><td></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.tryonlabs.ai/readme.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.
