Wan-Image
Copy success!
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 docsFunction Calling
Use function calling to connect large language models with external tools and systems.View docsCache
Context Cache stores shared prefixes for long-context requests to reduce repeated computation, improve latency, and lower cost.View docsStructured Outputs
Structured Outputs help ensure the model returns a JSON string in the expected format.View docsPricing
- Image Generation$0.03Per image
Rate Limits
- Concurrency5concurrent
- Async Queue Limit500tasks
- RPMRequests Per Minute300
API Reference
Call APICopy 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"