> **平台**: 万维易源 (ShowAPI)
> **接入方式**: 统一 API 网关 (HTTPS POST/GET)
> **认证**: showapi_appid + showapi_sign
> **文档**: https://www.showapi.com/apiGateway/view/3405

---
title: "免费分割图片 - 按比例分割图片|万维易源ShowAPI"
canonical_url: "https://www.showapi.com/apiGateway/view/3405"
last_updated: "2026-09-21T13:53:41.212Z"
meta:
  description: "按比例分割图片，将结果粘贴预览：  https://tools.biu.link/page/image-view/"
  keywords: "api接口,api接口大全,免费api,免费数据接口,数据接口,api开放平台,万维易源,showapi,大模型,AI Skills"
  "og:description": "按比例分割图片，将结果粘贴预览：  https://tools.biu.link/page/image-view/"
  "og:title": "API 市场|万维易源ShowAPI"
---

*

*

*

# **按比例分割图片**

**免费服务**

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

**免费****本接口注册后默认可免费调用，为防止滥用设有使用档次限制。**

[**了解积分与档位详情 › **](https://www.showapi.com/free-api)

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

在线调试

**官方自营**

易源官方提供，长期稳定运营

<dl>

<dt>服务商</dt>
<dd>昆明秀派科技有限公司</dd>

<dt>电话</dt>
<dd>400-998-8033</dd>

<dt>QQ</dt>
<dd>4009988033</dd>

<dt>邮箱</dt>
<dd>[service@showapi.com](mailto:service@showapi.com)</dd>

</dl>

<dl>

<dt>所属分类</dt>
<dd>IT技术</dd>

<dt>接入点</dt>
<dd>1 个</dd>

<dt>请求方式</dt>
<dd>POST</dd>

<dt>返回格式</dt>
<dd>JSON</dd>

</dl>

**分割图片**

接入点说明

```
按比例分割图片，将结果粘贴预览：  https://tools.biu.link/page/image-view/
```

接口地址

https://route.showapi.com/3405-1?appKey={your\_appKey} [查看密钥](https://www.showapi.com/console#/myApp) [调用帮助](https://www.showapi.com/helpcenter/view#/3960/1)

返回格式JSON

请求方式POST

**请求参数**

**Header 参数**

| |
|

| |
|

**Post 表单**

| |
|

| |
|
| |
| |

**返回参数**查看公共返回参数

该接口返回经 `showapi_res_body` 系统封装，业务数据均位于该对象内；系统级字段见公共返回参数。

**返回体**

| |
|

| |
|
| |
| |
| |
| |
| |

**请求示例**

[查看我的 appKey](https://www.showapi.com/console#/myApp) [查看使用向导](https://www.showapi.com/helpcenter/view#/3960/1) [Python / Java 等多语言示例](https://www.showapi.com/apitest/market/3405/1)

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 管理](https://www.showapi.com/console#/myApp)）。该服务覆盖本接口全部接入点。

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 直接消费。

[在线查看 YAML](https://www.showapi.com/openapi/market/3405.yaml) [下载 YAML](https://www.showapi.com/openapi/market/3405.yaml) [查看 JSON](https://www.showapi.com/openapi/market/3405.json)