Service APIs for creating virtual avatars
  • Welcome
    • Overview
    • About us
    • Glossary
  • What's New
    • Changelog
    • Subscribe for updates
  • EXAMPLES
    • 3D model from single photo
  • Getting started
    • Introduction
    • Getting a token
    • 3D Face Reconstruction
    • 3D Hair Reconstruction
    • GLB Constructor
      • Easy - Head Visualization
      • Advanced - Schema preparation
      • Advanced - Assembling
  • API Methods
    • 3D Face Reconstruction
      • Bad Case Examples
    • 3D Hair Reconstruction
    • GLB Constructor
  • Errors
    • 3D Face Reconstruction
    • 3D Hair Reconstruction
    • GLB Constructor
  • API Metrics
    • SLA
Powered by GitBook
On this page
  • 0. unregistered token
  • 1. fail authorization
  • 3. the file is too large
  • 4. face not found
  • 5. invalid input image
  • 6. empty input image
  1. Errors

3D Face Reconstruction

PreviousGLB ConstructorNext3D Hair Reconstruction

Last updated 1 year ago

0. unregistered token

{
  "error": {
    "code": 0,
    "message": "unregistered token"
  }
}

This error means that the service does not know of such a token.

, or if it has already been received, check it for typos.

1. fail authorization

{
  "error": {
    "code": 1,
    "message": "fail authorization"
  }
}

Your access is limited. .

3. the file is too large

{
  "error": {
    "code": 3,
    "message": "file must be less than 10mb"
  }
}

You are trying to send an image that is over the size limit. Compress your image.

4. face not found

{
  "error": {
    "code": 4,
    "message": "face not found"
  }
}

No face found in photo.

If the face is really in the photo, then there are possible problems with the image:

  • bad image quality

  • face is covered

  • too much head turn

  • body art

5. invalid input image

{
  "error": {
    "code": 5,
    "message": "file corrupted"
  }
}

You sent a picture with an unsupported resolution.

Convert it to any of the following formats:

  • png (PNG)

  • jpg (JPG, JPEG)

  • HEIC

  • bmp

  • webp

6. empty input image

{
  "error": {
    "code": 6,
    "message": "empty input image"
  }
}

The server received an empty file. Check out its contents.

Get a token
Contact support