GPT-5.4 和 GPT-5.4 Mini 已下线 · 请切换至其他可用模型
全部模型
Alibaba · 媒体 API

Wan 3.0 Video Prime API

Wan 3.0 Video Prime 是同一个 Wan 3.0 模型的高速版本:操作、参考输入与音频完全一致,端到端耗时大约减半。

模型 ID
wan3.0-video-prime
提供商
Alibaba
类型
AI 视频
每输出一秒
$0.078–$0.38
最近核验
2026-09-14

01

适用场景

对延迟或吞吐敏感时用 Prime:5 秒 720P 约一分钟返回,标准版要两分钟,代价是每秒 $0.078–$0.38。

02

能力范围

文生视频

wan3.0-video-prime

根据文字提示词生成一段短视频。

图生视频

wan3.0-video-prime

把静态图片动起来,生成一段短视频。

参考视频

wan3.0-video-prime

用参考视频片段约束生成结果。

03

接入方式

媒体模型采用异步任务:创建任务、轮询到完成,再下载签名后的资源地址。

创建、轮询、下载
# 1. Create the job. 202 Accepted; the body carries the task id,
#    the pre-charged price, and a poll_url. Reuse one Idempotency-Key
#    across retries so a timeout never starts a second paid job.
curl --fail-with-body https://api.omniakey.com/v1/media/tasks \
  -H "Authorization: Bearer $OMNIAKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: wan3.0-video-prime-001" \
  -d '{
    "model": "wan3.0-video-prime",
    "type": "video",
    "operation": "text_to_video",
    "input": {"prompt": "a paper boat on a quiet lake at sunset"},
    "parameters": {"duration": 6, "resolution": "720p"}
  }'

# 2. The same model id and the same poll loop serve the other operations:
#      image_to_video         media[] type "first_frame"
#      reference_to_video     media[] type "reference_image"
#    Reference media travel alongside the prompt:
#    {"prompt": "...", "media": [{"type": "first_frame", "url": "https://example.com/first-frame.png"}]}
#    A public HTTPS URL or a base64 data URI both work.

# 3. Poll GET /v1/media/tasks/{id} until status is
#    succeeded | failed | canceled. Progress carries percent and stage.
curl --fail-with-body https://api.omniakey.com/v1/media/tasks/TASK_ID \
  -H "Authorization: Bearer $OMNIAKEY_API_KEY"

# 4. Download assets[0].url before expires_at, or poll again for a
#    fresh signed URL. Failed and canceled jobs are refunded.
curl -sS -o out.mp4 "$(jq -r '.assets[0].url' result.json)"

04

价格

视频任务按实际输出的秒数计费,不按 Token 计费;失败或取消的任务会自动退款。

每输出一秒

$0.078–$0.38每秒

480P
$0.078每秒
720P
$0.18每秒
1080P
$0.38每秒

Alibaba 的更多模型

常见问题

如何在 OmniaKey 上调用 Wan 3.0 Video Prime?

向 /v1/media/tasks 发送 POST,带上模型 ID、type 设为 "video"、operation 设为 "text_to_video";若用首帧图生视频,改为 "image_to_video",并把首帧放入 input.media[](type 设为 "first_frame")。重试时复用同一个 Idempotency-Key,超时就不会再生成第二笔付费任务。

Wan 3.0 Video Prime 如何收费?

Wan 3.0 Video Prime 按生成视频的时长计费:$0.078–$0.38 每秒。创建时会按请求时长从预付余额中预扣,失败或取消的任务会自动退款。

为什么接口返回任务 ID 而不是视频?

视频渲染大约需要一分钟到几分钟,OmniaKey 因此把所有视频路由统一为同一套异步流程。轮询 GET /v1/media/tasks/{id},直到状态变为 succeeded,再读取签名后的资源地址。

Wan 3.0 Video Prime API — 异步视频生成 · OmniaKey