---
title: "Add Img Single Swap Task"
method: POST
path: "/api/pay/v1/img/single/swap/task"
---

# Add Img Single Swap Task

`POST /api/pay/v1/img/single/swap/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/pay/v1/img/single/swap/task`
- Auth: HTTP bearer

新增图片换脸记录

## Query parameters

- `app_id` string, required

## Request body `multipart/form-data`

- BodyAddImgSingleSwapTaskApiPayV1ImgSingleSwapTaskPost
  - `swap_image` string, binary, 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)
