Skip to main content
[Important: API Service Retirement Announcement]Dear Developers,Thank you for your continued trust and support in AILabTools API. In order to provide more efficient and reliable services, we will officially deprecate the current version of this API.As this interface is based on an outdated architecture and its performance can no longer meet evolving needs, it will no longer be available starting from the date of this announcement.We kindly recommend that you evaluate and adopt an alternative solution as soon as possible to ensure a smooth transition for your applications.If you have any questions or need assistance during the migration, please feel free to contact our support team: šŸ“§ [email protected]We sincerely appreciate your understanding and cooperation, and we remain committed to delivering better and more advanced services for you.Warm regards,AILabTools Support Team

Request

  • URL: https://www.ailabapi.com/api/image/effects/ai-anime-generator
  • Method: POST
  • Content-Type: multipart/form-data

Image requirements

  • Image format: JPEG PNG JPG BMP WEBP
  • Image size: No more than 10 MB.
  • Can support any resolution output, to ensure the generation quality, it is recommended that the image resolution does not exceed 1280x720px.

Headers

FieldRequiredTypeDescription
ailabapi-api-keyYESstringApplication API KEY. Get API KEY

Body

FieldRequiredTypeDescription
imageYESfile
typeYESstringStyle. Range of values

The range of type values.

CategoryValueDescription
defaultAuto
Male photoboy-0Basic I
boy-1Literary I
boy-2Literary II
boy-3Sports
boy-4Beautification
boy-5Mature and steady
boy-6Ink wash painting
boy-7Oil painting
boy-8Detail enhancement
boy-9Sunny boy
boy-10Skin beautification
boy-11Face slimming
boy-12Aestheticism
boy-13Violet
boy-14Marvel
boy-15Makoto Shinkai
boy-16Zelda
boy-17Genshin Impact
boy-18Japanese kimono
boy-19Saint Seiya
boy-20Chinese Hanfu
boy-21Yoshihiro Togashi
boy-22Akira Toriyama
boy-23One Piece
boy-24Smile I
boy-25Smile II
boy-26Basic II
boy-27Big eyes
Male group photoboys-0Basic I
boys-1Basic II
Photos of womengirl-0Sweet
girl-1Loli
girl-2Beautification I
girl-3Beautification + Big eyes
girl-4Beautification + Smile
girl-5Beautification II
girl-6Gaming
girl-7Anime, comics and games (ACG)
girl-8ACG + Big eyes
girl-9ACG + Smile
girl-10ACG + Big eyes + Smile
girl-11Detail enhancement I
girl-12Color sketch
girl-13Pure
girl-14Detail enhancement II
girl-15Genshin Impact
girl-16Zelda
girl-17Oil painting
girl-18Makoto Shinkai
girl-19The Snow Queen
girl-20Alice in Wonderland
girl-21Work attire
girl-22Retro girl
girl-23Chinese Hanfu
girl-24Violet
girl-25Elf
girl-26Saint Seiya
girl-27Wuxia
Group photo of womengirls-0Basic
girls-1Chinese Hanfu
girls-2Beautification
girls-3Detail enhancement
Group photo of multiple peoplepeople-0Basic I
people-1Basic II
people-2Basic III
Animalspet-0Basic I
pet-1Basic II
pet-2Basic III
Landscapesscene-0Basic
scene-1Ed Mell
scene-2Jessica Rossier
scene-3Violet
scene-4Ian McQue
scene-5Alice in Wonderland

Response

Response Field Handling Flow
  1. Handle Public Response Fields Parse and validate the Public Response Fields, checking the status code or response message to ensure the request is successful and error-free.
  2. Handle Business Response Fields If the Public Response Fields are valid and error-free, proceed with processing the business logic in the Business Response Fields.

Public Response Fields

Viewing Public Response Fields and Error Codes

Business Response Fields

FieldTypeScopeDescription
dataobjectThe content of the result data returned.
+result_urlstringResult URL address.
Return when the result of the query asynchronous task is successful.
The URL address is a temporary address, valid for 24 hours, and will not be accessible after it expires. If you need to save the file for a long time or permanently, please visit the URL address within 24 hours and download the file to your own storage space. This API is asynchronous API, if the processing result result_url is not obtained in synchronous state, please keep request_id and call Querying Async Task Results API to obtain the processing result. Asynchronous task results are valid for 30 minutes. It is recommended that asynchronous task results be queried every 5 seconds.

Response Example

,
  "data":           
}

Sample Code