Our Human Background Removal API is engineered to accurately identify and separate human outlines from backgrounds in real-world images, providing high-quality segmented portrait images in four channels (RGBA). Ideal for applications in photo editing, digital marketing, social media content creation, and more, this API ensures clean and professional cutouts of human subjects, enhancing the visual appeal and focus of your images. Specifically designed for real-world human photos, this API is not suitable for cartoon images. By integrating our API, you can streamline your image processing workflows, enhance visual presentations, and improve user engagement. Enjoy seamless integration, exceptional performance, and high scalability with our Human Background Removal API, tailored to meet the demands of modern digital applications.
{"data":{"image_url":"https:\/\/ai-result-rapidapi.ailabtools.com\/cutout\/segmentBody\/2024-06-29\/075454-1e132e48-db32-aee8-8e42-145b92948e6d-1719647694.png"},"error_code":0,"error_detail":{"status_code":200,"code":"","code_message":"","message":""},"log_id":"388F9911-325D-591E-8363-0EC5D9E1AF45","request_id":"388F9911-325D-591E-8363-0EC5D9E1AF45"}
curl --location 'https://zylalabs.com/api/4405/human+background+removal+api/5414/human+background+removal' \
--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 Human Background Removal API is engineered to accurately identify and separate human outlines from backgrounds in real-world images, providing high-quality segmented portrait images in four channels (RGBA). Ideal for applications in photo editing, digital marketing, social media content creation, and more, this API ensures clean and professional cutouts of human subjects, enhancing the visual appeal and focus of your images. Specifically designed for real-world human photos, this API is not suitable for cartoon images. By integrating our API, you can streamline your image processing workflows, enhance visual presentations, and improve user engagement.
Portrait Photography: Enhancing portrait images by removing distracting backgrounds, ensuring the focus remains on the subject's face and features. ID Photos and Passport Images: Editing personal photos for official documents, ensuring a clear and uniform background. Social Media Profiles: Creating professional-looking profile pictures for social media platforms by removing cluttered or unattractive backgrounds. Family and Group Photos: Editing family or group photos to remove distractions and improve the overall composition. Event Photography: Enhancing event photos by removing unwanted backgrounds, creating cleaner and more polished images.
Enhanced Visual Focus: Removes distractions from the background, directing attention to the human subject. Professional Presentation: Provides clean and polished images suitable for various purposes, including personal use, professional profiles, and official documents. Time Efficiency: Streamlines the editing process, allowing for faster production of high-quality human images. Flexibility in Design: Enables customization of backgrounds or integration into different settings for creative purposes. Versatility: Applicable to various types of human images, including portraits, group photos, and event photography.
The API returns high-quality segmented portrait images in various formats, including a four-channel PNG image by default. Users can also request a single-channel mask, an image with a white background, or a cropped version of the image.
The response data includes fields such as `request_id`, `log_id`, `error_code`, `error_msg`, and `data`. The `data` field contains the `image_url`, which is the URL of the processed image.
The response data is structured in a JSON format, with a top-level object containing public parameters and a `data` object. The `data` object specifically holds the `image_url` for accessing the processed image.
The endpoint accepts two parameters: `image`, which is required and must be a supported image file, and `return_form`, which is optional and allows users to specify the desired output format (e.g., `mask`, `whiteBK`, `crop`).
Users can customize their requests by selecting the `return_form` parameter to specify how they want the output image processed. For example, they can choose to receive a mask or an image with a white background instead of the default PNG.
The API provides information related to human segmentation in images, including the processed image URL and error codes for troubleshooting. It focuses on accurately separating human outlines from backgrounds in real-world photos.
Users can utilize the returned `image_url` to download the processed image for use in various applications, such as photo editing or social media. It's important to download the image within 24 hours, as the URL expires after that period.
Typical use cases include enhancing portrait photography by removing backgrounds, creating professional ID photos, and preparing images for social media profiles. The API is designed to streamline these processes and improve image quality.
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:
100%
Response Time:
469ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
3,629ms
Service Level:
100%
Response Time:
6,570ms
Service Level:
100%
Response Time:
430ms
Service Level:
100%
Response Time:
5,867ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
22ms
Service Level:
100%
Response Time:
2,041ms
Service Level:
100%
Response Time:
300ms
Service Level:
100%
Response Time:
2,221ms
Service Level:
100%
Response Time:
212ms
Service Level:
100%
Response Time:
225ms
Service Level:
100%
Response Time:
2,466ms
Service Level:
100%
Response Time:
1,140ms
Service Level:
100%
Response Time:
1,351ms
Service Level:
100%
Response Time:
5,140ms
Service Level:
100%
Response Time:
4,427ms
Service Level:
100%
Response Time:
1,115ms