---
title: "Submit image character swap task"
method: POST
path: "/v1/character_swap/task/submit"
tags: ["Image Character Swap"]
---

# Submit image character swap task

`POST /v1/character_swap/task/submit`

## Request

- Base URL: `https://api.topview.ai`
- URL: `https://api.topview.ai/v1/character_swap/task/submit`
- Auth: API key in header `Topview-Uid` and API key in header `Authorization`

## Request body

- object
  - `inputModelFileId` string, required: Example: 9022415045c042fa91f8a1839cc8034e
  - `inputTemplateFileId` string, required: Example: 629816a027bd4b5b83ac3356b06c7c86
  - `noticeUrl` string: NoticeUrl. Please refer to the **[API documentation for details NoticeUrl](https://docs.topview.ai/reference/post_notice-notice-url-check#/)**

## Response `200`

Submit success

- object
  - `code` string, required: 200:success Other:fail
  - `message` string, required
  - `result` object
    - `taskId` string
    - `status` 'fail' | 'success': fail | success
    - `noticeUuid` string

---

[API](https://skmtc.dev/topview/apis/image-character-swap-apis-editable-in-readme.md) - [All operations](https://skmtc.dev/topview/apis/image-character-swap-apis-editable-in-readme/llms.txt) - [OpenAPI document](https://skmtc.dev/topview/apis/image-character-swap-apis-editable-in-readme/revisions/286c6daf6859?raw)
