Personas
Save or rename a persona
Approves the current photo and names the persona, which can then be used in videos. On a persona already saved it only renames it. The photo can still be regenerated or edited later, as new versions. CARD_NOT_READY means a draft whose photo is not ready yet.
Authorization
apiKey X-Api-Key<token>
In: header
Path Parameters
id*string
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/personas/string/save" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "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" } ]}Rate a persona video POST
Records whether a persona video was liked. Send `down` with a `reason`, or `null` to clear the rating. Free; it only teaches us what to improve.
List a persona's videos GET
Returns the videos made with this persona, newest first, with signed download URLs for the finished ones. `version_id` keeps only the videos made from that version.