MakeUp

This API is perfect for enhancing portraits, making them look beautiful and natural with just a few clicks.

Endpoints

1. Makeup

  • Endpoint: /makeup/

  • 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/effect/

  • 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/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

Color Enhancement

Skin Makeup

Shine Remove

Wrinkle Smooth

Red Eye Remove

Teeth Whitining

Glamour Effect

Code Snippets

MakeUp

curl -X POST \
  -H "Content-Type: application/json" \
  -H "token: API_KEY" \
  -d '{
    "image_url": "https://telegra.ph/file/d0cf3f2b22461f5fcb2a1.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
  }' \
  "https://www.capix.uz/v2/makeup/"

Effect

curl -X POST \
  -H "accept: application/json" \
  -H "token: API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image_url": "https://telegra.ph/file/d0cf3f2b22461f5fcb2a1.png",
    "effect": "Dreamy Retro"
  }' \
  "https://www.capix.uz/v2/makeup/effect/"

Result

curl -X POST \
  -H "accept: application/json" \
  -H "token: API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "request_id": "REQUEST_ID"
  }' \
  "https://www.capix.uz/v2/makeup/result"

Last updated