Toon Me API

The Toonme API is a powerful tool that transforms ordinary images into fun cartoon-style images with just a few clicks.

About

With its advanced algorithms and cutting-edge technology, the Toonme API can help businesses and individuals add a touch of creativity and playfulness to their digital content effortlessly.

Introducing the Toonme API, a powerful image-processing tool that transforms your photos into cartoon-style illustrations in seconds! With our API, you can easily integrate the Toonme technology into your own software, app, or website and offer your users a fun and unique way to enhance their photos.

Our state-of-the-art algorithm uses advanced machine learning techniques to analyze and identify the key features of your images and then applies a range of cartoon effects to create stunning illustrations that are sure to impress. From simple line drawings to full-color cartoons, the Toonme API offers a wide range of styles and effects to choose from, giving your users the flexibility to create the perfect look for their images.

Our API is incredibly easy to use, with simple and intuitive methods that allow you to quickly integrate our technology into your existing software. Whether you’re building a photo editing app, a social media platform, or a website that allows users to upload and share images, the Toonme API is the perfect tool to add a touch of creativity and fun.

Some of the key features of the Toonme API include:

  • Fast and reliable image processing

  • A wide range of cartoon styles and effects to choose from

  • Simple and intuitive API methods for easy integration

  • Scalable and flexible architecture that can handle large volumes of requests

  • Robust error handling and support for a variety of image formats

  • With the Toonme API, you can give your users a powerful and fun tool to enhance their photos and express their creativity. So why wait? Sign up today and start exploring the possibilities of the Toonme API!

Curl Requests and Responses

Process the image

curl -X 'POST' \
  'https://api.magicapi.dev/api/v1/toonme-api/toonify/toonme/v1/' \
  -H 'accept: application/json' \
  -H 'x-magicapi-key: API_KEY' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'id=EFFECT_ID&image_url=IMAGE_URL'

Response

{
  "image_process_response": {
    "request_id": "81d8eafc-05ad-4af8-b511-c9709c00748c",
    "status": "OK",
    "description": null,
    "err_code": "0"
  }
}

Get Result

curl -X 'POST' \
  'https://api.magicapi.dev/api/v1/toonme-api/toonify/toonme/v1/result/' \
  -H 'accept: application/json' \
  -H 'x-magicapi-key: cltfo5s0b0001l308yrlcifh9' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'request_id=5d5a7286-7c81-4c41-9899-094c3f7af35a'

Response

{
  "image_process_response": {
    "request_id": "5d5a7286-7c81-4c41-9899-094c3f7af35a",
    "status": "OK",
    "duration": "2.585622667s",
    "total_duration": "2.606477093s",
    "result_url": "http://worker-images-8.ws.pho.to/i1/9D87C39C-E9AF-11EE-8875-122AD1B8A069.jpg",
    "masks": {
      "mask": {
        "@index": "1",
        "@name": "body",
        "#text": "http://worker-images-5.ws.pho.to/i2/4771c8fd24621d44a586a0da73284ad51e8c0607_result.png"
      }
    },
    "answers": null
  }
}

Available Styles

You can choose any style by passing "id" in the toonify request.

Last updated