Photo Retouching API API ID: 2503

Elevate visual appeal with the Photo Retouching API. Utilizing cutting-edge image processing, it transforms input face images into enhanced portraits. From skin refinement to facial feature adjustments, it caters to beauty apps, cameras, and interactive platforms, effortlessly enhancing user images for captivating results.
Use this API from your AI agent via MCP
Works with OpenClaw, Claude Code/Desktop, Cursor, Windsurf, Cline and any MCP-compatible AI client.
Docs & setup
Create a skill by wrapping this MCP: https://mcp.zylalabs.com/mcp?apikey=YOUR_ZYLA_API_KEY

About the API:

Unleash the potential of visual transformation with the Photo Retouching API. Powered by advanced image processing technology, this API intelligently enhances input face images, offering a spectrum of improvements. Designed to elevate the beauty capabilities of cell phone manufacturers, beauty apps, and various camera applications, it enables seamless refinements.

From skin enhancement to skin tone harmonization, the API brings forth a range of enhancements. The integrated intelligence facilitates skin sharpening, skin tone whitening, face slimming, and the adjustment of five distinct facial features, allowing for a comprehensive makeover in just one click. Additionally, the API offers spot and acne treatment, ensuring the ultimate portrait perfection.

Beyond the realm of beauty applications, this versatile API finds its utility in interactive entertainment and diverse scenarios. For instance, it can be seamlessly integrated into live streaming, short video platforms, and social networking environments, effortlessly elevating user images. The enhanced visuals not only captivate audiences but also contribute to a more confident and appealing online presence.

The Photo Retouching API boasts a user-friendly integration process. Developers can harness its power by accessing endpoints and following comprehensive documentation that provides insights into request formats, parameters, and integration techniques.

With the capacity to adapt its transformative capabilities across industries, the API revolutionizes how images are perceived and presented. From boosting e-commerce product images to refining user-generated content, it paves the way for a new standard of visual enhancement. The API's ability to intelligently enhance images aligns with the growing demand for captivating, high-quality visuals across digital platforms.

 

What your API receives and what your API provides (input/output)?

Pass the image file that you want to retouch. Receive a base 64 image retouched. 

 

What are the most common use cases of this API?

  1. Beauty and Selfie Apps:

    Beauty and selfie applications can integrate the API to provide users with instant facial enhancements. From skin smoothing to adjusting facial features, users can achieve their desired look effortlessly, boosting their confidence and creating share-worthy selfies.

  2. E-Commerce Product Imagery:

    E-commerce platforms can leverage the API to enhance product images. By retouching product photos, especially for cosmetic and fashion items, businesses can present a polished and appealing representation of their products, attracting more customers and driving sales.

  3. Live Streaming and Video Platforms:

    Live streaming and short video platforms can offer users the ability to instantly improve their appearance during broadcasts. This feature caters to content creators, allowing them to present themselves in the best possible light, enhancing their visual presence and engagement with viewers.

  4. Social Media Enhancement:

    Social networking platforms can integrate the API to empower users to enhance their profile pictures and posts. The API's retouching capabilities can help users achieve professional-looking visuals, contributing to a more aesthetically pleasing and engaging social media presence.

  5. Interactive Entertainment Applications:

    Gaming and interactive entertainment apps can utilize the API to enhance avatars and character visuals. Players can create or modify their in-game characters, ensuring a personalized and visually appealing gaming experience that aligns with their preferences.

 

Are there any limitations to your plans?

Besides the number of API calls allowed per plan, there are no other limitations. 

API Documentation

Endpoints


To use this endpoint, you must upload an image in the parameter.



                                                                            
POST https://zylalabs.com/api/2503/photo+retouching+api/2484/retouch
                                                                            
                                                                        

Retouch - Endpoint Features

Object Description
Request Body [Required] File Binary

Free test requests remaining: 3 of 3.


INPUT PARAMETERS


API EXAMPLE RESPONSE

