Authorization: Bearer ********************{
"task": "ai-matting", // 抠图
"image": "https://oss.ffire.cc/files/matting.png"// 图片base64或者url
}curl --location --request POST 'https://api.chatfire.cn/aitools/v1/images' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"task": "ai-matting", // 抠图
"image": "https://oss.ffire.cc/files/matting.png"// 图片base64或者url
}'{
"data": [
{
"url": "https://sfile.chatglm.cn/chatglm4/38a316ea-e998-4e15-81f0-7a770b44e29e.png"
}
]
}