Request
- URL:
https://www.ailabapi.com/api/common/query-async-task-result - Method:
GET
Headers
| Field | Required | Type | Description |
|---|---|---|---|
ailabapi-api-key | YES | string | Application API KEY. Get API KEY |
Query Params
| Field | Required | Type | Description |
|---|---|---|---|
task_id | YES | string | The task_id returned by the asynchronous API. |
Response
Public Response Fields
Viewing Public Response Fields and Error CodesBusiness Response Fields
| Field | Type | Scope | Description |
|---|---|---|---|
task_status | integer | 0, 1, 2 | Asynchronous task status. 0`: The task is queued.` 1: Asynchronous processing. “2: Processing was successful. |
Response Example
Sample Code
File Storage Policy
- Response Files:
- Storage Duration: 24 hours.
- Deletion Method: Automatic Deletion upon Timeout.
Async APIs
- AI Cartoon Generator
- HD color migration
- Hairstyle changer Pro
- Smart Beauty
- Face Beauty Pro
- Try on Clothes
- Try on Clothes Pro
- Try on Clothes Refiner
Authorizations
API Key for authentication
Query Parameters
The task_id returned by the asynchronous API.
Response
200 - application/json
Success
The response is of type object.

