AI Avatar
AI Avatar is an innovative project that aims to create personalized avatars for users using cutting-edge artificial intelligence techniques. The project utilizes a user's input images, typically a few
1. Filter API
Important!
- You have to send 3-20 photo of your face, the photos follow some rules bellow:
- Required image format is png
, jpeg
, jpg
, jfif
, heic.
- At least 2 sides of image must be greater than or equal to 768px.
- File size < 8mb.
- Image have to include your face.
- The face should not be too large or too small:
The face is considered small when the horizontal aspect ratio of the face is less than 120/768 pixels (Taken from a distance, such as full-body shots - making it difficult to identify the face).
The face is considered large when the horizontal aspect ratio of the face is greater than 450/768 pixels (Taken too closely - cropping the image into a square would cut into the face).
- The face in the image is different from the majority of faces in the remaining images:
Faces of different people in various images. The same person's face but significantly different.
- Image must not be blurry. - The image must not be duplicated.
Send request filter input image from at least 3 input images
POST
https://avatar-core.apero.vn/api/v1/upload/avatar
Use form-data to send request
Request Body
2. Request generate avatar
POST
https://avatar-core.apero.vn/api/v1/generate/avatar-session
API Signature is required
Request Body
Important:
Styles depend on gender, must have to choose one or many on the list style match with your
gender
Notify in app use firebase credential, you have to integrate firebase SDK on client and add us to your firebase. We will create firebase-service-account from your firebase console for send notification from backend
Good to know:
- You will receive numImageEachStyle
* amount of styles
you choose by email.
- Must have to upload at least 3 photos for generate, you should choose photo about half the body including the face, high quality photos and not too many people in one frame.
- Usually, you will receive result by email after about 15-30 minutes
3. Tracking process
GET
https://avatar-core.apero.vn/api/v1/sessions?sessionId=[sessionId]
4. List styles
GET
https://avatar-core.apero.vn/api/v1/resources/avatar-styles
Query Parameters
Last updated