POST
/
start-task
{
  "status": "success",
  "data": {
    "message": "Task request sent successfully",
    "taskId": "30a89e69-c702-4247-9905-f0a53dfa45ab"
  }
}

Body

multipart/form-data
compression
number

The compression level

enhanceFace
boolean

Whether to enhance faces in the image

file
file

(Optional) A single file to upload, used when startTask is being used to upload the file, not needed if already uploaded s3 files or file links are passed in files array

files
object[]

(Optional) The files to process. Optional if the file is not manually provided in the file property

model
string

The model to use for the task

saveImageAs
enum<string>

The format to save the image as

Available options:
png,
jpg,
webp
scale
string

The scale factor for the task

Response

200 - application/json
data
object
status
string