A simple guide to effortlessly start using Programmable Image APIs, Programmable Video APIs, GenAI APIs as well as the embeddable Picsart Create Editor. It's your starting point to impress your users with outstanding editing features. Get ready to explore a wide range of advanced editing tools that will take your user experience to the next level and ensure maximum satisfaction.

It only takes 3 minutes to create an account, get an API key, copy a sample code, and get images processed (e.g. backgrounds removed).

Picsart APIs are based on a simple HTTP interface, and the output image is typically provided as a URL. Below you can find the sample codes to get started easily.

Sample Run

curl -X 'POST' \
  '' \
  -H 'accept: application/json' \
  -H 'x-picsart-api-key: <API KEY HERE>' \
  -H 'Content-Type: multipart/form-data' \
  -F 'output_type=cutout' \
  -F 'format=PNG' \
  -F 'image_url=' 
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', '');
form.append('bg_image_url', '');
form.append('format', 'JPG');
form.append('output_type', 'cutout');
const options = {
    "method": "POST",
    "hostname": "",
    "port": null,
    "path": "/tools/1.0/removebg",
    "headers": {
        "accept": "application/json",
        "X-Picsart-API-Key": "YOURAPIKEYHERE",
const req = http.request(options, function (res) {
    const chunks = [];
    res.on("data", function (chunk) {
    res.on("end", function () {
        const body = Buffer.concat(chunks);
req.on("error", (e) => {
OkHttpClient client = new OkHttpClient().newBuilder().build();
MediaType mediaType = MediaType.parse("multipart/form-data");
RequestBody body = new MultipartBody.Builder()
  .addFormDataPart("image_url", "")
  .addFormDataPart("bg_image_url", "")
Request request = new Request.Builder()
  .method("POST", body)
  .addHeader("accept", "application/json")
  .addHeader("X-Picsart-API-Key", "YOURAPIKEYHERE")

Response response = client.newCall(request).execute();
import requests
url = ""

  "bg_blur": "0",
  "scale": "fit",
  "image_url": "",
  "bg_image_url": "",
  "format": "JPG",
  "output_type": "cutout"}
headers = {"accept": "application/json", "X-Picsart-API-Key": "YOURAPIKEY"}

response = requests.request("POST", url, headers=headers, data=payload, files=files)


Note: You need to obtain a free API key for this code to run.)

Discover our API documentation and explore examples to seamlessly integrate Programmable Image APIs into your applications or workflows.


Your first 100 API calls per month are on us (see Pricing).


In this guide, we will demonstrate the steps to seamlessly incorporate our Programmable APIs and Picsart Create Editor into your application. If you encounter any error messages or face other issues during the process, or if you have additional inquiries regarding the editor's functionality, we encourage you to consult our comprehensive Help Center. Our Help Center provides solutions to frequently asked questions and common errors that you may come across.

If you find that the Help Center does not address your specific concerns, please don't hesitate to reach out to us. Our team is dedicated to assisting you and will gladly provide the necessary support.

Join our developer community at Slack to get your questions answered by the community or our team.