按比例分割图片

按比例分割图片

免费服务

按需设置分割比例,快速完成图片切片拆分,输出分割后的独立图片,轻松实现图片自动化分块处理。

免费本接口注册后默认可免费调用,为防止滥用设有使用档次限制。
了解积分与档位详情 ›

权益档次可使用平台积分兑换更高调用档位,多种积分获取方式请查看积分与档位详情。

分割图片
接入点说明
按比例分割图片,将结果粘贴预览:  https://tools.biu.link/page/image-view/
接口地址
https://route.showapi.com/3405-1?appKey={your_appKey}查看密钥调用帮助
返回格式JSON
请求方式POST
请求参数
Header 参数
Post 表单
返回参数
该接口返回经 showapi_res_body 系统封装,业务数据均位于该对象内;系统级字段见
返回体
cURL
curl -X POST "https://route.showapi.com/3405-1?appKey=YOUR_APPKEY" \
  -H "content-type: application/x-www-form-urlencoded" \
  -d "img_url=https%3A%2F%2Fpromptimg.showapi.com%2Ftasks%2F4184d7eb90b147b79f0b9148a0fbb141.png&rows=4&cols=6"
返回示例
JSON
{
  "showapi_res_error": "",
  "showapi_res_id": "6a17a156fb638cf18b7dac24",
  "showapi_res_code": 0,
  "showapi_fee_num": 1,
  "showapi_res_body": {
    "ret_code": 0,
    "remark": "分割成功",
    "original_size": "1254x1254",
    "cell_size": "209.0x313.5",
    "file_list": [
      "http://static1.showapi.com/app1/images/temp/20260528/cell_d12cc3d08afb4de89863dee5743b2475_01.png",
      "http://static1.showapi.com/app1/images/temp/20260528/cell_d12cc3d08afb4de89863dee5743b2475_02.png",
      "http://static1.showapi.com/app1/images/temp/20260528/cell_d12cc3d08afb4de89863dee5743b2475_03.png",
      "http://static1.showapi.com/app1/images/temp/20260528/cell_d12cc3d08afb4de89863dee5743b2475_04.png",
      "http://static1.showapi.com/app1/images/temp/20260528/cell_d12cc3d08afb4de89863dee5743b2475_05.png",
      "http://static1.showapi.com/app1/images/temp/20260528/cell_d12cc3d08afb4de89863dee5743b2475_06.png",
      "http://static1.showapi.com/app1/images/temp/20260528/cell_d12cc3d08afb4de89863dee5743b2475_07.png",
      "http://static1.showapi.com/app1/images/temp/20260528/cell_d12cc3d08afb4de89863dee5743b2475_08.png",
      "http://static1.showapi.com/app1/images/temp/20260528/cell_d12cc3d08afb4de89863dee5743b2475_09.png",
      "http://static1.showapi.com/app1/images/temp/20260528/cell_d12cc3d08afb4de89863dee5743b2475_10.png",
      "http://static1.showapi.com/app1/images/temp/20260528/cell_d12cc3d08afb4de89863dee5743b2475_11.png",
      "http://static1.showapi.com/app1/images/temp/20260528/cell_d12cc3d08afb4de89863dee5743b2475_12.png",
      "http://static1.showapi.com/app1/images/temp/20260528/cell_d12cc3d08afb4de89863dee5743b2475_13.png",
      "http://static1.showapi.com/app1/images/temp/20260528/cell_d12cc3d08afb4de89863dee5743b2475_14.png",
      "http://static1.showapi.com/app1/images/temp/20260528/cell_d12cc3d08afb4de89863dee5743b2475_15.png",
      "http://static1.showapi.com/app1/images/temp/20260528/cell_d12cc3d08afb4de89863dee5743b2475_16.png",
      "http://static1.showapi.com/app1/images/temp/20260528/cell_d12cc3d08afb4de89863dee5743b2475_17.png",
      "http://static1.showapi.com/app1/images/temp/20260528/cell_d12cc3d08afb4de89863dee5743b2475_18.png",
      "http://static1.showapi.com/app1/images/temp/20260528/cell_d12cc3d08afb4de89863dee5743b2475_19.png",
      "http://static1.showapi.com/app1/images/temp/20260528/cell_d12cc3d08afb4de89863dee5743b2475_20.png",
      "http://static1.showapi.com/app1/images/temp/20260528/cell_d12cc3d08afb4de89863dee5743b2475_21.png",
      "http://static1.showapi.com/app1/images/temp/20260528/cell_d12cc3d08afb4de89863dee5743b2475_22.png",
      "http://static1.showapi.com/app1/images/temp/20260528/cell_d12cc3d08afb4de89863dee5743b2475_23.png",
      "http://static1.showapi.com/app1/images/temp/20260528/cell_d12cc3d08afb4de89863dee5743b2475_24.png"
    ]
  }
}
MCP 服务集成接口级

在 Cherry Studio、ChatBox 等支持 MCP 的客户端中配置,将 {your_appKey} 替换为真实 AppKey(AppKey 管理)。该服务覆盖本接口全部接入点。

MCP JSON
{
  "mcpServers": {
    "showapi-mcp-3405": {
      "url": "http://www.showapi.com.cn/mcp/3405/{your_appKey}"
    }
  }
}
OpenAPI 文档接口级

标准 OpenAPI 3.0 文档,覆盖本接口全部接入点,可导入 Apifox / Postman / Swagger UI,或供 AI Agent 直接消费。