Identities

Promote a generated draft to a full identity

Creates an Identity record from a completed identity_creation ImageResult and kicks off the POV/augmentation preprocessing pipeline. This is the step that consumes an identity slot and the 50-credit preprocessing charge.

POST
/identity/promote-generated

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/identity/promote-generated" \  -H "Content-Type: application/json" \  -d '{    "image_result_id": 0  }'
{
  "identity_code": "string",
  "preprocessing_job_id": "string",
  "status": "string",
  "message": "string"
}
{
  "error": "Invalid request",
  "detail": [
    {
      "field": null,
      "message": "string",
      "position": "query"
    }
  ]
}
Empty
Empty
Empty
Empty