
| 错误代码 | 描述 |
|---|---|
| 10001 | 参数错误 |
| 10002 | 图片格式错误 |
| 30001 | 信用过时 |
| 30002 | 信用不够 |
| 40001 | 用户禁用 |
| 40002 | 用户已过时 |
| 40003 | 应用密钥错误 |
| 40004 | 计划类型错误 |
| 50001 | 服务器错误 |
| 60004 | 文件大小获取错误 |
| 60005 | 文件错误 |
| 60006 | 文件大小限制 |
| 60009 | 不铺 垫计划 |
| 60010 | 请求错误 |
| 60013 | 抠图失败 |
| 60015 | 图片太大 |
curl --location --request GET 'http://dev-cn.your-api-server.com/openapi/api/v1/matting/removebg' \
--header 'appkey: INSERT_YOUR_API_KEY_HERE' \
--form 'content="/path/to/file.jpg"' \
--form 'appkey="Your Exclusive API Key"'处理后的图像输出二进制格式,content-type为image/png