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.

ImageFilter Id

6472

4511

6611

3690

6632

2275

7088

6032

2257

3858

5076

4652

2218

3086

1715

2351

5058

2341

2169

2254

2116

3616

2260

3694

2122

1067

950

2797

1911

1850

1344

782

1915

7004

3757

1826

1106

952

1061

953

7007

976

1705

3804

2961

1060

1097

2344

2349

2354

1693

1926

1312

1355

1954

1828

1511

2114

1776

2105

1942

1840

1668

949

986

1552

956

1716

1847

1854

2182

1798

1120

1723

1445

1193

1096

1958

2179

2241

1673

2173

1700

2120

770

2246

1772

1036

462

2301

1055

2231

2310

1054

1276

2202

2221

1059

2277

2174

2230

1862

2274

1068

2248

2556

1136

973

779

2684

2237

2352

2667

268

433

2176

3017

2887

1555

8216

2157

2345

2603

1027

3102

2245

1829

1062

2570

3113

1101

2589

1787

2962

3122

3271

2493

2507

2350

3689

2516

3762

2860

3251

2357

3693

1025

2235

4268

607

2228

2289

1695

1992

951

3097

2671

3177

2806

2348

4080

3663

2494

2542

3854

2859

3735

1026

1853

3152

3018

3718

3699

2573

2375

Last updated