通义万相2.2-文生图-Lora
ali/wan-2.2-t2i-lora该模型可在 3-4 秒内生成精美的电影级 200 万像素图像,它源自 Wan 2.2 模型,并运用了 pruna 包中的优化技术。
- 输入 / 输出模态
- 公开起步价格
- ¥0.140/图
- 收录时间
- 2025年11月13日
在线推理
输入配置
控件、可选项与默认值均直接来自当前模型的 API Schema。
任务结果
通义万相2.2-文生图-Lora

{
"image_urls": [
"https://oss.shengsuanyun.com/example/modelinfo/230/2025-11-25_16:33:14_output_2.jpeg"
],
"progress": 100
}
进度—
耗时—
请求 ID—
历史任务
任务历史
仅支持查看最近七个自然日的生成记录。
请登录后查看历史任务。
登录查看历史任务进入详情时自动带入;默认查询关联当前模型 ID,留空时查询全部模型记录。
| 任务 ID | 模型 | 完成状态 | 创建时间 | 耗时 | 消耗模力 | 产物 |
|---|
每页 10 条
1
API 调用
通义万相2.2-文生图-Lora 的示例代码与 API 说明
Modelmesh 会帮你在不同服务提供商之间规范化处理请求和响应,为你统一接口。
Modelmesh 提供了兼容 OpenAI 的 Completion API,可连接 300 多款模型与服务提供商,既可直接调用,也可通过 OpenAI SDK 调用。此外,还提供了一些第三方 SDK。
在以下示例中,Modelmesh 专用的请求头属于可选项。若你配置了这些请求头,你的应用就能出现在 Modelmesh 的排行榜上。
#!/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}"
价格
价格明细
统一按人民币展示- 每张图片
- ¥0.14/每张图片