APIMart 上的 Wan 2.6 I2V API(wan2.6-i2v)运行阿里巴巴专门的 Wan 2.6 图生视频模型。提交一张首帧图和可选提示词,即可得到 5、10 或 15 秒、720p 或 1080p 的视频,可选单镜头或多镜头,并可附加自定义音轨。
服务亮点
Click to upload audio
MP3 only (max 10MB)
Video link valid for 72 hours
透明定价,无隐藏费用。按量付费,用多少付多少。
| 型号 | 规格 | 黄金价当前价格 | 铂金价 | 钻石价 | 官方价 | 为你节省 |
|---|---|---|---|---|---|---|
wan2.6-i2v | 720P | 0.664Credits(~$0.0664)/秒 | 0.6308Credits(~$0.0631)/秒 | 0.5976Credits(~$0.0598)/秒 | 0.83Credits(~$0.083)/秒 | 20% |
| 1080P | 1.096Credits(~$0.1096)/秒 | 1.0412Credits(~$0.1041)/秒 | 0.9864Credits(~$0.0986)/秒 | 1.37Credits(~$0.137)/秒 | 20% |
* 实际费用以最终输出为准。
在 APIMart 用 Wan 2.6 I2V API,把一张首帧图生成 5、10 或 15 秒、720p 或 1080p 的视频,支持多镜头叙事和自定义音轨,按秒计费。
50K+
活跃用户
99.9%
在线率
2x
更快
—
成本节省
在 APIMart 用一个 POST 请求调用 Wan 2.6 I2V API。生成是异步的:先提交任务,再轮询任务接口获取视频地址。
把 APIMart 密钥保存在环境变量 APIMART_API_KEY 中,每次请求时以 Authorization: Bearer <key> 发送。
向 POST /v1/videos/generations 发送 model wan2.6-i2v、image_urls 中的一张图、提示词、duration 和 resolution。任务 ID 在 data[0].task_id。
轮询 GET /v1/tasks/{task_id},直到 status 为 completed,然后从 data.result.videos[0].url[0] 读取视频地址,并把文件保存到自己的存储。
完整参数、图片要求与返回字段见 Wan 2.6 图生视频 API 文档。
curl -X POST https://api.apimart.ai/v1/videos/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan2.6-i2v",
"prompt": "照片中的女子转向窗边,微笑着把头发拨到耳后,镜头缓慢推近",
"image_urls": [
"https://example.com/portrait.jpg"
],
"duration": 5,
"resolution": "720p"
}'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.6-i2v",
"prompt": "照片中的女子转向窗边,微笑着把头发拨到耳后,镜头缓慢推近",
"image_urls": [
"https://example.com/portrait.jpg"
],
"duration": 5,
"resolution": "720p"
}
resp = requests.post(f"{API_BASE}/v1/videos/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"]["videos"][0]["url"][0])
break
if task["status"] == "failed":
raise RuntimeError(task.get("error", {}).get("message", "generation failed"))
time.sleep(10)
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/videos/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan2.6-i2v",
"prompt": "照片中的讲者面对镜头说话,与旁白同步,手势自然",
"image_urls": [
"https://example.com/portrait.jpg"
],
"audio_url": "https://example.com/voiceover.mp3",
"duration": 10,
"resolution": "720p"
}'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.6-i2v | 使用 wan2.6-i2v。 |
image_urls | array | 是 | 默认值: — | 仅一张首帧图(公开 URL 或 Base64 data URI,最大 10 MB)。 |
prompt | string | 否 | 默认值: — | 主体、动作、镜头和风格。可选,但建议填写。 |
negative_prompt | string | 否 | 默认值: — | 需要避免的内容,最多 500 字符。 |
resolution | string | 否 | 默认值: 1080p | 720p 或 1080p。画面比例跟随图片。 |
duration | integer | 否 | 默认值: 5 | 5、10 或 15 秒。 |
audio_url | string | 否 | 默认值: — | 自定义 wav 或 mp3,3–30 秒,最大 15 MB。比视频长时会被截断。 |
prompt_extend | boolean | 否 | 默认值: true | 改写并丰富提示词。多镜头必须开启。 |
shot_type | string | 否 | 默认值: single | single 为一个连续镜头,multi 为多个连贯镜头。 |
seed | integer | 否 | 默认值: — | 0 或以上,结果更可复现。 |
watermark | boolean | 否 | 默认值: false | 在右下角添加 AI 生成水印。 |
nsfw_check | boolean | 否 | 默认值: false | 提交前用 omni-moderation-latest 审核提示词和输入图片。 |
对比 APIMart 上所有阿里巴巴 Wan 视频型号。一个 API Key 即可调用全部型号,按视频秒数计费。
| 型号 | 适用场景 | 分辨率 | 时长 |
|---|---|---|---|
| Wan 3.0 API | Wan 系列最长时长,支持首尾帧,或图片、视频、音频、文档和网页参考 | 480P / 720P / 1080P | 2–30 秒 |
| Wan 3.0 Prime API | 参数与 Wan 3.0 相同,独立型号与价格 | 480P / 720P / 1080P | 2–30 秒 |
| Wan 2.7 API | 文生视频、首尾帧、视频续写与音频驱动 | 720P / 1080P | 2–15 秒 |
| Wan 2.7 R2V API | 根据参考图片或视频保持角色一致 | 720P / 1080P | 2–15 秒 |
| Wan 2.7 Video Edit API | 用一句指令编辑或重新风格化已有视频 | 720P / 1080P | 跟随原视频,最长 10 秒 |
| Wan 2.6 API | 多镜头文生视频与图生视频,支持音频和特效模板 | 720p / 1080p | 5 / 10 / 15 秒 |
| Wan 2.6 I2V API当前页面 | 专门的单张首帧图生视频 | 720p / 1080p | 5 / 10 / 15 秒 |
| Wan 2.6 I2V Flash API | 2 到 15 秒任意时长的图生视频,可带或不带音频 | 720p / 1080p | 2–15 秒 |
| Wan 2.5 API | 始终带声音的短片,提供低成本 480p 档位 | 480p / 720p / 1080p | 5 / 10 秒 |
专用图生视频型号 wan2.6-i2v 接收什么、返回什么
从一张图片开始的工作流
三步完成从注册到第一个 Wan 2.6 I2V 视频
注册 APIMart、充值,并在控制台创建 API 密钥。
在上方上传首帧图,选择时长和分辨率,写代码前先看费用预估。
参照下方示例从后端提交任务,再轮询获取结果。
来自全球创作者和开发者的真实声音。 以上评价为 Wan 2.6 系列的使用反馈。
“WAN 2.6 的画面一致性简直惊人!我在生成一系列短片时,角色形象非常稳定,这在以前是很难想象的。”
张伟
独立动画制作人
“作为一名开发者,我非常看重 API 的稳定性和响应速度。WAN 2.6 在 APIMart 上的表现非常出色,集成也非常简单。”
David Chen
全栈开发工程师
关于 wan2.6-i2v 的输入、音频、参数和价格
Wan 2.6 I2V 是阿里巴巴专门的 Wan 2.6 图生视频模型,把一张首帧图生成 5、10 或 15 秒、720p 或 1080p 的视频。在 APIMart 的 model ID 是 wan2.6-i2v。
wan2.6 是通用模型,支持文生视频和图生视频,并提供特效模板。wan2.6-i2v 是独立的图生视频模型,有自己的价格。两者都使用 5、10 或 15 秒时长和 720p 或 1080p。
Wan 2.6 I2V Flash(wan2.6-i2v-flash)支持 2 到 15 秒任意时长,可以关闭音频输出无声视频,目前每秒也更便宜。需要专用的 wan2.6-i2v 型号、时长为 5、10 或 15 秒时,用 Wan 2.6 I2V。
image_urls 中只能传一张图,可以是公开 URL 或 Base64 data URI。支持 JPEG、无透明通道的 PNG、BMP 和 WEBP,边长 240 到 8000 像素,大小不超过 10 MB。
duration 为 5、10 或 15 秒(默认 5)。resolution 为 720p 或 1080p(默认 1080p)。没有比例参数,输出跟随输入图片。
wan2.6-i2v 不接受 audio 开关,所以不能用它生成无声视频。可以用 audio_url 加入自己的 3 到 30 秒 wav 或 mp3。需要无声输出时,请用 Wan 2.6 I2V Flash 并把 audio 设为 false。
支持。在 prompt_extend 开启时把 shot_type 设为 multi 得到多个连贯镜头,设为 single(默认)得到一个连续镜头。shot_type 的优先级高于提示词里的描述。
model(wan2.6-i2v)和 image_urls 必填。可选字段:prompt、negative_prompt、resolution、duration、audio_url、prompt_extend(默认 true)、shot_type、seed、watermark 和 nsfw_check。
提交到 POST /v1/videos/generations,从 data[0].task_id 读取任务 ID。每隔几秒轮询 GET /v1/tasks/{task_id},直到 status 为 completed,然后读取 data.result.videos[0].url[0]。
Wan 2.6 I2V 按视频秒数计费,1080p 每秒比 720p 贵。当前价格见本页价格表;黄金会员立省 20%,铂金和钻石会员最高省 28%。
都不是。APIMart 没有为 Wan 2.6 I2V 提供免费额度,每个任务按秒付费。阿里巴巴以托管 API 提供 Wan 2.6,没有公开模型权重。阿里巴巴开源权重的 Wan 模型为 Wan 2.2 系列及 Wan-Dancer 等专用模型;Wan 2.5 及之后的通用视频模型只提供 API。
注册 APIMart、充值,然后在 API 密钥页面创建密钥,以 Authorization: Bearer <key> 发送。同一个密钥可以调用所有 Wan 模型以及 APIMart 上的其他模型。
探索同类型的其他模型。

