Document Comparison

Document Comparison

POST https://apis.aigen.online/aiscript/document-compare/v1

Request Body

Name
Type
Description

image_a*

String

Base64 image encoded string

image_b*

String

Base64 image encoded string

{
  "response_id": "996b3cf298d546adb97c719711504e58",
  "request_id": "996b3cf298d546adb97c719711504e11",
  "status": "1",
  "message": "success",
  "result": {
    "result_image_a": "base64_image",
    "result_image_b": "base64_image"
  }
}

​Example code

import requests
import json

api = "https://apis.aigen.online/aiscript/document-compare/v1"
headers = {"x-aigen-key": "<key>", "content-type": "application/json"}
data = json.dumps({"image": "<base64_string>"})

res = requests.post(api, data=data, headers=headers)
print(res.json())

Last updated