Update Template Masks
Overwrite cached SAM3 masks with user-tuned versions from the mask editor.
Same access rules as the assignments editor (PATCH .../assignments) — non-admin templates only, must have a populated preprocess cache.
On success: uploads each submitted mask PNG, recomputes mask_centroids, auto-removes any (hand, finger) assignment whose target mask got fully erased, and re-renders labeled_overlay + assignment_viz against the (possibly trimmed) assigned dict.
patch/api/hand-templates/{template_id}/masks
Request
- Base URL: https://api.tintin-x.com (the document declares no server; this is the origin it was published from)
- URL: https://api.tintin-x.com/api/hand-templates/{template_id}/masks
- Auth: HTTP bearer
Path parameters
template_idstring uuid required
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.