Skip to main content
GET
/
api
/
image
/
asyn-task-results
Querying Async Task Results
curl --request GET \
  --url https://www.ailabapi.com/api/image/asyn-task-results \
  --header 'ailabapi-api-key: <api-key>'
{
"request_id": "",
"log_id": "",
"error_code": 0,
"error_code_str": "",
"error_msg": "",
"error_detail": {
"status_code": 200,
"code": "",
"code_message": "",
"message": ""
},
"data": {
"status": "PROCESS_SUCCESS",
"image_list": [
"https://www.ailabtools.com/logo.png"
]
}
}

Authorizations

ailabapi-api-key
string
header
required

API Key for authentication

Query Parameters

job_id
string

The request_id returned by the asynchronous API.

type
string

Asynchronous task type. <li>HD_COLOUR_MIGRATION: HD color migration</li> <li>GENERATE_CARTOONIZED_IMAGE: AI Cartoon Generator</li>

Response

200 - application/json

Success

The response is of type object.