---
title: "New Endpoint"
method: POST
path: "/v1/product_anyShoot/task/submit"
---

# New Endpoint

`POST /v1/product_anyShoot/task/submit`

This is your first endpoint! Edit this page to start documenting your API.

## Headers

- `Topview-Uid` string, required
- `Authorization` string, required

## Request body

- object
  - `productImageFileId` string, required — Product image fileId. Note: when mode=easy, the productImageFileId does not support webp format.
  - `productMaskFileId` string — Product mask fileId. [Need to be consistent in size with the original image] If uploaded, users need to generate it themselves
  - `templateId` string
  - `templateImageFileId` string — Template image fileId. TemplateId and Template image fileId cannot be empty at the same time. If both the templateId and the template image FileId exist, the templateImageFileId will be used as the priority.
  - `templateMaskFileId` string, required — Template mask fileId. [Need to be consistent in size with the original image] Users need to generate it themselves
  - `mode` 'easy' | 'advanced', required
  - `easyModePrompt` string, required — Easy mode prompt
  - `generatingCount` string, required — Generating Count。Support 1 to 4
  - `noticeUrl` string — Please refer to the API documentation for details

## Response `200`

Successful response

---

[API](https://skmtc.net/topview/apis/image-character-swap-apis-editable-in-readme.md) · [All operations](https://skmtc.net/topview/apis/image-character-swap-apis-editable-in-readme/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/topview/image-character-swap-apis-editable-in-readme/revisions/83cd46ca7859/schema)
