Our Smart Beauty API utilizes advanced Generative Adversarial Network (GAN) technology to enhance the beauty of faces in images. This powerful API can automatically transform faces to appear more attractive, making subtle yet impactful adjustments. It supports beautification for the largest face in an image and can handle up to 18 faces within a single picture. Ideal for applications in photography, social media, and beauty tech, the Smart Beauty API offers a robust solution for creating stunning, enhanced portraits. Integrate this API into your platform to provide users with state-of-the-art facial enhancement capabilities, delivering natural and visually pleasing results that elevate their photos.
{"data":{"image":"\/9j\/4AAQSkZJRgABAQAAAQABAAD\/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQICAQECAQEBAgICAgICAgICAQICAgICAgICAgL\/2wBDAQEBAQEBAQEBAQECAQEBAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL\/wAARCADsAMUDASIAAhEBAxEB\/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL\/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6\/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL\/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6\/9oADAMBAAIRAxEAPwD+qCiiiucAooooAKKKKACiiigNyT95\/nbR+8\/ztr5f\/ap\/bE+B37HfgnSvHHxn8U3eg6X4h8V6R4O0OysbIarq2oax4kBJHPUf0Ffgr\/wUJ\/4L1eOPgrrJ8Efs4fCjSbq6u7\/\/AJKD8Tj\/AMSn\/kAHxKP+Ke\/i6r+f0ra391HX9T20tfyR\/UVgf3P1Pv7e361X\/cf8\/X\/oXt\/t+\/6V\/ADrn\/Bbn9vH4tTXXhfxB8UT4NtRZf2d\/wAWx0T\/AIRXVtQAOMdOnT86\/XT4Lf8ABZDUYPh9penfFDw\/d213pOh6vqH9taLff8JV\/aI7kg9Dkf4da5frUl5\/OXl5nR\/ZbdrTv835f19x\/T9\/aWn\/APQQt\/zPt\/s+\/wClVoPEfh++lNvb6xpF1d8AfYr8Z9SDnv8A154r+AT9oX\/guD+1R4\/\/ALU0fwtc+HvhNpd3rh1Cx\/4RcnStWJxxjxB69Py+tfER\/ba\/aB13XtL8QeIP2gPiHoOqWmfsOtWXxG8daTxuGB0+me4x09T63Ltf5vy8x\/2U9Lyv6t+R\/p2QzW9xgW1zux1zwPble\/19fzn2sOcfy78V\/Dn+x1\/wVe+O\/g7xhpej\/Ej9pDSdf8G+IQCL3..."},"_note":"Response truncated for documentation purposes"}
curl --location 'https://zylalabs.com/api/4445/smart+beauty+api/5458/smart+beauty' \
--header 'Content-Type: application/json' \
--form 'image=@"FILE_PATH"'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime.
Our Smart Beauty API utilizes advanced Generative Adversarial Network (GAN) technology to enhance the beauty of faces in images. This powerful API can automatically transform faces to appear more attractive, making subtle yet impactful adjustments. It supports beautification for the largest face in an image and can handle up to 18 faces within a single picture. Ideal for applications in photography, social media, and beauty tech, the Smart Beauty API offers a robust solution for creating stunning, enhanced portraits.
Intelligent beauty: to help cell phone manufacturers, beauty app and other camera class beauty ability, one key intelligent to achieve sharpening skin, skin tone whitening, thin face, five features adjustment, spot and acne treatment. Interactive entertainment: applied to live broadcast, short video, social platforms, easily enhance the user's image.
Outstanding algorithm: Based on massive data training and polishing of actual business scenarios, the effect is outstanding. Rich capability: provide rich editable expression types to meet the needs of various business scenarios. Continuous upgrade: Algorithm engineers continuously upgrade algorithms and service engineers provide reliable support. Business-driven: The algorithm continues to iterate in response to business needs, helping to optimize the effect continuously.
The Smart Beauty API returns an image in Base64 encoding format as part of the response data. This image represents the enhanced version of the input image after applying beauty adjustments.
The key fields in the response data include `request_id`, `log_id`, `error_code`, `error_msg`, and `data`. The `data` field contains the enhanced image under the `image` subfield.
The response data is structured as a JSON object. It includes public parameters for request tracking and error handling, along with a `data` object that contains the enhanced image.
The parameters for the Smart Beauty endpoint include `image_target` (required), `multi_face` (optional), and `beauty_level` (optional). Users can customize the beautification process by adjusting these parameters.
Users can customize their requests by specifying the `multi_face` parameter to enhance multiple faces or the `beauty_level` parameter to adjust the intensity of beautification, ranging from 0 to 1.
The Smart Beauty API provides information on the enhanced image, including its Base64 representation. It also returns metadata such as error codes and messages for troubleshooting.
Users can decode the Base64 image string from the `data.image` field to display or save the enhanced image. They can also check the `error_code` and `error_msg` for any issues during processing.
Typical use cases include enhancing selfies for social media, improving images in beauty apps, and providing real-time beautification in live broadcasts or video calls.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
98%
Response Time:
0ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
4,163ms
Service Level:
100%
Response Time:
885ms
Service Level:
100%
Response Time:
800ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
280ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
974ms
Service Level:
100%
Response Time:
344ms
Service Level:
100%
Response Time:
381ms
Service Level:
100%
Response Time:
2,205ms
Service Level:
100%
Response Time:
844ms
Service Level:
100%
Response Time:
166ms
Service Level:
100%
Response Time:
207ms
Service Level:
100%
Response Time:
904ms
Service Level:
100%
Response Time:
432ms
Service Level:
100%
Response Time:
1,357ms
Service Level:
100%
Response Time:
764ms