HD color migration
开发环境
开发环境
POST
/api/image/effects/image-hd-color-migration
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/image/effects/image-hd-color-migration' \
--header 'ailabapi-api-key;' \
--form 'task_type="async"' \
--form 'image=@""' \
--form 'mode=""' \
--form 'degree=""' \
--form 'color_count=""' \
--form 'color_template=""' \
--form 'ref=@""'
响应示例响应示例
0 - AUTO - AUTO
{
"error_code": 0,
"error_code_str": "",
"error_msg": "",
"request_id": "",
"log_id": "",
"task_type": "",
"task_id": ""
}
请求参数
Header 参数
ailabapi-api-key
string
必需
Body 参数multipart/form-data
task_type
string
必需
示例值:
async
image
file
必需
mode
string
必需
degree
string
必需
color_count
string
必需
color_template
string
必需
ref
file
必需