v1

latestOpenAPI 3.0.22026-07-2610288167.4 KB
file

Upload a mask image

Upload a mask image to be applied to an existing image.

Image limits apply to both the uploaded mask and the referenced original image:

  • Maximum file size: 50 MB
  • Maximum width/height per edge: 16384 px
  • Maximum total pixel count: 64 megapixels (67108864 pixels)

Uploads that exceed any of these limits are rejected with HTTP 400.

post/api/upload/mask

Response

Mask uploaded successfully

namestring

Filename of the uploaded mask

subfolderstring

Subfolder path where mask was saved

typestring

Type of upload (e.g., "output")