Instantly remove the background from your image with our Background Remove tool.
curl -X "POST" ^ "https://api.picsart.io/tools/1.0/removebg" ^ -H "accept: application/json" ^ -H "X-Picsart-API-Key: YOURAPIKEYHERE" ^ -H "Content-Type: multipart/form-data" ^ -F "bg_blur=0" ^ -F "bg_image=" ^ -F "bg_height=" ^ -F "bg_color=" ^ -F "scale=fit" ^ -F "image_url=https://cdn140.picsart.com/03328718565819952445.jpeg" ^ -F "bg_width=" ^ -F "bg_image_url=https://cdn140.picsart.com/22183977156062232333.png" ^ -F "format=JPG" ^ -F "output_type=cutout" ^ -F "bg_image_id=" ^ -F "image=" ^ -F "image_id="
const FormData = require('form-data'); const http = require("https"); const form = new FormData(); const fs = require('fs'); form.append('bg_blur', '0'); form.append('scale', 'fit'); form.append('image_url', 'https://cdn140.picsart.com/03328718565819952445.jpeg'); form.append('bg_image_url', 'https://cdn140.picsart.com/22183977156062232333.png'); form.append('format', 'JPG'); form.append('output_type', 'cutout'); const options = { "method": "POST", "hostname": "api.picsart.io", "port": null, "path": "/tools/1.0/removebg", "headers": { "accept": "application/json", "X-Picsart-API-Key": "YOURAPIKEYHERE", ...form.getHeaders() } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.on("error", (e) => { console.error(e); }); form.pipe(req);
OkHttpClient client = new OkHttpClient().newBuilder().build(); MediaType mediaType = MediaType.parse("multipart/form-data"); RequestBody body = new MultipartBody.Builder().setType(MultipartBody.FORM) .addFormDataPart("bg_blur","0") .addFormDataPart("scale","fit") .addFormDataPart("image_url","https://cdn140.picsart.com/03328718565819952445.jpeg") .addFormDataPart("bg_image_url","https://cdn140.picsart.com/22183977156062232333.png") .addFormDataPart("format","JPG") .addFormDataPart("output_type","cutout") .build(); Request request = new Request.Builder() .url("https://api.picsart.io/tools/1.0/removebg") .method("POST", body) .addHeader("accept", "application/json") .addHeader("X-Picsart-API-Key", "YOURAPIKEYHERE") .build(); Response response = client.newCall(request).execute();
import requests url = "https://api.picsart.io/tools/1.0/removebg" payload={"bg_blur": "0", "scale": "fit", "image_url": "https://cdn140.picsart.com/03328718565819952445.jpeg", "bg_image_url": "https://cdn140.picsart.com/22183977156062232333.png", "format": "JPG", "output_type": "cutout"} files=[] headers = {"accept": "application/json", "X-Picsart-API-Key": "YOURAPIKEY"} response = requests.request("POST", url, headers=headers, data=payload, files=files) print(response.text)
Design Photo into a Sticker
Do more with photos with Picsart’s Remove Background API. Cut out people, objects, animals to easily create artwork, add to merchandise or add to print projects.
Easy Thumbnail Design
Do more with photos with Picsart’s Remove Background API. Cut out people, objects, animals to easily create artwork, add to merchandise or add to print projects.
Popular Industry Uses
About
Picsart’s AI Research Arm (PAIR) has spent over ten years developing and optimizing best in class capabilities for its consumer product used by hundreds of millions of Creators. Now your business can gain from Picsart’s investment in AI tech for just pennies per use.
Strong R&D Team
Pricing Plans
Our pricing is simple. Pay for what you use.
No minimums and substantial discounts for high volume businesses.