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 Head 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

Must be video.

Available options:
video
type
enum<string>

This endpoint always performs head analysis. Omit type or send head; other accepted type values do not change the effective category.

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