Alibaba Cloud: Wan 2.7
wan-2.7- 價格
- 起 $0.10
- 模態
- 圖片影片
關於 Wan 2.7
Wan 2.7 是阿里巴巴的多用途 Wan 模型,將靜態圖像與影片功能整合於單一模型中。它能生成與編輯圖像、根據首幀或首尾幀對進行動畫製作、根據參考素材構建片段、延伸現有影片,並根據指令重寫影片內容。它適用於從概念圖開始,並將其轉化為動態與修訂的創作流程。
適用場景
- 單一模型涵蓋文字轉圖像、圖像編輯、圖像轉圖像及多種影片操作,因此專案無需在靜態與動態模型間切換。
- 首尾幀生成功能可固定片段的兩端,並讓模型自動生成兩者之間的動作。
- 影片延伸功能可延續現有片段,影片轉影片功能則可根據指令修改影片內容。
- 參考轉影片功能可將提供的素材中的角色或物體帶入新鏡頭,阿里巴巴並記錄了多角色參考功能。
其他選擇建議
- 功能廣泛意味著需要準備更多輸入:首幀、參考檔案與指令皆需仔細準備。
- 阿里巴巴亦記錄了獨立的 Wan 2.7 圖像變體,包括支援 4K 文字轉圖像輸出的專業版;Wan 2.7 本身為通用模型。
入門指南
建立 API 金鑰
請至 Console 建立金鑰,即可在平台上使用各類模型。
發送您的第一個請求
複製您所選語言的範例,並針對端點執行它。
圖生影參考圖生成影片文生影影片轉影片TokenLab 端點POST/v1/videos/generationscurl -X POST "https://api.tokenlab.sh/v1/videos/generations" \ -H "Authorization: Bearer sk-xxx" \ -H "Content-Type: application/json" \ -d '{ "operation": "image-to-video", "model": "wan-2.7", "prompt": "Cinematic sunrise over a calm lake with gentle camera motion.", "image_url": "https://example.com/image.jpg" }'
參數設定
圖生影
| 參數 | 可選值與限制 | 預設值 | 說明 |
|---|---|---|---|
async | 未提供 | 未提供 | 未提供 |
audio_url | 輸入數量:≤ 1 | 未提供 | Optional single driving-audio URL used with the first-frame image. This is separate from the image input and does not add another image. No audio-duration or file-size bound is asserted here. |
duration | ≥ 2, ≤ 15 | 未提供 | Integer output seconds from 2 through 15. |
image_url | 輸入數量:≥ 1, ≤ 1 | 未提供 | One first-frame image. |
operation | 未提供 | 未提供 | 未提供 |
output_audio | true | 未提供 | 未提供 |
prompt | 未提供 | 未提供 | 未提供 |
resolution | 未提供 | 未提供 | Verified output tiers are 720p and 1080p. The public default is not yet verified across all eligible supply. |
Video generation includes audio. Editing may regenerate audio or retain the input track; preserving source audio does not mean silent output. Audio-disable is not supported.
參考圖生成影片
| 參數 | 可選值與限制 | 預設值 | 說明 |
|---|---|---|---|
async | 未提供 | 未提供 | 未提供 |
audio_url | 輸入數量:≤ 1 | 未提供 | Optional single reference-voice audio URL. The current public adapter accepts it only when exactly one visual reference is supplied in total, either one image or one video. It cannot be attached to a multi-reference request. |
duration | ≥ 2, ≤ 15 | 未提供 | Integer output seconds from 2 through 15. Reference-to-video with a reference video is limited to 2 through 10 seconds. |
image_url | 未提供 | 未提供 | 未提供 |
image_urls | 輸入數量:≥ 0, ≤ 5 | 未提供 | 未提供 |
operation | 未提供 | 未提供 | 未提供 |
output_audio | true | 未提供 | 未提供 |
prompt | 未提供 | 未提供 | 未提供 |
resolution | 未提供 | 未提供 | Verified output tiers are 720p and 1080p. The public default is not yet verified across all eligible supply. |
video_url | 輸入數量:≤ 1 | 未提供 | Optional single reference-video URL. Image and video references share a total limit of five visual items and at least one visual reference is required. With a reference video, generated duration is limited to 2 through 10 seconds. |
- image
- At least one visual reference is required; image and video references share a maximum of five items. A single image_url is one reference, not an extra quota.
Video generation includes audio. Editing may regenerate audio or retain the input track; preserving source audio does not mean silent output. Audio-disable is not supported.
文生影
| 參數 | 可選值與限制 | 預設值 | 說明 |
|---|---|---|---|
aspect_ratio | 16:9, 9:16, 1:1, 4:3, 3:4 | 未提供 | 未提供 |
async | 未提供 | 未提供 | 未提供 |
audio_url | 輸入數量:≤ 1 | 未提供 | Optional single source-audio URL for the generated soundtrack. It is an input audio asset, not an output-audio enable switch. No audio-duration or file-size bound is asserted here. |
duration | ≥ 2, ≤ 15 | 未提供 | Integer output seconds from 2 through 15. |
operation | 未提供 | 未提供 | 未提供 |
output_audio | true | 未提供 | 未提供 |
prompt | 未提供 | 未提供 | 未提供 |
resolution | 未提供 | 未提供 | Verified output tiers are 720p and 1080p. The public default is not yet verified across all eligible supply. |
Video generation includes audio. Editing may regenerate audio or retain the input track; preserving source audio does not mean silent output. Audio-disable is not supported.
影片轉影片
| 參數 | 可選值與限制 | 預設值 | 說明 |
|---|---|---|---|
async | 未提供 | 未提供 | 未提供 |
duration | ≥ 2, ≤ 10 | 未提供 | Output seconds from 2 through 10. Final charges use the delivered output duration and the declared input-video charge. |
operation | 未提供 | 未提供 | 未提供 |
output_audio | true | 未提供 | 未提供 |
prompt | 未提供 | 未提供 | 未提供 |
resolution | 未提供 | 未提供 | Verified output tiers are 720p and 1080p. The public default is not yet verified across all eligible supply. |
video_url | 輸入數量:≥ 1, ≤ 1 | 未提供 | Supply exactly one source-video URL for editing. The current operation does not accept a separate audio input. No source-video length or file-size bound is asserted here. |
Video generation includes audio. Editing may regenerate audio or retain the input track; preserving source audio does not mean silent output. Audio-disable is not supported.
Video generation includes audio. Editing may regenerate audio or retain the input track; preserving source audio does not mean silent output. Audio-disable is not supported.
Video is charged per second. Reference-to-video charges the reference-video input seconds (counted up to 5 s) plus the output seconds; image references are free. Video-to-video (editing) charges the input video seconds (counted up to 10 s) plus the output seconds.
定價
Verified 價格用於 Verified,多數模型更便宜;Official 價格是模型廠商公布的價格,用於更穩定的 Official。Auto 按最終完成請求的線路計價。
- 圖生影Official
- 文生影Official
文字生成圖片 / 圖片轉圖片 / 影像編輯 / 圖像生成 · 模式 · 標準
每秒- Official 價格
- $0.03
- Verified 價格
- —
- 折扣
- —
文字生成圖片 / 圖片轉圖片 / 影像編輯 / 圖像生成 · 模式 · pro
每秒- Official 價格
- $0.075
- Verified 價格
- —
- 折扣
- —
文生影 · 720p
每秒- Official 價格
- $0.10
- Verified 價格
- —
- 折扣
- —
文生影 · 1080p
每秒- Official 價格
- $0.15
- Verified 價格
- —
- 折扣
- —
圖生影 · 720p
每秒- Official 價格
- $0.10
- Verified 價格
- —
- 折扣
- —
圖生影 · 1080p
每秒- Official 價格
- $0.15
- Verified 價格
- —
- 折扣
- —
參考圖生成影片 · 720p
每秒- Official 價格
- $0.10
- Verified 價格
- —
- 折扣
- —
參考圖生成影片 · 1080p
每秒- Official 價格
- $0.15
- Verified 價格
- —
- 折扣
- —
首尾幀轉影片 · 720p
每秒- Official 價格
- $0.10
- Verified 價格
- —
- 折扣
- —
首尾幀轉影片 · 1080p
每秒- Official 價格
- $0.15
- Verified 價格
- —
- 折扣
- —
影片延伸 · 720p
每秒- Official 價格
- $0.10
- Verified 價格
- —
- 折扣
- —
影片延伸 · 1080p
每秒- Official 價格
- $0.15
- Verified 價格
- —
- 折扣
- —
影片轉影片 · 720p
每秒- Official 價格
- $0.10
- Verified 價格
- —
- 折扣
- —
影片轉影片 · 1080p
每秒- Official 價格
- $0.15
- Verified 價格
- —
- 折扣
- —
影片編輯 · 720p
每秒- Official 價格
- $0.10
- Verified 價格
- —
- 折扣
- —
影片編輯 · 1080p
每秒- Official 價格
- $0.15
- Verified 價格
- —
- 折扣
- —
文字生成圖片 / 圖片轉圖片 / 影像編輯 / 圖像生成
每秒- Official 價格
- $0.03
- Verified 價格
- —
- 折扣
- —
| Official 價格每秒 | Verified 價格每秒 | 折扣 | |
|---|---|---|---|
| 文字生成圖片 / 圖片轉圖片 / 影像編輯 / 圖像生成 · 模式 · 標準 | $0.03 | — | — |
| 文字生成圖片 / 圖片轉圖片 / 影像編輯 / 圖像生成 · 模式 · pro | $0.075 | — | — |
| 文生影 · 720p | $0.10 | — | — |
| 文生影 · 1080p | $0.15 | — | — |
| 圖生影 · 720p | $0.10 | — | — |
| 圖生影 · 1080p | $0.15 | — | — |
| 參考圖生成影片 · 720p | $0.10 | — | — |
| 參考圖生成影片 · 1080p | $0.15 | — | — |
| 首尾幀轉影片 · 720p | $0.10 | — | — |
| 首尾幀轉影片 · 1080p | $0.15 | — | — |
| 影片延伸 · 720p | $0.10 | — | — |
| 影片延伸 · 1080p | $0.15 | — | — |
| 影片轉影片 · 720p | $0.10 | — | — |
| 影片轉影片 · 1080p | $0.15 | — | — |
| 影片編輯 · 720p | $0.10 | — | — |
| 影片編輯 · 1080p | $0.15 | — | — |
| 文字生成圖片 / 圖片轉圖片 / 影像編輯 / 圖像生成 | $0.03 | — | — |
使用量與活動
成功率是請求完成的比例;延遲是一次完整回應所需的時間,P95 表示 95% 的請求在該時間內完成。
用量與可用性
過去 24 小時- 請求數
- 成功率
- P95 延遲
- 總 Token 用量
資料基於彙總的使用者請求,不包含狀態檢查。
直接在 Console 裡試
在 Console 中開啟 Wan 2.7,並準備好編輯或發送提示詞。
協助我使用 wan-2.7 透過 /v1/videos/generations 執行 image-to-video 建立圖像,並顯示結果、成本與相關限制。
應用情境
適合場景- 文生圖
- 文生影片
從概念到動態的流程
生成一張關鍵視覺圖作為圖像,然後將其用作影片的首幀,確保片段與核准的靜態圖一致。
片段拼接
將一個片段的最後一幀設為下一個片段的第一幀,以實現場景間無明顯跳躍的串聯。
影片修訂
將完成的片段進行修改,例如更改背景、更換服裝或延長結尾,無需重新拍攝。
角色一致的系列
提供吉祥物的參考圖像,並生成同一角色出現的多個場景。
提示詞範例
編輯此照片:將天氣改為大雪,並保持建築物與人物位置完全不變。
首幀:中午空曠的沙漠公路。尾幀:夜晚同一條公路,停著一輛車。呈現時間平滑流逝的效果。
將此片段延長五秒:無人機持續上升,直到整個港口清晰可見。
FAQ
Wan 2.7 有哪些 Wan 2.6 不具備的功能?
它在早期模型的文字與圖像提示詞基礎上,增加了圖像生成與編輯、首尾幀影片、影片延伸以及影片轉影片修訂功能。若僅需簡單的提示詞片段,Wan 2.6 依然更為簡便。
Wan 2.7 能同時生成圖像與影片嗎?
可以。文字轉圖像、圖像轉圖像及圖像編輯操作與影片功能並列。為獲得更高的圖像品質,阿里巴巴亦提供具備專業版的專用 Wan 2.7 圖像變體。
首尾幀生成是如何運作的?
您提供兩張圖像,模型會生成兩者之間的過渡片段。阿里巴巴建議將此功能用於拼接片段:讓一個片段結束於下一個片段的起始幀,以保持轉場的連續性。
Wan 2.7 能延續我現有的影片嗎?
可以。影片延伸是一項列出的操作,且阿里巴巴記錄了 Wan 2.7 圖像轉影片系列的影片延續功能。提供原始片段並描述接下來應發生的內容即可。
Wan 2.7 支援哪些影片長度?
阿里巴巴的文件顯示,文字轉影片與圖像轉影片支援兩到十五秒,解析度為 720p 或 1080p 並包含音訊。參考轉影片片段則記錄為最長十秒。
Wan 2.7 的費用是多少?
價格因計費單位、規格和用量而異。請在模型的詳細定價中比較相同條件下的費率;單一費率不代表總價。
Wan 2.7 應該使用哪一個端點?
請使用 https://api.tokenlab.sh/v1/videos/generations 進行 Wan 2.7 的呼叫。下方的請求範例展示了對應的程式碼格式。
Wan 2.7 支援哪些操作?
Wan 2.7 支援 圖生影, 參考圖生成影片, 文生影, 影片轉影片。請在上方選擇一項操作以查看其端點與請求範例。
比較 Wan 2.7
使用 Wan 2.7 的指南
來源
- Video generation models - Alibaba Cloud Model Studio
- Wan 2.7 image-to-video API - Alibaba Cloud Model Studio
- Wan 2.7 image generation and editing API - Alibaba Cloud Model Studio
更新於 2026年10月2日