Authorizations
API Key for authentication
Response
200 - application/json
Success
The response is of type object.
curl --request POST \
--url https://www.ailabapi.com/api/image/editing/intelligent-composition \
--header 'Content-Type: multipart/form-data' \
--header 'ailabapi-api-key: <api-key>' \
--form 'num_boxes=<string>' \
--form image=@example-file{
"request_id": "",
"log_id": "",
"error_code": 0,
"error_code_str": "",
"error_msg": "",
"error_detail": {
"status_code": 200,
"code": "",
"code_message": "",
"message": ""
},
"data": {
"elements": [
{
"min_x": 0,
"max_x": 0,
"min_y": 0,
"max_y": 0,
"score": 0
}
]
}
}curl --request POST \
--url https://www.ailabapi.com/api/image/editing/intelligent-composition \
--header 'Content-Type: multipart/form-data' \
--header 'ailabapi-api-key: <api-key>' \
--form 'num_boxes=<string>' \
--form image=@example-file{
"request_id": "",
"log_id": "",
"error_code": 0,
"error_code_str": "",
"error_msg": "",
"error_detail": {
"status_code": 200,
"code": "",
"code_message": "",
"message": ""
},
"data": {
"elements": [
{
"min_x": 0,
"max_x": 0,
"min_y": 0,
"max_y": 0,
"score": 0
}
]
}
}API Key for authentication
Success
The response is of type object.