跳到正文
DEV Community· Huong Pham·· 5 小時前AI 評分56

AI Pop Video 團隊解釋深度圖影片如何令 AI 舞蹈動作遷移更穩定,以及如何在瀏覽器製作

Why depth-map videos make AI dance transfers more stable (and how to make one in the browser)

AI 導讀

AI Pop Video 團隊解釋深度圖影片如何令 AI 舞蹈動作遷移更穩定,並介紹在瀏覽器製作深度影片的方法。轉換器使用 Depth Anything V2 逐格估算深度,推理在瀏覽器本機執行,約 50 MB 模型下載一次後會快取,影片不會上傳,單次轉換上限為 30 秒。深度影片本身不會令相片動起來,只適用於支援深度條件控制的工作流程。

正文

Huong Pham

I'm on the small team behind AI Pop Video. This post explains a concept we had to learn while building a motion-transfer feature, and the browser page we use for it. This article was drafted with help from AI and checked by a human.

The problem

If you feed a raw dance clip to a video model as the "motion reference", the model often copies more than the moves: clothing colours, background, lighting. Your character starts to look like the person in the reference clip.

What a depth map keeps (and drops)

A depth map encodes how far each pixel is from the camera as brightness. Clothing, background texture and lighting mostly disappear; body pose and spatial layout stay. Used as a control signal in a workflow that supports depth conditioning, the character tends to follow the motion without inheriting the original look.

Important: a depth video alone does not animate a photo. It is only an input for workflows that accept depth.

Making one in the browser

We put a converter page online: browser depth video converter.
What the page itself states:

  • It uses Depth Anything V2 and estimates depth frame by frame.
  • Inference runs locally in your browser; the ~50 MB model is downloaded once and cached, so the first run is slow and later runs start faster.
  • Your clip is not uploaded for conversion.
  • Max 30 seconds per conversion (trim longer footage first).
  • Chrome and Safari export MP4 (H.264); Firefox exports WebM.

Tips for a usable reference clip

  1. 5–30 seconds, whole body in frame.
  2. Steady camera; avoid heavy cuts.
  3. After export, scrub through and check subject boundaries before using it.

Where this fits

In AI Pop Video, depth/reference clips feed the "custom motion" flow: you upload your own reference video plus a photo and the AI copies the moves. Generation there is credit-based; new users currently get 30 welcome credits.

Questions about depth conditioning or clip prep? Happy to answer in the comments.

來源:DEV Community · dev.to