通义万相2.5-图像编辑-Preview
ali/wan2.5-i2i-preview指令编辑图片内容,轻松实现局部修改、风格变化、一致性保持等
- Modalities
- Public starting price
- ¥0.200/image
- Added to catalog
- Sep 28, 2025
Online Inference
Configure input
Controls and defaults come directly from this model’s API schema.
Task result
通义万相2.5-图像编辑-Preview

{
"image_urls": [
"https://oss.shengsuanyun.com/example/modelinfo/173/2025-10-08_17:25:48_output_2.png"
],
"progress": 100
}
Progress—
Elapsed—
Request ID—
Task History
Task history
Only generation records from the last seven days are available.
Sign in to view your task history.
Sign in to view task historyFilled when you open this page. The default query uses the current model ID; leave blank for records from all models.
| Task ID | Model | Completion status | Created | Duration | Credits consumed | Artifact |
|---|
10 per page
1
API Call
通义万相2.5-图像编辑-Preview code examples and API guide
Modelmesh normalizes requests and responses across service providers behind one consistent API.
Modelmesh provides an OpenAI-compatible Completion API for more than 300 models and service providers. Call it directly, through the OpenAI SDK, or with supported third-party SDKs.
Modelmesh-specific request headers in these examples are optional. When supplied, your application can appear on the Modelmesh rankings.
#!/usr/bin/env bash
set -euo pipefail
API_KEY="$SSY_API_KEY"
curl --fail-with-body --silent --show-error --location \
--request POST \
"https://router.shengsuanyun.com/api/v1/tasks/generations" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${API_KEY}" \
--data '{
"model": "ali/wan2.5-i2i-preview",
"image": "https://oss.shengsuanyun.com/example/modelinfo/173/2025-10-08_17:25:48_input_1.jpeg",
"n": 1,
"prompt": "将车的颜色改成黑色",
"seed": 0,
"size": "1280*1280",
"watermark": false
}'
#!/usr/bin/env bash
set -euo pipefail
API_KEY="$SSY_API_KEY"
curl --fail-with-body --silent --show-error --location \
--request POST \
"https://router.shengsuanyun.com/api/v1/tasks/generations" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${API_KEY}" \
--data '{
"model": "ali/wan2.5-i2i-preview",
"image": "https://oss.shengsuanyun.com/example/modelinfo/173/2025-10-08_17:25:48_input_1.jpeg",
"n": 1,
"prompt": "将车的颜色改成黑色",
"seed": 0,
"size": "1280*1280",
"watermark": false
}'
#!/usr/bin/env bash
set -euo pipefail
API_KEY="$SSY_API_KEY"
REQUEST_ID="${SSY_REQUEST_ID:?Set SSY_REQUEST_ID to the ID returned by task submission}"
curl --fail-with-body --silent --show-error --location \
--request GET \
"https://router.shengsuanyun.com/api/v1/tasks/generations/${REQUEST_ID}" \
--header "Authorization: Bearer ${API_KEY}"
#!/usr/bin/env bash
set -euo pipefail
API_KEY="$SSY_API_KEY"
REQUEST_ID="${SSY_REQUEST_ID:?Set SSY_REQUEST_ID to the ID returned by task submission}"
curl --fail-with-body --silent --show-error --location \
--request GET \
"https://router.shengsuanyun.com/api/v1/tasks/generations/${REQUEST_ID}" \
--header "Authorization: Bearer ${API_KEY}"
Pricing
Pricing Details
All prices shown in CNY- 每张图片
- ¥0.2/每张图片