Skip to main content
POST
Head Extraction

Authorizations

ailabapi-api-key
string
header
required

API Key for authentication

Body

multipart/form-data
image
file
required
  • Image format: JPEG JPG BMP PNG.
  • Image size: No more than 3 MB.
  • Image resolution: Larger than 32x32px and smaller than 2000x2000px.
return_form
enum<string>

Specifies the form of the returned image.

  • If not set, the four-channel PNG map is returned.
  • mask: Returns a single channel mask.
Available options:
mask

Response

200 - application/json

Success

request_id
string
required

Request ID for debugging.

log_id
string
required

Log ID for debugging.

error_detail
object
required
data
object

The content of the result data returned.