Wan-Image

Copy success!
Add to Compare

Overview

The upgraded Wan2.5 Preview image edit model, newly upgraded model architecture supports rich image editing capabilities via instruction control, with enhanced instruction adherence. It also enables multi-image reference generation with high consistency and demonstrates excellent text generation performance.

Input

Image

Output

Image

Features

Prefix Completion

Enable Partial Mode when calling the Qwen API to make the model continue strictly from your provided prefix text.View docs

Function Calling

Use function calling to connect large language models with external tools and systems.View docs

Cache

Context Cache stores shared prefixes for long-context requests to reduce repeated computation, improve latency, and lower cost.View docs

Structured Outputs

Structured Outputs help ensure the model returns a JSON string in the expected format.View docs

Batches

Asynchronously process requests in batches to reduce costs.View docs

Web Search

Enable web search so the model can answer with real-time retrieved data.View docs

Fine-tuning

Train models on sample data to better adapt them to specific tasks.View docs

Pricing

  • Image Generation
    $0.03Per image

Rate Limits

  • Concurrency
    5concurrent
  • Async Queue Limit
    500tasks
  • RPMRequests Per Minute
    300

API Reference

Call API
Copy success!
1234567891011121314151617181920
curl --location 'https://dashscope-intl.aliyuncs.com/api/v1/services/aigc/image2image/image-synthesis' \
-H 'X-DashScope-Async: enable' \
-H "Authorization: Bearer $DASHSCOPE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "wan2.5-i2i-preview",
"input": {
"prompt": "Replace the floral dress with a vintage-style lace gown that has delicate embroidery on the collar and cuffs.",
"images": [
"https://img.alicdn.com/imgextra/i3/O1CN01Z1BLz61dMGqxmijRd_!!6000000003721-2-tps-1080-1620.png"
]
},
"parameters": {
"size": "1280*1280",
"n": 1
}
}'

curl -X GET https://dashscope-intl.aliyuncs.com/api/v1/tasks/13b1848b-5493-4c0e-8c44-xxxxxxxxxxxx \
-H "Authorization: Bearer $DASHSCOPE_API_KEY"