Cut.ProDocs
Personas

Restore a persona version

Makes an earlier photo from versions the current one again, with the traits it was made from. Free and instant; new videos use the restored photo and videos already made are not touched. CARD_LOCKED means a photo is generating: wait for it to finish.

Authorization

apiKey
X-Api-Key<token>

In: header

Path Parameters

id*string
versionId*string

Response Body

application/json

application/json

application/json

POST
/personas/{id}/versions/{versionId}/restore
curl -X POST "https://example.com/personas/string/versions/string/restore"
{  "id": "string",  "name": "string",  "status": "draft",  "chips": {    "vibe": "natural",    "gender": "female",    "age": "18_24",    "origin": "latin",    "skin": "very_light",    "eyes": "brown",    "hair_style": "buzz",    "hair_color": "black",    "facial_hair": "none",    "face": "none",    "body": "slim",    "outfit": "basic",    "accessory": "none",    "mark": "none"  },  "uses_face_photos": true,  "preset_id": "string",  "image_status": "generating",  "error_code": "MEDIA_REJECTED",  "image_url": "string",  "eta": {    "started_at": "string",    "expected_seconds": 0  },  "versions": [    {      "id": "string",      "current": true,      "image_url": "string",      "face_url": "string",      "feedback": "up",      "feedback_reason": "string",      "created_at": "string"    }  ]}