Skip to main content
POST
Use the same authorization headers as task creation. Body Attributes

Request examples

Select a source scenario to view matching request and queued response examples. URLs and IDs are illustrative; replace them with your accessible source material.
Body
Response Attributes Save data._id as the analysis ID.
For input limits, billing, callbacks, and error codes, see the Clothing Swap V5 overview.

Authorizations

x-api-key
string
header
required

Body

application/json
url
string<uri>
required

Public source material URL. Use the identical URL during task creation.

media_type
enum<string>
required

image or video. Use the same media type and URL when creating an analysis-driven task.

Available options:
image,
video
type
enum<string>

Analysis category: person, head or outfit; defaults to person.

Available options:
person,
head,
outfit

Response

200 - application/json

Business response. Code 1000 means the request succeeded; inspect task status or data.errors for generation/submission outcomes.

code
integer
Example:

1000

msg
string
Example:

"OK"

data
object