{"data":{"image":"\/9j\/4AAQSkZJRgABAQAAAQABAAD\/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQICAQECAQEBAgICAgICAgICAQICAgICAgICAgL\/2wBDAQEBAQEBAQEBAQECAQEBAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL\/wAARCAVMBBADASIAAhEBAxEB\/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL\/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6\/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL\/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6\/9oADAMBAAIRAxEAPwD+oCiiivQPPCio\/wDRv84qSgAooqxQBXoqxVegAqxRRQBXqxVerFAFeiiigAqxVerFB6AVXoqxQBXqxRRQAUUUUAFFFFABRRRQeeFFFFABRRRQAUUVoUAZ9FaFFABRWfWhQAUUUUAZ9aFFFABRRRQAUUUUAFFFFABRRRQAUVe+f\/Z\/WqNABRRRQAVe+f8A2f1qjRQAUVe+f\/Z\/Wj5\/9n9aAKNXvn\/2f1o+f\/Z\/Wj5\/9n9aAD5\/9n9aPn\/2f1o+f\/Z\/Wm\/8ff8An\/P+TQegO+f\/AGf1o+f\/AGf1ptt2\/wA\/3qd8\/wDs\/rQAfP8A7P60fP8A7P60fP8A7P6037N7f5\/76oAd8\/8As\/rR8\/8As\/rR8\/8As\/rR8\/8As\/rQAfP\/ALP60fP\/ALP60fP\/ALP61aoAq\/P\/ALP60fP\/ALP61aooAq\/P\/s\/rR8\/+z+tWqKACiiigCr8\/+z+tWqKKACqvz\/7P61aooAKKKKACiiigAooooAKKKKDzw8j3\/X\/61FFFABRRRQAeR7\/r\/wDWooooAKKKKACiiigAooooAPI9\/wBf\/rUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFF..."},"_note":"Response truncated for documentation purposes"}

Retouch - CODE SNIPPETS


    curl --location 'https://zylalabs.com/api/2503/photo+retouching+api/2484/retouch' \
    --header 'Content-Type: application/json' \ 
    --form 'image=@"FILE_PATH"'


API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Photo Retouching API simply include your bearer token in the Authorization header.
Headers
Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.

🚀 Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

Customer favorite features

  • ✔︎ Only Pay for Successful Requests
  • ✔︎ Free 7-Day Trial
  • ✔︎ Multi-Language Support
  • ✔︎ One API Key, All APIs.
  • ✔︎ Intuitive Dashboard
  • ✔︎ Comprehensive Error Handling
  • ✔︎ Developer-Friendly Docs
  • ✔︎ Postman Integration
  • ✔︎ Secure HTTPS Connections
  • ✔︎ Reliable Uptime

Photo Retouching API FAQs

The Photo Retouching API is a sophisticated image processing tool designed to intelligently enhance facial images. It utilizes advanced algorithms to improve various aspects of the input face picture, such as skin quality, facial features, and overall aesthetics.

The API employs cutting-edge image processing technology that intelligently analyzes facial features and makes targeted enhancements. It can perform tasks such as skin smoothing, skin tone adjustments, face slimming, and spot/acne treatment, achieving a polished and refined look.

The API's applications are diverse, spanning industries like beauty and selfie apps, e-commerce, social media platforms, interactive entertainment, and more. It caters to scenarios where visual enhancement and transformation are valuable.

The API's accuracy is influenced by its underlying algorithms and the quality of the input image. While it generally provides impressive results, the precision can vary depending on factors like image complexity and the extent of enhancements applied.

The API is typically designed to work with a wide range of faces across diverse demographics.

The Retouch endpoint returns a base64-encoded image of the retouched portrait. This allows users to easily integrate the enhanced image into their applications or platforms without needing additional processing.

The key field in the response data is "image," which contains the base64-encoded string of the retouched image. This string can be directly used to display the enhanced image in various applications.

The Retouch endpoint primarily accepts the image file as input. Users can customize their requests by specifying additional parameters for specific enhancements, such as skin smoothing or feature adjustments, depending on the API's capabilities.

The response data is structured in a JSON format, with a main "data" object containing the "image" field. This organization allows for easy parsing and integration into applications that require the retouched image.

Data accuracy is maintained through advanced image processing algorithms that analyze and enhance facial features. Continuous updates and improvements to these algorithms help ensure high-quality results across various input images.

Typical use cases include enhancing selfies for social media, improving product images for e-commerce, and refining visuals for live streaming. These applications benefit from the API's ability to create polished and appealing images.

Users can utilize the returned base64-encoded image by decoding it and displaying it in their applications. This allows for seamless integration of enhanced visuals into user interfaces, enhancing overall user experience.

The Retouch endpoint provides information related to the retouched image, including enhancements made to skin quality, facial features, and overall aesthetics. This data is crucial for applications focused on beauty and visual appeal.

General FAQs

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.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

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.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

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.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund


Related APIs