3D Hair Reconstruction

1. fail authorization

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

Your access is limited. Contact support.

2. glb error

{
  "error": {
    "code": 2,
    "message": "glb model write error"
  }
}

An error occurred while writing glb, try request again.

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.

7. hair mode error

{
  "error": {
    "code": 7,
    "message": "wrong hair mode"
  }
}

The server received wrong hair mode. Make sure you write hair mode without mistake.

8. wrong hex string format

{
  "error": {
    "code": 8,
    "message": "wrong hex string format"
  }
}

Check hex color code for hair color (see examples).

Last updated