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

Body

multipart/form-data
files
object[]

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

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

enhanceFace
boolean

Whether to enhance faces in the image

model
string

The model to use for the task

scale
string

The scale factor for the task

compression
number

The compression level

saveImageAs
enum<string>

The format to save the image as

Available options:
png,
jpg,
webp

Response

200 - application/json
status
string
data
object