Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

docs(openapi): deprecate /api/upload/mask in favor of /api/upload/image (#13968)

Matt Miller6b61918a16cd
diff --git a/openapi.yaml b/openapi.yaml
index 214962c5c..9a3117e22 100644
--- a/openapi.yaml
+++ b/openapi.yaml
@@ -485,8 +485,15 @@ paths:
post:
operationId: uploadMask
tags: [upload]
- summary: Upload a mask image
- description: Uploads a mask image associated with a previously-uploaded reference image.
+ deprecated: true
+ summary: Upload a mask image (deprecated)
+ description: |
+ Deprecated. Clients should composite the mask onto the source image
+ client-side and upload the resulting image via POST /api/upload/image
+ instead. This endpoint will continue to function for older clients,
+ but will not receive new features.
+
+ Uploads a mask image associated with a previously-uploaded reference image.
requestBody:
required: true
content: