Image Input In The API

The API accepts new images in the body in the following ways

  • ID if the image has been been posted previously
  • JSON with a base64 encoded image or source_url
  • Multipart form and the image in the file parameter
Image {
id ID of previously submitted image
base64 Image encoded as Base64 with a JSON request
file Multi Part Form
source_url A URL of an Image which is publicly accessible.
}