{"id":541,"date":"2021-05-02T13:42:33","date_gmt":"2021-05-02T13:42:33","guid":{"rendered":"https:\/\/www.slazzer.com\/blog\/?p=541"},"modified":"2021-09-15T12:05:46","modified_gmt":"2021-09-15T12:05:46","slug":"auto-background-removal-api-update","status":"publish","type":"post","link":"https:\/\/www.slazzer.com\/blog\/auto-background-removal-api-update\/","title":{"rendered":"Slazzer Launches API v2.0!!!"},"content":{"rendered":"<h2>Slazzer Auto Background Removal API v2.0<\/h2>\n<p>The Slazzer team is very excited to bring you our API Version 2, named API v2.0!<\/p>\n<p>This update will predominately give you faster processing speeds and increased performance with new parameters.<\/p>\n<p>It is now live on our site, check it out -&gt; <a href=\"https:\/\/www.slazzer.com\/api\">https:\/\/www.slazzer.com\/api<\/a><\/p>\n<h2>Some highlights of the slazzer auto background removal API v2.0:<\/h2>\n<p>\u2714\ufe0f\u00a0Significantly faster processing time.<\/p>\n<p>\u2714\ufe0f Output will now be binary image data. No more url links.<\/p>\n<h3>We also updated some of our API parameters, take a look:<\/h3>\n<h5>source_image_file<\/h5>\n<iframe loading=\"lazy\" title=\"souce file\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/6lIrAEw8O54?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<p>Upload any of the following image types: PNG, JPG, JPEG<\/p>\n<h5>source_image_url<\/h5>\n<iframe loading=\"lazy\" title=\"source url\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/H77fxkjb9oo?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<p>Upload a url link of any of the following image types: PNG, JPG, JPEG<\/p>\n<h5>source_image_base64<\/h5>\n<iframe loading=\"lazy\" title=\"source base64\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/8VwiPG9030g?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<p>Upload a compressed base64 format of any of the following image types: PNG, JPG, JPEG<\/p>\n<h5>bg_image_file<\/h5>\n<iframe loading=\"lazy\" title=\"bg image\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/E4yUlNArMBM?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<p>Use a PNG, JPG. JPEG background image to get a binary output in PNG, JPG, JPEG format.<\/p>\n<h5>bg_image_url<\/h5>\n<iframe loading=\"lazy\" title=\"bg url\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/qy9KGySHY-Y?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<p>Use a url background image to get a binary output in PNG, JPG, JPEG format.<\/p>\n<h5>bg_image_base64<\/h5>\n<iframe loading=\"lazy\" title=\"bg base64\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/ei9iJA2pZlQ?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<p>Use a base64 format background image to get a binary output in PNG, JPG, JPEG format.<\/p>\n<h5>bg_color_code<\/h5>\n<iframe loading=\"lazy\" title=\"bg color\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/Kvo_7WGA-4w?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<p>Get a binary output image with a solid background color. Indicate HEX color code in the following format (e.g. #72E4B3, #B3D472). Make sure to add the \u2018#\u2019 before color code.<\/p>\n<h5>format<\/h5>\n<iframe loading=\"lazy\" title=\"format\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/vL8kaw35zTc?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<p>Here you can choose whether you want the output image in PNG or JPG format. Default value will be \u201cPNG\u201d.<\/p>\n<h5>crop<\/h5>\n<iframe loading=\"lazy\" title=\"crop\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/QY5Q0M4V2s4?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<p>Isolate the subject and eliminate all the extra pixels around it.<\/p>\n<h5>crop_margin<\/h5>\n<iframe loading=\"lazy\" title=\"crop margin\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/xuDQfm2OvCY?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<p>Modify all the margins around the subject (top, bottom, right and left).<\/p>\n<p>This parameter only works when the \u2018crop\u2019 parameter is also applied (crop=True). Default value of this parameter is 0px. it supports input value in the following ways:<\/p>\n<p>Ex. 10px,20px,18px,24px \u2013 create 10px margin left, 20px margin top, 18px margin right and 24px margin in bottom.<\/p>\n<p>crop_margin parameter supports max 500px or max 50% of the subject size.<\/p>\n<h5>scale<\/h5>\n<iframe loading=\"lazy\" title=\"scale\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/PTDzB6OHi58?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<p>This parameter scales the subject in the output image. Can be in any range between 10% or 100% depending on the image dimensions. Default position parameter value is \u2018center\u2019, unless any other position parameter value is given.<\/p>\n<h5>position<\/h5>\n<iframe loading=\"lazy\" title=\"position\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/WFRI5iaiI2Y?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<p>This parameter positions the subject as you want. Only works when the \u2018scale\u2019 parameter is also selected. Default value is \u2018center\u2019. Can be a single value between 0% to 100% (horizontal and vertical) or two values between 0% to 100% separated by comma (eg: 10%,18%) both horizontal and vertical.<\/p>\n<h5>preview<\/h5>\n<iframe loading=\"lazy\" title=\"preview\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/MpGmJA8VMOw?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<p>Put the value as \u2018True\u201d to get a preview image at 0.25 megapixels (eg value: 400\u00d7600 pixels). The default value is \u2018False\u2019.<\/p>\n<h5>channel<\/h5>\n<iframe loading=\"lazy\" title=\"channel\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/WOiNdHFL5GU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<p>This parameter by default will give you a binary output image as a JPG with the RGBA color scheme (red, green, blue). When the value \u201calpha\u201d is added (red, green, blue, alpha), it will return the image as a PNG image with a mask.<\/p>\n<h5>roi<\/h5>\n<iframe loading=\"lazy\" title=\"roi\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/VTZpfNaRjBM?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<p>This parameter lets you extract the region of interest for a particular image, only the contents of the selected region will be considered as a foreground and everything else will be considered as a background and will be completely removed.<\/p>\n<p>200px,320px,400px,230px \u2013 top-left,bottom-right coordinates.<\/p>\n<p>10%,15%,25%,30% \u2013 top-left,bottom-right with respect to the image size.<\/p>\n<h3>We are very excited about this update and we hope you enjoy it!<\/h3>\n<p>There are more to come in the next few weeks..Stay tuned&#8230;?<\/p>\n<p><img decoding=\"async\" role=\"img\" draggable=\"false\" src=\"https:\/\/s.w.org\/images\/core\/emoji\/13.0.1\/svg\/1f4e3.svg\" alt=\"?\" \/><strong>Note:<\/strong> Our previous API Version 1.0 url &#8211; <a href=\"https:\/\/slazzer.com\/api\/v1\/remove_image_background\">https:\/\/slazzer.com\/api\/v1\/remove_image_background<\/a> is currently deprecated and it will be completely removed by 31st May 2021. Please make sure to update to our latest API Version 2.0 to get continued service.<\/p>\n<p>Have a great day! Team Slazzer!!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Slazzer Auto Background Removal API v2.0 The Slazzer team is very excited to bring you our API Version 2, named API v2.0! This update will predominately give you faster processing speeds and increased performance with new parameters. It is now live on our site, check it out -&gt; https:\/\/www.slazzer.com\/api Some highlights of the slazzer auto <\/p>\n","protected":false},"author":1,"featured_media":710,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-541","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product-updates"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v18.5 (Yoast SEO v23.6) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Slazzer API v2.0 is Here! Process Images Faster with AI Background Removal<\/title>\n<meta name=\"description\" content=\"Edit images, change image background, and make your pictures look amazing. Use Slazzer, the ai background removal platform, for fast image processing.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.slazzer.com\/blog\/auto-background-removal-api-update\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Slazzer Launches API v2.0!!!\" \/>\n<meta property=\"og:description\" content=\"Edit images, change image background, and make your pictures look amazing. Use Slazzer, the ai background removal platform, for fast image processing.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.slazzer.com\/blog\/auto-background-removal-api-update\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - slazzer.com\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-02T13:42:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-15T12:05:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.slazzer.com\/blog\/wp-content\/uploads\/2021\/05\/api-application-programming-interface-concept-virtual-screen-robotic-hand-touching-digital-interface_127544-394.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"626\" \/>\n\t<meta property=\"og:image:height\" content=\"417\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Slazzer API v2.0 is Here! Process Images Faster with AI Background Removal","description":"Edit images, change image background, and make your pictures look amazing. Use Slazzer, the ai background removal platform, for fast image processing.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.slazzer.com\/blog\/auto-background-removal-api-update\/","og_locale":"en_US","og_type":"article","og_title":"Slazzer Launches API v2.0!!!","og_description":"Edit images, change image background, and make your pictures look amazing. Use Slazzer, the ai background removal platform, for fast image processing.","og_url":"https:\/\/www.slazzer.com\/blog\/auto-background-removal-api-update\/","og_site_name":"Blog - slazzer.com","article_published_time":"2021-05-02T13:42:33+00:00","article_modified_time":"2021-09-15T12:05:46+00:00","og_image":[{"width":626,"height":417,"url":"https:\/\/www.slazzer.com\/blog\/wp-content\/uploads\/2021\/05\/api-application-programming-interface-concept-virtual-screen-robotic-hand-touching-digital-interface_127544-394.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.slazzer.com\/blog\/auto-background-removal-api-update\/","url":"https:\/\/www.slazzer.com\/blog\/auto-background-removal-api-update\/","name":"Slazzer API v2.0 is Here! Process Images Faster with AI Background Removal","isPartOf":{"@id":"https:\/\/www.slazzer.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.slazzer.com\/blog\/auto-background-removal-api-update\/#primaryimage"},"image":{"@id":"https:\/\/www.slazzer.com\/blog\/auto-background-removal-api-update\/#primaryimage"},"thumbnailUrl":"https:\/\/www.slazzer.com\/blog\/wp-content\/uploads\/2021\/05\/api-application-programming-interface-concept-virtual-screen-robotic-hand-touching-digital-interface_127544-394.jpg","datePublished":"2021-05-02T13:42:33+00:00","dateModified":"2021-09-15T12:05:46+00:00","author":{"@id":"https:\/\/www.slazzer.com\/blog\/#\/schema\/person\/dff22c74e716223bca3cfb9cc390e075"},"description":"Edit images, change image background, and make your pictures look amazing. Use Slazzer, the ai background removal platform, for fast image processing.","breadcrumb":{"@id":"https:\/\/www.slazzer.com\/blog\/auto-background-removal-api-update\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.slazzer.com\/blog\/auto-background-removal-api-update\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.slazzer.com\/blog\/auto-background-removal-api-update\/#primaryimage","url":"https:\/\/www.slazzer.com\/blog\/wp-content\/uploads\/2021\/05\/api-application-programming-interface-concept-virtual-screen-robotic-hand-touching-digital-interface_127544-394.jpg","contentUrl":"https:\/\/www.slazzer.com\/blog\/wp-content\/uploads\/2021\/05\/api-application-programming-interface-concept-virtual-screen-robotic-hand-touching-digital-interface_127544-394.jpg","width":626,"height":417,"caption":"Slazzer's Application programming interface"},{"@type":"BreadcrumbList","@id":"https:\/\/www.slazzer.com\/blog\/auto-background-removal-api-update\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.slazzer.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Slazzer Launches API v2.0!!!"}]},{"@type":"WebSite","@id":"https:\/\/www.slazzer.com\/blog\/#website","url":"https:\/\/www.slazzer.com\/blog\/","name":"Blog - slazzer.com","description":"slazzer.com","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.slazzer.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.slazzer.com\/blog\/#\/schema\/person\/dff22c74e716223bca3cfb9cc390e075","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.slazzer.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5b37040e6200edb3c7f409e994076872?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5b37040e6200edb3c7f409e994076872?s=96&d=mm&r=g","caption":"admin"},"sameAs":["http:\/\/slazzer.com\/blog"],"url":"https:\/\/www.slazzer.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.slazzer.com\/blog\/wp-json\/wp\/v2\/posts\/541"}],"collection":[{"href":"https:\/\/www.slazzer.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.slazzer.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.slazzer.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.slazzer.com\/blog\/wp-json\/wp\/v2\/comments?post=541"}],"version-history":[{"count":11,"href":"https:\/\/www.slazzer.com\/blog\/wp-json\/wp\/v2\/posts\/541\/revisions"}],"predecessor-version":[{"id":2276,"href":"https:\/\/www.slazzer.com\/blog\/wp-json\/wp\/v2\/posts\/541\/revisions\/2276"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.slazzer.com\/blog\/wp-json\/wp\/v2\/media\/710"}],"wp:attachment":[{"href":"https:\/\/www.slazzer.com\/blog\/wp-json\/wp\/v2\/media?parent=541"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.slazzer.com\/blog\/wp-json\/wp\/v2\/categories?post=541"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.slazzer.com\/blog\/wp-json\/wp\/v2\/tags?post=541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}