Cut.ProDocs
Personas

Upload a reference photo

Sends one photo of a real person as multipart/form-data, to make a persona that looks like them. Only the user's own face, as an adult, is allowed: own_face_adult must be true and is the user's statement of that. JPEG, PNG, WebP or HEIC up to 10 MB. A close, sharp photo of the face gives the most faithful result.

Pass the returned id in face_ids of POST /personas within 24 hours. Up to 6 photos per persona.

Authorization

apiKey
X-Api-Key<token>

In: header

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

POST
/personas/faces
curl -X POST "https://example.com/personas/faces" \  -F photo="string" \  -F own_face_adult="true"
{  "id": "string"}