Upload images

Hosts your own images so they can be referenced as inputs by an edit, review or rating task. Send them as multipart form fields named images. The whole body is capped at 100 MB.

POST/image/upload
AuthAPI keyorOAuth tokenHow to send it

The one endpoint that is not JSON. Send multipart/form-data with the files under a repeated images field: up to 10 JPEG, PNG, or WEBP files, each 1 KB to 10 MB, and at most 100 MB in total. Uploading is free, and the returned URLs are served for 1 day.

Put the URLs in inputs on generate. If your images already have public URLs, skip this and pass those. Image to image shows both.

Request body#

Sent as multipart/form-data.

imagesstring[]required

The image files to host. Repeat the field for several.

Response#

200Images uploaded

dataobjectrequired
urlsstring[]required

Errors#

A failed call names what went wrong in code, with a sentence in message. The codes, which of them are worth retrying, and how to read a validation failure are on Errors.