对于输入的一张图片(可正常解码,且长宽比适宜),识别人体/物品的轮廓范围,与背景进行分离,适用于拍照背景替换、照片合成、身体特效等场景。
该接入点用于向我们提交分割抠图任务。AI自动识别出图中要保留的部分,大部分任务都能在1分钟内完成
showapi_res_body
curl -X POST "https://route.showapi.com/2669-16?appKey=YOUR_APPKEY" \ -H "content-type: application/x-www-form-urlencoded" \ -d "img_url=https%3A%2F%2Fshowapi-pub-hangzhou.oss-cn-hangzhou.aliyuncs.com%2Fbg_remove%2F20240819162402.jpg&img_base64=&call_back_url=&text=sky&threshold=0.2"
{ "showapi_res_id": "", "showapi_res_error": "", "showapi_res_code": 0, "showapi_res_body": { "result": "", "call_back_url": "https://www.showapi.com/callback", "ret_code": 0, "text": "sky", "remark": "", "origin_url": "https://showapi-pub-hangzhou.oss-cn-hangzhou.aliyuncs.com/bg_remove/20240819162402.jpg", "status": "start", "task_order": "br202502112AEdipyRKPU", "finish_time": "", "ct": "2025-02-11 14:41:59.605", "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