Black Friday Sale - Up to 40% Off

HandWriting Removal
API

Remove the Handwriting of any image with 1 API call

API Introduction

The Artificial Intelligence technology specialized in Handwriting removal has been made easier than ever before using RemoveHandwriting.com API. With just a few lines of code, you can bring this technology into your application.

1

Purchase Package

Purchase a package dedicated to the API

2

Get AppCode

Email service@removehandwriting.com to get your dedicated AppCode

3

Use Code Samples

Use the following code samples to get started quickly

4

Adjust Parameters

Getting back to the parameters reference to adjust the request

Authentication

We authenticate users using special API Key (or App Code). Which can be easily acquired here. The API Key is unique and very different from the others. For security reasons, please do not publish your App Code.

API Endpoint

POST https://api.removehandwriting.com/sjccup

Headers

Authorization:
APPCODE YourAppCode
Content-Type:
application/json; charset=UTF-8

Code Examples

Get started quickly with our code samples

public static void main(String[] args) {
    String host = "https://api.removehandwriting.com";
    String path = "/sjccup";
    String method = "POST";
    String appcode = "YourAppCode";
    Map<String, String> headers = new HashMap<String, String>();
    // The final format in the header (with a space in between) is Authorization:APPCODE 83359fd73fe94948385f570e3c139105
    headers.put("Authorization", "APPCODE " + appcode);
    // Define the corresponding Content-Type according to API requirements
    headers.put("Content-Type", "application/json; charset=UTF-8");
    Map<String, String> querys = new HashMap<String, String>();
    String bodys = "{\"media_id\":\"Base64 encoded image value, with the longest side not exceeding 4000px; remove the prefix data:image/png;base64\",\"keep_distortion\":boolean type, false - auto-corrects distortion, true - disables correction\",\"keep_ori\":boolean type, false - the image will be rotated to the correct orientation, true - retains the orientation when uploaded}";

    try {
        HttpResponse response = HttpUtils.doPost(host, path, method, headers, querys, bodys);
        System.out.println(response.toString());
        // Get the body of the response
        // System.out.println(EntityUtils.toString(response.getEntity()));
    } catch (Exception e) {
        e.printStackTrace();
    }
}

Request Parameters

Configure your API requests with these parameters

ParameterTypeDescription
media_idstringBase64 encoded value of the image, with the longest side not exceeding 4000px; remove the prefix data:image/png;base64
keep_distortionbooleanfalse – auto-corrects distortion, true – disables correction
keep_oribooleanfalse – the image will be rotated to the correct orientation, true – retains the orientation when uploaded

Error Codes

Reference for API response codes

Error CodeError MessageDescription
0successSuccess
1000body errorRequest body error
1001param errorRequest parameter error
1002content type errorContent-Type error
1003image not existsImage file not found
1004image size errorImage size error
1005image format errorImage format error
1006invalid signatureInvalid signature
1007body size errorBody size error
1008no authorizationAuthorization failed
2000server unknown errorServer unknown error
2001server timeoutServer timeout
2003no content recognitionNo content recognized
2004validate data errorValidation data error
3000remote server errorRemote server error
4000base server errorBase server error

API Pricing Plans

The following plans are API-exclusive

Basic

$499$0.10 / Credit
5,000 credits
6-month validity
Risk-free: 7-day money-back guarantee
Most Popular

Popular

$799$0.08 / Credit
10,000 credits
6-month validity
Risk-free: 7-day money-back guarantee
Exclusive

Exclusive

$3999$0.04 / Credit
100,000 credits
1-year validity
Risk-free: 7-day money-back guarantee

100% Money Back Guarantee!

Purchase with peace of mind. If you find out that this tool does not meet your needs, we offer a 7-day no-questions-asked money-back guarantee. You can make the payment with confidence. We have a refund policy to ensure the safety of your payment.