---
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

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

---

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