---
title: 创建图像编辑任务-通义万相-通用图像编辑-API黄页|万维易源ShowAPI
canonical_url: "https://www.showapi.com/playground/aliyun/bailian/tywx-image-edit"
last_updated: "2026-09-23T16:05:54.562Z"
meta:
  description: 阿里云通义万相提供专业AI图像编辑API，支持扩图、去水印、风格迁移等多样化图像处理功能，适用于各类图像美化与修复场景。
  keywords: 图像编辑API，通义万相图像处理，AI图像修复，智能扩图工具，在线去水印
  "og:description": 阿里云通义万相提供专业AI图像编辑API，支持扩图、去水印、风格迁移等多样化图像处理功能，适用于各类图像美化与修复场景。
  "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%2F2868981.html) [**应用示例](https://www.showapi.com/aiapp/aliyun/bailian/tywx-image-edit.html)

**1.0w

2025-04-10更新

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

该API支持多种图像编辑功能，如文生图、涂鸦作画、图像局部重绘、人像风格重绘等，适用于创意设计、广告制作、图像修复等场景。用户可以通过配置API Key和使用SDK快速集成到自己的应用中。

**基础配置**

**Token****\*****[去获取Token](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进行身份认证。

选择接入点：

**POST**

**

**Run

**接入点文档：**[查看](https://help.aliyun.com/help/json/document_detail.json?alias=%2Fmodel-studio%2Fwanx-image-edit-api-reference&pageNum=1&pageSize=20&website=cn&language=zh&channel=)

Run: Ctrl+

↵

接入点描述：通过简单的指令实现多样化的图像编辑，适用于扩图、去水印、风格迁移、图像修复、图像美化等场景。

**请求参数**

**input.base\_image\_url****\***

输入图像的URL地址。

**input.function****\***

图像编辑功能。

**input.prompt****\***

提示词，用来描述生成图像中期望包含的元素和视觉特点。

**model****\***

模型名称。

**parameters.n**

生成图片的数量。

**返回结果**

当前为示例返回

**

返回体

返回头

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

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

**拷贝Curl语句