• Product Updates
  • Feb 24, 2021

How does Slazzer’s API work?

Technology is evolving and it’s making things easier for people and businesses all over the world. Similarly, with the Slazzer API, anyone can now process millions of images and integrate it in their own project smoothly with just a single API call. Customize images in REAL TIME and add new background colors, custom backgrounds or crop the image by pixel. Use the advanced parameters to customize as per your needs, it’s 100% automatic and versatile.

Now, you can set a transparent or white background for your product images and be in an Amazon-like position to sell. With the help of the API, you can give your users or third party sellers the ability to change the background in photos instantly. The only requirement is that the product on your photo must be clearly in the foreground.

How the API Service Works?

You can integrate the open API code of Slazzer in any application or website to smoothly remove backgrounds in a continuous queue. Slazzer charges 1 credit per output image and prices range depending on the plan. Developers can now integrate the code any way they want to create mind blowing experiences the world has never seen.

You can further customize the images by using the Slazzer crop functions to cut out the transparent pixels only and specifically the crop_margin function to cut out the output image to your liking. In addition, you can scale any image (making it any size) and also use the ROI parameter to position the cut out image subject as you like. The input image can either be a url or a base64 file
format and you can also set the background image either as a file, url or a base64 string. You can convert the output image to jpg or png and also take the output image as a url or a base64 format so you can take the preview images as an output as well.

how-api-connected-to-other-field

The Slazzer API parameters are advanced and offer many customizations to developers. It’s so easy to use and can be flexible to integrate in so many different situations. Some examples are Ecommerce sites that want to have third party sellers automatically crop their product images, Photo editing apps that want to offer their users a background removal option, Online Design
Tools for creating media and banners, Auto Networks that want to place a custom background on their cars with branding, Consumer Apps that want to give their clients a way to snap a quick selfie and upload it without a background, Classified Apps that want to give their users a way to sell their products with a white background…. as white backgrounds sell better! We
covered this already 😉

The possibilities are endless with the API and any developer in the world can now use it to really push the boundaries of what is possible in today’s visual world.

Images Supported By Slazzer’s API

All the pictures need to be clear and the main subject needs to be in the foreground. Main subjects like product, car, person, animal, graphic etc… JPG or PNG images are supported up to 16 megabytes. The image gets automatically resized to its maximum resolution if it is more than 10 megapixels (e.g. 4000 × 2500 pixels or any other aspect ratio).

Slazzer’s API Features

  • Works in a continuous queue in REAL TIME
  • Process millions of images at will
  • Speed estimates are approximately 1 second per megapixel
  • Custom speed and feature upgrades available for Enterprise
  • Versatile code and parameters

How To Use The Slazzer API Service

Here is the step-by-step process that will guide you through the usage of Slazzer’s API service.

  • Firstly you have to sign up with www.slazzer.com . Then sign in to your account.
  • Then go to your Slazzer’s profile and navigate to the API https://slazzer.com/api#node
  • Choose your environment (Kotlin, PHP, Python, Java, Swift, Object-C, Node JS)
  • Or go to the Slazzer library on GitHub https://github.com/slazzercom/slazzer-android
  • Select the code and integrate it into your App, Website or System any way you want.
  • Now you can buy credits and activate the API
  • You’re ready to go – it’s instant!

For Enterprise clients who process over 100,000 images, Slazzer offers a personalized service with a dedicated account manager. Contact them today

for any questions, the possibilities are endless ->
https://slazzer.com/contact-us

Back to All blog posts

Comments (0)

No comment found.

READ MORE