---
title: 图像擦除补全-图像擦除补全-API黄页|万维易源ShowAPI
canonical_url: "https://www.showapi.com/playground/aliyun/bailian/image-erase-fill"
last_updated: "2026-09-23T08:56:38.118Z"
meta:
  description: 阿里云大模型百炼提供专业图像擦除补全服务，通过AI技术精准移除图片中指定元素并智能修复背景，高效解决图像编辑需求。
  keywords: 图像擦除补全，AI图像处理，图片背景修复，智能图像编辑，照片元素移除
  "og:description": 阿里云大模型百炼提供专业图像擦除补全服务，通过AI技术精准移除图片中指定元素并智能修复背景，高效解决图像编辑需求。
  "og:title": 图像擦除补全-图像擦除补全-API黄页|万维易源ShowAPI
---

*

*

*

# **图像擦除补全**

[阿里云-大模型服务平台百炼](https://www.showapi.com/playground/aliyun/bailian)** 产品首页 [**API文档](https://bailian.console.aliyun.com/?tab=api#/api/?type=model&url=https%3A%2F%2Fhelp.aliyun.com%2Fdocument_detail%2F2840907.html) [**应用示例](https://www.showapi.com/aiapp/aliyun/bailian/image-erase-fill.html)

**1.3w

2025-04-10更新

**244 [提交收录](https://www.showapi.com/island/feedback-page?submitrequire=true) [反馈问题](https://www.showapi.com/island/feedback-page?apiurl=/playground/aliyun/bailian/image-erase-fill) [ 创建我的API](https://www.showapi.com/playground)

该API利用先进的深度学习技术，能够识别并擦除图像中的特定区域，同时智能地补全背景，使图像看起来自然无痕。适用于图像编辑、修复等场景。

**基础配置**

**API\_KEY****\*****[去获取API\_KEY](https://bailian.console.aliyun.com/?tab=api#/api/?type=model&url=https%3A%2F%2Fhelp.aliyun.com%2Fdocument_detail%2F2712195.html&renderType=iframe)

推荐您使用百炼API-Key，也可填DashScope API-Key。

选择接入点：

**POST**

**

**Run

**接入点文档：**[查看](https://bailian.console.aliyun.com/?tab=api#/api/?type=model&url=https%3A%2F%2Fhelp.aliyun.com%2Fdocument_detail%2F2840907.html&renderType=iframe)

Run: Ctrl+

↵

接入点描述：通过指定图像mask中要删除的区域，在保留背景的同时移除图像中的一个或多个元素。

**请求参数**

**input.image\_url****\***

输入图像URL地址或者图像base64数据。

**input.mask\_url****\***

输入擦除区域掩码图像URL地址或者图像base64数据。

**model****\***

调用模型。

**parameters.dilate\_flag**

默认为true，建议若擦除mask为算法分割结果，设置为true；若擦除mask为涂抹结果，设置为false。

**parameters.fast\_mode**

是否为快速模式，默认为false，快速模式推理耗时约为非快速模式的四分之一，适合不需要生成大量细节的场景。

**parameters.add\_watermark**

添加\`Generated by AI\`水印。默认值为true，在输出图像左下角处添加水印。

**返回结果**

当前为示例返回

**

返回体

返回头

**使用其他软件测试API**

您可以拷贝Curl语句，直接导入Postman进行测试

**拷贝Curl语句