Submit a Makeup try-on Job
Typed JSON request referencing one uploaded input asset. products is ordered:
it is the layer order, and reordering it is a different request. The input asset
is snapshotted into the job at submission, so the job is unaffected by the
asset’s later expiry. First submission answers 202; a replay of the same
semantic request with the same Idempotency-Key answers 200 with the same job;
the same key with a different request answers 409.
Authentication
API key for one environment of your account. Keep server-side; never expose in browser clients.
Headers
Request
Response headers
The state of each policy in RateLimit-Policy: "submit";r=59;t=1, r remaining and t seconds until whole again.
Quota of the most restrictive policy (draft-07 form).
The limits this request consumed, as an RFC 8941 list (draft-ietf-httpapi-ratelimit-headers): "submit";q=60;w=60. Policies are submit, upload and daily. Sent only while rate-limit headers are on.
Remaining quota of the most restrictive policy (draft-07 form).
Delay before retrying, expressed as delta-seconds
Response
What a job does: the operation’s authorization scope.
An operation is not its output’s type: OPERATION_OUTPUT_TYPE is the one place
the two meet.