APIMart 上的 Wan 2.7 Image Pro API(wan2.7-image-pro)运行阿里巴巴 Wan 2.7 图片模型的专业版。它的文生图最高 4K,细节更丰富,默认开启思考模式;同时支持编辑、最多 9 张输入的多图参考和最高 2K 的组图,按成功生成的张数计费。
服务亮点
生成一组内容连贯的多张图片(最多12张)
增强推理能力,提升画质(仅文生图时生效)
3–10 项,比例之和需等于 100%(仅非组图模式可用)

Image link valid for 72 hours
透明定价,无隐藏费用。按量付费,用多少付多少。
| 型号 | 黄金价当前价格 | 铂金价 | 钻石价 | 官方价 | 为你节省 |
|---|---|---|---|---|---|
wan2.7-image-pro | 0.544Credits(~$0.0544)/张 | 0.5168Credits(~$0.0517)/张 | 0.4896Credits(~$0.049)/张 | 0.68Credits(~$0.068)/张 | 20% |
* 实际费用以最终输出为准。
在 APIMart 用 Wan 2.7 Image Pro API,生成最高 4K、细节丰富的文生图,并支持最高 2K 的编辑、多图参考和组图,按张计费,4K 不额外收费。
50K+
活跃用户
99.9%
在线率
2x
更快
20%
成本节省
在 APIMart 用一个 POST 请求调用 Wan 2.7 Image Pro API。生成是异步的:先提交任务,再轮询任务接口获取图片地址。
把 APIMart 密钥保存在环境变量 APIMART_API_KEY 中,每次请求时以 Authorization: Bearer <key> 发送。
向 POST /v1/images/generations 发送 model wan2.7-image-pro、提示词、size 和 resolution 4K。传入 image_urls 即为编辑,最高 2K。任务 ID 在 data[0].task_id。
轮询 GET /v1/tasks/{task_id},直到 status 为 completed,然后从 data.result.images[0].url[0] 读取图片地址,并把文件保存到自己的存储。
Wan 2.7 Image Pro 与标准版共用 Wan 2.7 Image API 文档,其中列出全部参数、分辨率规则与返回字段。
curl -X POST https://api.apimart.ai/v1/images/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan2.7-image-pro",
"prompt": "日出时的高山湖泊,湖面薄雾缭绕,远处雪山连绵,超精细风光摄影",
"n": 1,
"size": "16:9",
"resolution": "4K"
}'import os
import time
import requests
API_BASE = "https://api.apimart.ai"
headers = {"Authorization": f"Bearer {os.environ['APIMART_API_KEY']}"}
# 1. Submit the generation task
payload = {
"model": "wan2.7-image-pro",
"prompt": "日出时的高山湖泊,湖面薄雾缭绕,远处雪山连绵,超精细风光摄影",
"n": 1,
"size": "16:9",
"resolution": "4K"
}
resp = requests.post(f"{API_BASE}/v1/images/generations", headers=headers, json=payload, timeout=60)
resp.raise_for_status()
task_id = resp.json()["data"][0]["task_id"]
# 2. Poll the task until it finishes
for _ in range(200):
task_resp = requests.get(f"{API_BASE}/v1/tasks/{task_id}", headers=headers, timeout=30)
task_resp.raise_for_status()
task = task_resp.json()["data"]
if task["status"] == "completed":
print(task["result"]["images"][0]["url"][0])
break
if task["status"] == "failed":
raise RuntimeError(task.get("error", {}).get("message", "generation failed"))
time.sleep(3)
else:
raise TimeoutError(f"task {task_id} did not finish in time; continue GET polling with this task ID")curl -X POST https://api.apimart.ai/v1/images/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan2.7-image-pro",
"prompt": "把产品照变成黑色丝绒上的高端棚拍,柔和轮廓光,logo 保持不变",
"n": 1,
"image_urls": [
"https://example.com/product.jpg"
],
"resolution": "2K"
}'TASK_ID="task_xxx" # replace with the task_id returned by the POST request
curl "https://api.apimart.ai/v1/tasks/$TASK_ID" \
-H "Authorization: Bearer $APIMART_API_KEY"| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
model | string | 是 | 默认值: wan2.7-image-pro | 使用 wan2.7-image-pro。 |
prompt | string | 是 | 默认值: — | 图片描述,最多 5,000 字符。编辑时可选,但建议填写。 |
image_urls | array | 否 | 默认值: — | 最多 9 张输入图(URL 或 Base64;JPEG、PNG、WEBP 或 BMP;240–8000 像素;每张最大 20 MB)。传入即切换为编辑模式,输出比例跟随最后一张图。 |
n | integer | 否 | 默认值: 1 | 每次请求的图片数:1–4 张,开启 enable_sequential 时 1–12 张。按张计费。 |
size | string | 否 | 默认值: 2K | 1K、2K 或 4K(4K 仅限文生图)、比例(1:1、16:9、9:16、4:3、3:4、3:2、2:3)或像素尺寸。 |
resolution | string | 否 | 默认值: — | 1K、2K 或 4K。4K 仅限非组图的文生图,可与 size 中的比例组合使用。 |
negative_prompt | string | 否 | 默认值: — | 需要避免的元素。 |
enable_sequential | boolean | 否 | 默认值: false | 生成一组连贯的图片,例如分镜。n 最大 12。 |
bbox_list | array | 否 | 默认值: — | 每张输入图的编辑区域,每张最多 2 个框;没有框的图传 []。 |
color_palette | array | 否 | 默认值: — | 3–10 个 hex 颜色及占比,占比合计 100%。组图模式下不生效。 |
thinking_mode | boolean | 否 | 默认值: true | 增强推理以提升质量,耗时更长。仅对无输入图且非组图的文生图生效。 |
seed | integer | 否 | 默认值: — | 0 到 2147483647,参数相同时结果更一致。 |
watermark | boolean | 否 | 默认值: false | 在右下角添加 AI 生成水印。 |
nsfw_check | boolean | 否 | 默认值: false | 提交前用 omni-moderation-latest 审核提示词和输入图片。 |
两个 Wan 2.7 Image 模型使用相同的请求格式,在 APIMart 都按张计费。按需要的分辨率和细节来选择。
| 型号 | 适用场景 | 分辨率 |
|---|---|---|
| Wan 2.7 Image API | 日常文生图、编辑和组图,最高 2K,每张价格更低 | 1K / 2K |
| Wan 2.7 Image Pro API当前页面 | 细节丰富的 4K 文生图,编辑和组图最高 2K | 1K / 2K / 4K |
来自 APIMart 博客的教程、对比与价格分析。
专业版 wan2.7-image-pro 多了什么,以及它的限制
需要 4K 输出或成品级细节的工作流
三步完成从注册到第一张 4K Wan 2.7 Image Pro 图片
注册 APIMart、充值,并在控制台创建 API 密钥。
在上方试用 4K 文生图和图片编辑,写代码前先看每张图的费用。
参照下方示例从后端提交任务,再轮询获取结果。
看看创作者如何改变他们的图像工作流。以下为 Wan 2.7 Image 系列原始使用反馈,可能涉及不同版本。
“wan2.7 generate image 的质量超出了我的预期,色彩还原和纹理细节都非常出色,我们每天都在用 wan 做产品营销内容。”
陈磊
DesignWorks 创意总监
“wan 接入非常简单,一个小时就集成进我们的平台了。通过 APIMart 调用稳定可靠,完全满足生产需求。”
林晓彤
UI/UX 设计师
“wan 模型能捕捉到其他工具忽略的风格细节,客户经常问我是怎么这么快产出高质量图稿的。”
Marcus Weber
自由插画师
“APIMart 的 wan2.7 generate image 定价非常有竞争力。我们每周生成数百张图片,成本只有以前的一小部分。”
Emma Rodriguez
市场营销经理
“从其他图像模型切换到 wan 只需要改一个参数,接口完全兼容,迁移成本极低。”
刘伟
全栈开发者
“我们所有的广告概念稿都依赖 wan 来生成。速度快、质量高,大大提升了我们团队的产出效率。”
Sophie Anderson
AdVision 艺术总监
关于 wan2.7-image-pro、4K 输出以及它与标准版的对比
Wan 2.7 Image Pro 是阿里巴巴 Wan 2.7 图片模型的专业版,文生图最高 4K,并支持最高 2K 的编辑、多图参考和组图。在 APIMart 的 model ID 是 wan2.7-image-pro。
Pro 的文生图支持 4K,文档称其细节更好;标准版 wan2.7-image 最高 2K,生成更快、价格更低。两者的编辑和组图最高都是 2K。
只有在没有输入图、也没有开启组图的文生图中才能用 4K,像素范围 768×768 到 4096×4096。编辑和组图以 1K 或 2K 运行。
thinking_mode(默认开启)用增强推理提升图片质量,耗时更长。它只对没有输入图、也没有开启组图的文生图生效。
在 image_urls 传入最多 9 张图片,并在提示词中描述修改。用 bbox_list 指定精确区域,每张图最多 2 个框。编辑输出最高 2K,比例跟随最后一张输入图。
可以。开启 enable_sequential 后 n 最多 12 张,组成一组最高 2K 的连贯图片。该模式下 thinking_mode 和 color_palette 不生效。
model(wan2.7-image-pro)必填,文生图时 prompt 也必填。可选字段:image_urls、n、size、resolution、negative_prompt、enable_sequential、bbox_list、color_palette、thinking_mode、seed、watermark 和 nsfw_check。
提交到 POST /v1/images/generations,从 data[0].task_id 读取任务 ID。每隔几秒轮询 GET /v1/tasks/{task_id},直到 status 为 completed,然后读取 data.result.images[0].url[0]。
Wan 2.7 Image Pro 按成功生成的张数计费,单价高于标准版。分辨率不影响价格,所以 4K 与 1K 价格相同。当前价格见本页价格表;黄金会员立省 20%,铂金和钻石会员最高省 28%。
不需要。无论分辨率或比例,都按张计费,失败的请求不收费。
都不是。APIMart 没有为 Wan 2.7 Image Pro 提供免费额度,按生成张数付费。阿里巴巴以托管 API 提供该模型,没有公开模型权重。
注册 APIMart、充值,然后在 API 密钥页面创建密钥,以 Authorization: Bearer <key> 发送。同一个密钥可以调用所有 Wan 模型以及 APIMart 上的其他模型。
探索同类型的其他模型。

