---
title: "Free Hair Swap"
method: POST
path: "/api/figure/v1/free/task"
---

# Free Hair Swap

`POST /api/figure/v1/free/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/figure/v1/free/task`
- Auth: none declared

## Query parameters

- `app_id` string, required

## Request body `multipart/form-data`

- BodyFreeHairSwapApiFigureV1FreeTaskPost
  - `image` string, binary, required: 上传图片
  - `platform` string: 功能类型
  - `gpt_model` string: 模型类型
  - `hairstyle` string: 头发主题
  - `haircolor` string: 头发颜色
  - `user_id` string, required: user_id

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