通义万相2.2-文生图-Lora

ali/wan-2.2-t2i-lora

该模型可在 3-4 秒内生成精美的电影级 200 万像素图像,它源自 Wan 2.2 模型,并运用了 pruna 包中的优化技术。

Modalities
Public starting price
¥0.140/image
Added to catalog
Nov 13, 2025

Online Inference

Configure input

Controls and defaults come directly from this model’s API schema.

Configure the model first, then sign in when you are ready to generate.Sign in to generate

Task result

Preview the model before signing inAll controls are available now. Sign in only when you submit the task.
通义万相2.2-文生图-Lora
Progress—
Elapsed—
Request ID—

Task History

Task history

Only generation records from the last seven days are available.

Generation details

API Call

通义万相2.2-文生图-Lora 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/wan-2.2-t2i-lora", "aspect_ratio": "16:9", "juiced": true, "lora_scale_transformer": 2, "lora_scale_transformer_2": 1, "lora_weights_transformer": "https://huggingface.co/artificialguybr/YarnwovenStyle-Redmond-WAN2-T2V-14B/resolve/main/%5BWAN2%5DYarnwovenStyle-Redmond_high_noise.safetensors", "megapixels": 2, "output_format": "jpg", "output_quality": 80, "prompt": "一位穿着黄色雨衣的年长水手坐在双体船甲板上,缓缓抽着烟斗的特写镜头。他的猫静静地躺在他身旁,闭着眼睛,享受着这份宁静。夕阳温暖的余晖洒满了整个场景,温柔的海浪拍打着船体,几只海鸟缓缓盘旋。" }'
                  
                    
                        
                        #!/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/wan-2.2-t2i-lora",
                      
                        
                          "aspect_ratio": "16:9",
                      
                        
                          "juiced": true,
                      
                        
                          "lora_scale_transformer": 2,
                      
                        
                          "lora_scale_transformer_2": 1,
                      
                        
                          "lora_weights_transformer": "https://huggingface.co/artificialguybr/YarnwovenStyle-Redmond-WAN2-T2V-14B/resolve/main/%5BWAN2%5DYarnwovenStyle-Redmond_high_noise.safetensors",
                      
                        
                          "megapixels": 2,
                      
                        
                          "output_format": "jpg",
                      
                        
                          "output_quality": 80,
                      
                        
                          "prompt": "一位穿着黄色雨衣的年长水手坐在双体船甲板上,缓缓抽着烟斗的特写镜头。他的猫静静地躺在他身旁,闭着眼睛,享受着这份宁静。夕阳温暖的余晖洒满了整个场景,温柔的海浪拍打着船体,几只海鸟缓缓盘旋。"
                      
                        
                        }'
                      
                  
                
#!/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.14/每张图片