Wan 2.7 Image
wan‑2‑7‑image is an advanced image generation model in Alibaba’s Wan 2.7 series designed to create high‑quality visuals from text prompts. It excels at generating detailed, realistic images with accurate object representation and rich composition. The model supports multimodal input (e.g., combining text with reference images) to influence style and structure, and it’s well‑suited for creative workflows such as marketing assets, product visuals, social media graphics, and artistic content production. With strong semantic understanding and prompt adherence, wan‑2‑7‑image delivers both fidelity and expressive visual output.

GPT Image 2
GPT Image 2 delivers next-gen AI image generation from text prompts with near-perfect text rendering, native 4K output, and deep world knowledge. As the latest in the GPT Image series, this GPT Image API supports model, prompt, and other parameters — ideal for production workflows.

Qwen Image 2.0 Pro
Qwen-Image-2.0-Pro is the highest-fidelity variant of Alibaba’s Qwen image model, designed to generate and edit production-quality visuals from text or reference images. It delivers native 2K resolution with strong detail, accurate composition, and advanced text rendering, making it suitable for infographics, posters, and marketing assets. 

Qwen Image 2.0
Qwen-Image-2.0 is an AI image model that combines “generation and editing” capabilities, supports extremely long descriptions, and delivers high-quality 2K output. It is particularly well-suited for image creation that requires clear text and professional design aesthetics.