---
title: "Mask faces in a photo"
method: POST
path: "/v1/ai/mask-face-in-photo"
tags: ["AI Functions"]
---

# Mask faces in a photo

`POST /v1/ai/mask-face-in-photo`

## Request

- Base URL: `https://api.sandbox.usenash.com`
- URL: `https://api.sandbox.usenash.com/v1/ai/mask-face-in-photo`
- Auth: none declared
- TypeScript: <https://skmtc.dev/usenash/apis/nash-api/docs/v1/ai/mask-face-in-photo/post.ts> (a function with typed inputs; its response is checked against the schema)

Runs the face-masking agent; returns a URL for the masked copy.

## Request body

- MaskFaceInPhotoInputSerializer
  - `imageUrl` string, required: Public URL of the image whose faces should be masked.

## Other responses

- `422`: Unprocessable Content

## Changes

- **2026-11-03** `e3713837c5c9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/usenash/apis/nash-api/changes/v1/ai/mask-face-in-photo/post.md)

---

[API](https://skmtc.dev/usenash/apis/nash-api.md) - [All operations](https://skmtc.dev/usenash/apis/nash-api/llms.txt) - [OpenAPI document](https://skmtc.dev/usenash/apis/nash-api/revisions/e3713837c5c9?raw)
