# MakeUp

#### [Try Demo](https://api.market/store/capix/makeup)

### Endpoints

#### 1. Makeup

* **Endpoint**: `/makeup/v1/addtask`
* **Method**: POST
* **Summary**: Perform makeup operations on an image.
* **Request Body**:
  * `image_url`: URL of the image to be processed
  * `use_skin_healing`: Enable skin healing feature (default: true)
  * `use_eyes_enhancement`: Enable eye enhancement feature (default: true)
  * `use_teeth_whitening`: Enable teeth whitening feature (default: true)
  * `use_portrait_filters`: Enable portrait filters feature (default: true)
  * `use_flash_healing`: Enable flash healing feature (default: true)
  * `use_wrinkles_healing`: Enable wrinkle healing feature (default: true)
  * `use_skin_color_corrector`: Enable skin color correction feature (default: true)

#### 2. Effect

* **Endpoint**: `/makeup/v1/effect/addtask`
* **Method**: POST
* **Summary**: Apply various effects to an image.
* **Request Body**:
  * `image_url`: URL of the image to apply effects to
  * `effect`: Specify the effect to apply. Choose from a list of effects.

#### 3. Result

* **Endpoint**: `/makeup/v1/result`
* **Method**: POST
* **Summary**: Get the result of makeup or effect processing.
* **Request Body**:
  * `request_id`: ID of the request to retrieve the result

Here's a description of the effects:

Color effects: `None`, `Dreamy Retro`, `Sunny Retro`, `Poster Look`, `Fantasy Blue`, `Caramel Haze`, `Retro Sepia`, `Bronze Sepia`, `Dramatic Look`, `Hot Sunset`, `Dramatic Retro`, `Hdr`.

Stylized effects: `None`, `Vintage Card`, `Soft Lilac`, `Vignetting`, `Rain Drops`, `Old Style BW`, `Old Photo`, `Sweet Caramel`, `Retro Film`, `Dramatic Bronze`, `Rainbow Sketch`, `Triptych Effect`, `Rain Effect`, `Snow Effect`.

Backgrounds: `None`, `Dreams of Love`, `Dreams of Paris`, `Lilac Dreams`, `Light Bokeh`, `Flower Dream`, `Sunny Field`, `Frozen Window`, `Dreamlike Scenery`, `Tropical Butterflies`, `Maple Leaves`, `Old Cityscape`, `Old Street Frame`, `Christmas Bokeh`, `In the Wave`, `Magic Snowflakes`, `Industrial`, `Stylish Snakeskin`, `Winter Scenery`.

Lighting effects: `None`, `Rainbow Rays`, `Romantic Landscape`, `Mysterious Rays`, `Dawn Light`, `Floodlights`, `Evening Light`, `Moon Night`.

### Results <a href="#results" id="results"></a>

<figure><img src="https://i.imgur.com/WLEW4M1.png" alt=""><figcaption></figcaption></figure>

Color Enhancement

<figure><img src="https://i.imgur.com/J0L2FQc.jpeg" alt=""><figcaption></figcaption></figure>

Skin Makeup

<figure><img src="https://i.imgur.com/SIpYAf8.png" alt=""><figcaption></figcaption></figure>

Shine Remove

<figure><img src="https://i.imgur.com/WxSARXw.png" alt=""><figcaption></figcaption></figure>

Wrinkle Smooth

<figure><img src="https://i.imgur.com/31ROSRR.png" alt=""><figcaption></figcaption></figure>

Red Eye Remove

<figure><img src="https://i.imgur.com/yN0kXVl.png" alt=""><figcaption></figcaption></figure>

Teeth Whitining&#x20;

<figure><img src="https://i.imgur.com/lB79SK9.png" alt=""><figcaption></figcaption></figure>

Glamour Effect

### Code Snippets <a href="#code-snippets" id="code-snippets"></a>

**MakeUp**

```sh
curl -X 'POST' \
  'https://prod.api.market/api/v1/capix/makeup/makeup/v1/addtask' \
  -H 'accept: application/json' \
  -H 'x-api-market-key: API_KEY' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'image_url=https%3A%2F%2Ftelegra.ph%2Ffile%2Fd0cf3f2b22461f5fcb2a1.png&use_skin_healing=true&use_eyes_enhancement=true&use_teeth_whitening=true&use_portrait_filters=true&use_flash_healing=true&use_wrinkles_healing=true&use_skin_color_corrector=true'
```

**Effect**

```sh
curl -X 'POST' \
  'https://prod.api.market /api/v1/capix/makeup/makeup/v1/effect/addtask' \
  -H 'accept: application/json' \
  -H 'x-api-market-key: API_KEY' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'image_url=https%3A%2F%2Ftelegra.ph%2Ffile%2Fd0cf3f2b22461f5fcb2a1.png&effect=Dreamy%20Retro'
```

**Result**

```sh
curl -X 'POST' \
  'https://prod.api.market/api/v1/capix/makeup/makeup/v1/result' \
  -H 'accept: application/json' \
  -H 'x-api.market-key: API_KEY' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'request_id=REQUEST_ID'
```


---

# 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.api.market/api-product-docs/capix-ai/makeup.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.
