Submit Task(Product Background)

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

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
enum
required
Defaults to prompt
  1. When mode=image, either templateId or templateImageFileId must not be empty; 2. When mode=prompt, prompt must not be empty.
Allowed:
string
required
Defaults to e5ea811a6fb646ba9e0354232e8b97a4
  1. Use the Common Task - remove background interface to convert product images into images without backgrounds. 2. Upload the background-free product images to S3.
string
  1. Get values from the Template List interface. 2. When mode=image, either templateId or templateImageFileId must not be empty.
string
  1. Upload the local model image to S3. 2. When mode=image, either templateId or templateImageFileId must not be empty.
string

When mode=prompt, prompt cannot be empty.

string
enum
Defaults to 1:1

Default value: 1:1. Optional values: 9:16, 3:4, 1:1, 4:3, 16:9.

Allowed:
location
array
required

The location parameter will only be used in generateImageMode=manual mode. Location parameter documentation

location*
string
enum
Defaults to natural

Default is natural.1. natural: 98% restoration level 2. creative: 90% restoration level

Allowed:
string
Headers
string
required
Defaults to <your-topview-uid>
string
required
Defaults to Bearer <your-api-key>
Response
200

Successful response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!