跳至內容

Wan VACE Video Edit

整合

模型 id wan-vace-apps/video-edit
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/wan-vace-apps/video-edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

像範例一樣的檔案: $1.875 1,875 API 點數 · ≈ ₽201.71 您的檔案會在執行前計量 在此頁面執行

取得 API 金鑰
Alibaba 影片轉影片 最高 720p #video-edit#wan-vace

根據自然語言指令編輯現有影片,可選擇提供參考圖片

在 Doitong 上製作

Doitong 社群使用 Wan VACE Apps 製作的公開作品。一鍵重複使用提示詞。

顯示的公開作品:2
Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-аним... 影片

Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-анимация, весёлый водитель в кепке, крупные машины, пастельные цвета. 0:00–0:10 приветствие под музыку; 0:10–0:30 песенка: "Машина едет би-би, би-би", "Поезд едет ту-ту, ту-ту". Бодрая детская музыка...

Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-аним... 影片

Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-анимация, тот же весёлый водитель в кепке, самолёт. 0:00–0:15 песенка: "Самолёт летит вж-ж-ж, вж-ж-ж"; 0:15–0:25 интерактивная пауза: водитель спрашивает "Как гудит машина?", пауза; 0:25–0:30 финальный...

建立請求

控制項是根據模型結構描述生成的。變更設定時,程式碼和價格會同步更新。

•必填

指定影片編輯內容的提示詞。

•必填 video_url
拖放檔案,或

輸入影片的 URL。

resolution 預設 auto

編輯後的輸出解析度。

aspect_ratio 預設 auto

編輯後影片的寬高比。

進階 images · video_type · acceleration · auto_downsample_min_fps · enable_auto_downsample · enable_safety_checker · return_frames_zip
image_urls 預設 []
拖放檔案,或

提供視覺參考、用於生成的輸入圖像 URL。

video_type 預設 auto

用於編輯的影片類別;維持預設 'auto' 時會根據第一個影格推斷。選擇 'human' 聚焦人物及其動作,其他大多數影片則選擇 'general'。

acceleration 預設 regular

推論加速設定,可選 'none' 或 'regular':加速處理可大幅提升速度,但會造成非常輕微的輸出變化。

預設 15

影片降採樣的最低目標影格速率,單位為 影格每秒。

POST /run/wan-vace-apps/video-edit?wait=20 報價 → $1.875
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/wan-vace-apps/video-edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

執行此請求

您的金鑰會保留在此瀏覽器中:只會傳送至 Doitong API,且只有在勾選「記住」時才會儲存至 localStorage。 取得 API 金鑰

關於 Wan VACE Video Edit

接收 `prompt` 指令與 `video_url`,並傳回編輯後的影片。`video_type` 可設為 auto、general 或 human,最後一項適用於以人物為主的素材。參考圖片放入 `image_urls`。可設定長寬比與 `resolution`(240p 到 720p),自動降採樣有助於處理較長或高影格率的輸入。

參數

請傳送標準名稱或原生名稱其中之一,不要同時傳送兩者。 標準名稱

名稱類型 預設值允許值 說明
prompt必填
類型string
指定影片編輯內容的提示詞。
video_url必填 video
類型url · video
輸入影片的 URL。
video_type選填
類型enum
預設值auto
autogeneralhuman
用於編輯的影片類別;維持預設 'auto' 時會根據第一個影格推斷。選擇 'human' 聚焦人物及其動作,其他大多數影片則選擇 'general'。
image_urls選填 images
類型url[] · image
預設值[]
提供視覺參考、用於生成的輸入圖像 URL。
resolution選填
類型enum
預設值auto
auto240p360p480p580p720p
編輯後的輸出解析度。
acceleration選填
類型enum
預設值regular
nonelowregular
推論加速設定,可選 'none' 或 'regular':加速處理可大幅提升速度,但會造成非常輕微的輸出變化。
enable_auto_downsample選填
類型boolean
預設值true
啟用降採樣,以便處理長影片或高影格速率影片時生成較長的序列。降幅會自動調整,生成後插值會恢復原始影格速率。
aspect_ratio選填
類型enum
預設值auto
auto16:99:161:1
編輯後影片的寬高比。
auto_downsample_min_fps選填
類型number
預設值15
1 – 60
影片降採樣的最低目標影格速率,單位為 影格每秒。
enable_safety_checker選填
類型boolean
預設值true
控制是否啟用安全性檢查。
return_frames_zip選填
類型boolean
預設值false
控制是否也將所有生成影格包含在 ZIP 封存檔中。
必填 標準名稱,也可使用

檔案參數接受公開的 https:// URL、最大 10 MB 的 data: URI,或上傳檔案的 file_url。 檔案

輸出

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan-vace-apps/video-edit",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 1875,
    "usd": "1.875",
    "charged": 1875,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "frames_zip": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
您的檔案,由您選擇每個 outputs[].url 都是儲存空間中的副本:可永久保留(按 GB-月計費),或免費保留 7 天;可透過帳戶設定或 ?storage= 設定。
所有模型使用相同結構圖片、影片和音訊皆包含 type、url、content_type、width、height 和 duration。output 是模型自己的結果物件。
輸出欄位
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}編輯後產生的影片。
frames_zip
object {url, content_type, file_name, file_size} | null包含生成影格的 ZIP 檔案,在請求時回傳。

更多模型:影片轉影片

給 AI 代理程式:此頁面的 Markdown 位於 https://doitong.com/zh-TW/developers/models/wan-vace-apps/video-edit.md. 所有模型與指南: https://doitong.com/developers/llms.txt