---
title: "Detect multiple face targets and return selector payload for target selection UI"
method: POST
path: "/api/ai/face-targets"
tags: ["ai-jobs", "face-swap"]
---

# Detect multiple face targets and return selector payload for target selection UI

`POST /api/ai/face-targets`

## Request body

- object
  - `sourceImageUrl` string, required
  - `maxFaces` number

## Response `200`

Face target detection payload

## Other responses

- `400` — Validation error

---

[API](https://skmtc.net/memesio/apis/memesio-api-contracts.md) · [All operations](https://skmtc.net/memesio/apis/memesio-api-contracts/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/memesio/memesio-api-contracts/revisions/826e6edbf294/schema)
