---
title: "Add Face Swap Task"
method: POST
path: "/api/img/v1/task"
---

# Add Face Swap Task

`POST /api/img/v1/task`

## Request

- Base URL: `https://api.videofaceswap.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.videofaceswap.io/api/img/v1/task`
- Auth: none declared

新增图片换脸记录

## Query parameters

- `app_id` string, required

## Request body `multipart/form-data`

- BodyAddFaceSwapTaskApiImgV1TaskPost
  - `swap_image` string, binary, required
  - `user_id` string, required
  - `target_image` string, binary, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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