Detail repair

Start a Detail Repair job

Regenerate a masked logo/detail on an uploaded image, using user-uploaded reference shots as ground truth. Produces num_candidates variations, each a standard ImageResult shown in the Gallery.

POST
/detail-repair

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/detail-repair" \  -H "Content-Type: application/json" \  -d '{    "image": "string",    "project_id": "string"  }'
{
  "job_id": "string",
  "status": "string",
  "message": "string"
}
{
  "error": "Invalid request",
  "detail": [
    {
      "field": null,
      "message": "string",
      "position": "query"
    }
  ]
}
Empty
Empty
Empty
Empty