Wan 3.0 视频 API 价格:分辨率、每秒单价与单条成本
在 GetCorn 使用 wan-3.0 做文本生成视频:比较同一时长的成本,然后提交、轮询和下载异步任务。
Wan 3.0 text-to-video pricing on GetCorn is per second of requested video, not per token or per API call. The estimates below use the same public rates as the model catalog.
相同片长,不同分辨率要花多少钱?
| 分辨率 | 每秒 / USD per second | 5 秒 | 10 秒 |
|---|---|---|---|
| 480p | $0.032111 | $0.160555 | $0.32111 |
| 720p | $0.064222 | $0.32111 | $0.64222 |
| 1080p | $0.128444 | $0.64222 | $1.28444 |
单条估算 = 所选分辨率的每秒单价 × 请求时长。GetCorn 的 wan-3.0 接受 3–30 秒整数,表中“每秒”是计价单位,不代表支持生成 1 秒视频。上表来自当前公开模型报价;不是其他供应商或其他 Wan 版本的价格。
一次请求如何拿到视频?
同一账户可以用有相应模型权限的密钥发起聊天或视频请求。聊天走 POST /v1/chat/completions,视频走独立的异步接口。准备好服务器环境变量 GETCORN_API_KEY。以下创建步骤会发起付费任务,只需提交一次。
curl --fail-with-body "https://getcorn.xyz/v1/videos" \
-H "Authorization: Bearer $GETCORN_API_KEY" -H "Content-Type: application/json" \
-d '{"model":"wan-3.0","prompt":"A paper boat floating on water","resolution":"720p","duration":5}'
把响应的 id 存入 VIDEO_ID。下面第一条命令查状态,不要为查询进度重新创建任务;第二条只在 completed 后执行。
curl --fail-with-body "https://getcorn.xyz/v1/videos/$VIDEO_ID" -H "Authorization: Bearer $GETCORN_API_KEY"
curl --fail "https://getcorn.xyz/v1/videos/$VIDEO_ID/content" -H "Authorization: Bearer $GETCORN_API_KEY" -o result.mp4
queued 和 in_progress 表示未完成;failed 时先查看错误,再决定是否新建任务。比较跨平台报价时先对齐模型版本、输入类型、分辨率、片长和计费单位,不能拿其他版本的起步价代替这张表。