Model swap

Start a new job

POST
/model-swap
AuthorizationBearer <token>

Token-based authentication using access tokens.

In: header

identity_codeIdentity Code

The original identity code to swap over the images.

imagesImages

List of image keys to be processed.

post_process?Post Process

Enables or disables post processing for all images in the batch.

Defaultfalse
project_idProject Id

The project identifier where images are stored.

swap_options?Swap Options
Default{}

Empty Object

Response Body

Examples

curl -X POST "https://loading/model-swap" \
  -H "Content-Type: application/json" \
  -d '{
    "identity_code": "string",
    "images": [
      "string"
    ],
    "project_id": "string"
  }'
{
  "job_id": "string",
  "message": "string",
  "status": "string"
}
Empty