Skip to Content
Cut.ProDocs
AI characters

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
headerX-Api-Key<token>

Request Body

multipart/form-data
  1. body
photo*unknown

The image file.

own_face_adult*"true"

Confirms the photo shows the user themself, and that they are 18 or older.

Value in"true"

Response Body

Response for status 201

application/json
  1. response
id*string

Face photo id, for face_ids.

POST
/personas/faces
Example Request
curl -X POST 'https://api.cut.pro/api/v1/personas/faces' \  -F 'own_face_adult=true'
Example Response
{  "id": "string"}