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
Request
- Base URLhttps://api.comfy.org
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body multipart/form-data
Response
Mask uploaded successfully
Changes
No recorded changes to this operation across all 1 revision of this API.