对于输入的一张图片(可正常解码,且长宽比适宜),识别人体/物品的轮廓范围,与背景进行分离,适用于拍照背景替换、照片合成、身体特效等场景。
通过任务号查询抠图分割任务的执行状态
showapi_res_body
curl -X POST "https://route.showapi.com/2669-17?appKey=YOUR_APPKEY" \ -H "content-type: application/x-www-form-urlencoded" \ -d "task_order="
{ "showapi_res_id": "", "showapi_res_error": "", "showapi_res_code": 0, "showapi_res_body": { "result": "https://hj2.co/ai_img/1day_del/20250211/CrgqJNvQESvBjmcGGBZjas.png", "call_back_url": "", "ret_code": 0, "text": "sky", "origin_url": "https://showapi-pub-hangzhou.oss-cn-hangzhou.aliyuncs.com/bg_remove/20240819162402.jpg", "task_order": "br202502112afRUtuANCU", "status": "success", "finish_time": "2025-02-11 15:52:31", "origin_order": "8ad0498500cd4783bf60cbde68100b0d", "ct": "2025-02-11 15:51:41.113", "threshold": "0.2" } }
在 Cherry Studio、ChatBox 等支持 MCP 的客户端中配置,将 {your_appKey} 替换为真实 AppKey(AppKey 管理)。该服务覆盖本接口全部接入点。
{ "mcpServers": { "showapi-mcp-2669": { "url": "http://www.showapi.com.cn/mcp/2669/{your_appKey}" } } }
标准 OpenAPI 3.0 文档,覆盖本接口全部接入点,可导入 Apifox / Postman / Swagger UI,或供 AI Agent 直接消费。
客服热线请拨打
400-998-8033