| Model Version | Model Name | Model Description |
|---|---|---|
| Tongyi Wanxiang T2I 2.5 | wan2.5-t2i-preview | Wanxiang 2.2 preview version, currently the latest model. |
| Tongyi Wanxiang T2I 2.2 | wan2.2-t2i-flash | Wanxiang 2.2 flash version. Comprehensively upgraded in creativity, stability, and realistic texture. Fast generation speed and high cost performance. |
| Tongyi Wanxiang T2I 2.2 | wan2.2-t2i-plus | Wanxiang 2.2 professional version. Comprehensively upgraded in creativity, stability, and realistic texture. Rich in generated details. |
| Tongyi Wanxiang T2I 2.1 | wanx2.1-t2i-turbo | Wanxiang 2.1 flash version. Fast generation speed and balanced results. |
| Tongyi Wanxiang T2I 2.1 | wanx2.1-t2i-plus | Wanxiang 2.1 professional version. Generates images with richer details, slightly slower speed. |
| Tongyi Wanxiang T2I 2.0 | wanx2.0-t2i-turbo | Wanxiang 2.0 flash version. Excels at textured portraits and creative design, high cost performance. |
{
"model": "wan2.2-t2i-flash",
"input": {
"prompt": "A flower shop with exquisite windows, a beautiful wooden door, and flowers displayed."
},
"parameters": {
"size": "1024*1024",
"n": 1
}
}curl --location --request POST 'https://api.302.ai/aliyun/api/v1/services/aigc/text2image/image-synthesis' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "wan2.2-t2i-flash",
"input": {
"prompt": "A flower shop with exquisite windows, a beautiful wooden door, and flowers displayed."
},
"parameters": {
"size": "1024*1024",
"n": 1
}
}'{
"request_id": "d4cafaa9-e0a3-430c-b20e-7bd9a7e4abdb",
"output": {
"task_id": "722bfb6c-e1db-45cb-8de6-702e61f77b5e",
"task_status": "PENDING"
}
}