API Reference
Get the face_id and a basic avatar with a neutral facial expression using a photo and style.
curl --location 'https://public-api.mirror-ai.net/v2/generate?style=<STYLE>' \
--header 'X-Token: <YOUR TOKEN HERE>' \
--form 'photo=@"<PATH/TO/YOUR/PHOTO>"'
Example of response
Success - 200
{
"ok": true,
"face": {
"id": "jaY7nlANTSmHh6oOoN38gg",
"version": "yB4",
"url": "https://f.mirror-ai.net/x/gvcqWDsYjzG6gP5jUvoNRAIZ_p-eBaVcdd_GJY2f9CK0c2c3rW-Oe00QghMkbmo9SdYdN5CpmBkokrvqWx8Xq6q3E7QkSpbBQ-GRTMifaHo"
}
}
Last updated