# Model Swap

<figure><img src="/files/RWEPZ1Sh5Azja7Hpa0h9" alt=""><figcaption><p>Mannequin to Fashion Model</p></figcaption></figure>

<figure><img src="/files/SwpLoaWvzw7eryXJyE38" alt=""><figcaption><p>Human to Fashion Model</p></figcaption></figure>

### Upload Image

{% openapi src="/files/dqsAtwj4TIq6G6DXX91P" path="/api/v1/experiment\_image/" method="post" %}
[openapi.json](https://3843449255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmG9ClhcdY5kONghs8B56%2Fuploads%2Fah0zXDhGCtuohsO2ccux%2Fopenapi.json?alt=media\&token=446580bf-3cb1-40d1-aad3-5f4544899178)
{% endopenapi %}

### Get Status of Uploaded Image

{% openapi src="/files/dXAeeGVv8ZVBDD9D60zd" path="/api/v1/experiment\_image/{id}/" method="get" %}
[openapi.json](https://3843449255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmG9ClhcdY5kONghs8B56%2Fuploads%2F4fvnNpRySp7K1CukZ58n%2Fopenapi.json?alt=media\&token=b260e04e-c0e8-4b7e-b39d-32b0740ddf83)
{% endopenapi %}

### Start the Model/Mannequin Swap

{% openapi src="/files/dqsAtwj4TIq6G6DXX91P" path="/api/v1/experiment/" method="post" %}
[openapi.json](https://3843449255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmG9ClhcdY5kONghs8B56%2Fuploads%2Fah0zXDhGCtuohsO2ccux%2Fopenapi.json?alt=media\&token=446580bf-3cb1-40d1-aad3-5f4544899178)
{% endopenapi %}

### Get Status of Model Swap

{% openapi src="/files/dXAeeGVv8ZVBDD9D60zd" path="/api/v1/experiment/{id}/" method="get" %}
[openapi.json](https://3843449255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmG9ClhcdY5kONghs8B56%2Fuploads%2F4fvnNpRySp7K1CukZ58n%2Fopenapi.json?alt=media\&token=b260e04e-c0e8-4b7e-b39d-32b0740ddf83)
{% endopenapi %}

### Download the Swapped Image

{% openapi src="/files/dXAeeGVv8ZVBDD9D60zd" path="/api/v1/ei/{id}/d?token={token}/" method="get" %}
[openapi.json](https://3843449255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmG9ClhcdY5kONghs8B56%2Fuploads%2F4fvnNpRySp7K1CukZ58n%2Fopenapi.json?alt=media\&token=b260e04e-c0e8-4b7e-b39d-32b0740ddf83)
{% endopenapi %}


---

# 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/api-playground/model-swap.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.
