MakeUp
This API is perfect for enhancing portraits, making them look beautiful and natural with just a few clicks.
Endpoints
1. Makeup
Endpoint:
/makeup/v1/addtaskMethod: POST
Summary: Perform makeup operations on an image.
Request Body:
image_url: URL of the image to be processeduse_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/addtaskMethod: POST
Summary: Apply various effects to an image.
Request Body:
image_url: URL of the image to apply effects toeffect: Specify the effect to apply. Choose from a list of effects.
3. Result
Endpoint:
/makeup/v1/resultMethod: 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' \
'https://api.magicapi.dev/api/v1/capix/makeup/makeup/v1/addtask' \
-H 'accept: application/json' \
-H 'x-magicapi-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
curl -X 'POST' \
'https://api.magicapi.dev/api/v1/capix/makeup/makeup/v1/effect/addtask' \
-H 'accept: application/json' \
-H 'x-magicapi-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
curl -X 'POST' \
'https://api.magicapi.dev/api/v1/capix/makeup/makeup/v1/result' \
-H 'accept: application/json' \
-H 'x-magicapi-key: API_KEY' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'request_id=REQUEST_ID'Last updated