API Reference
Start a new task
POST
Body
multipart/form-data
The compression level
Whether to enhance faces in the image
(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
(Optional) The files to process. Optional if the file is not manually provided in the file property
The model to use for the task
The format to save the image as
Available options:
png
, jpg
, webp
The scale factor for the task