curl --request GET \
--url https://cloud.comfy.org/api/files/mask-layers \
--header 'X-API-Key: <api-key>'{
"mask": "<string>",
"paint": "<string>",
"painted": "<string>",
"painted_masked": "<string>"
}Given a mask file (any of the 4 layers), returns all related mask layer files. This is used by the mask editor to load the paint, mask, and painted layers when reopening a previously edited mask.
curl --request GET \
--url https://cloud.comfy.org/api/files/mask-layers \
--header 'X-API-Key: <api-key>'{
"mask": "<string>",
"paint": "<string>",
"painted": "<string>",
"painted_masked": "<string>"
}API key authentication. Generate an API key from your account settings at https://comfy.org/account. Pass the key in the X-API-Key header.
Hash filename of any mask layer file
"abc123def456.png"
Was this page helpful?