Skip to main content

AILabTools API - Hairstyle Extraction - Introduction

Used to recognize the character's hairstyle in the image, then keying and parsing the character's hairstyle area, and finally outputting a rectangular transparent image of the character's hair in PNG format.

Application Scenarios

  • Wig network try: through the hair segmentation, after intercepting the hair of the self-timer, change it into a wig image, you can directly see the effect of the wig try, eliminating the need to return or replace the goods after online shopping wear inappropriate troubles.
  • Barbershop hairstyle try: hairstylists guide customers through the tablet or cell phone shot of their own headshot, changed into a variety of hairstyles, have a more intuitive feeling. Customers can choose their favorite hairstyle and let the hairstylist take care of them.
  • Precise segmentation of hair edges: The edges of hair can be precisely segmented, and the editing result of the image after segmentation has no sense of contradiction.

Renderings show

ORIGINAL IMAGERESULT IMAGE
ORIGINAL IMAGERESULT IMAGE
ORIGINAL IMAGERESULT IMAGE

If you'd like to see the actual effects, please visit the experience page for a trial.

Billing Instructions

  • A certain number of credits will be consumed for each successful API call.

Amount of Credits Deducted

APINumber of Credits
Hairstyle Extraction1

Resource Package

Universal Credits (Supports All APIs)

AmountsCreditsAmounts/CreditAllowable Call Count (Hairstyle Extraction)One-Time Amount (Hairstyle Extraction)
$ 12.002,000$ 0.00602,000$ 0.0060
$ 27.505,000$ 0.00555,000$ 0.0055
$ 50.0010,000$ 0.005010,000$ 0.0050
$ 135.0030,000$ 0.004530,000$ 0.0045
$ 212.0050,000$ 0.004350,000$ 0.0043
$ 400.00100,000$ 0.0040100,000$ 0.0040
$ 1,050.00300,000$ 0.0035300,000$ 0.0035
$ 1,500.00500,000$ 0.0030500,000$ 0.0030
$ 2,500.001,000,000$ 0.00251,000,000$ 0.0025
tip

If you require more credits, please contact us at [email protected].

File Storage Policy

info
  • Uploaded Files:
    • Storage Duration: 24 hours.
    • Deletion Method: Automatic Deletion upon Timeout.
  • Response Files:
    • Storage Duration: 24 hours.
    • Deletion Method: Automatic Deletion upon Timeout.