Wan 2.6 I2v Flash
wan2.6‑i2v‑flash is Alibaba’s fast image‑to‑video generation model that quickly animates a single static image into a smooth, cinematic clip of up to 15 seconds with optional synchronized audio. It trades some detailed processing for faster inference while still delivering consistent visuals, fluid motion, and multi‑shot narrative support at 720p or 1080p resolution. This makes it ideal for rapid iteration, real‑time content creation, and scenarios needing quick turnaround without sacrificing core video quality.

Seedance 2.0 Fast
seedance-2.0-fast is an optimized version of the Seedance 2.0 model, designed for faster processing and more efficient video generation. With reduced latency and enhanced computational performance, it allows for near real-time video creation without compromising quality. This version is ideal for applications requiring high-throughput video content generation, such as live-streaming, real-time social media content creation, and rapid ad production. It maintains the core features of Seedance 2.0, such as multimodal input integration, but with significant improvements in speed, making it a powerful tool for businesses and creators who need to produce content quickly and at scale.

Seedance 2.0
seedance-2-0 (Seedance 2.0) is the second-generation multimodal audio-video generation large model launched by ByteDance. It supports the fusion of various inputs such as text, images, audio, and video, enabling the efficient creation of high-quality video content. Its core technologies include multimodal joint generation, physical logic optimization, and audiovisual integration. It is widely used in industries such as film, advertising, and e-commerce, providing creators with powerful video editing and creation tools, supporting natural scene continuation and dynamic adjustments. The model outperforms competitors in multiple technical aspects and represents a significant breakthrough in AI video generation.

Wan 2.5 Preview
wan‑2.5 video is an advanced AI video generation model developed by Alibaba’s Wan AI team. It transforms text or image prompts into high‑quality videos with synchronized audio, realistic motion, and cinematic visuals. Supporting resolutions up to 1080p and short clips up to around 10 seconds, it integrates audiovisual generation in one pass, enabling creators to produce expressive, professional‑grade video content efficiently and affordably.