Model swap
Start a new job
Start a new model swap batch processing job for the authenticated user. A maximum of 10 images can be processed in a single batch.
Authorization
token_auth AuthorizationBearer <token>
Token-based authentication using access tokens.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://v2.api.piktid.com/model-swap" \ -H "Content-Type: application/json" \ -d '{ "identity_code": "string", "project_id": "string", "images": [ "string" ] }'{
"job_id": "string",
"status": "string",
"message": "string"
}{
"error": "Invalid request",
"detail": [
{
"field": null,
"message": "string",
"position": "query"
}
]
}Empty
Empty
Empty
Empty