Depth Anything V2: Edytor wideo AI

Twórz mapy głębi za pomocą Depth Anything V2. Zamień dowolny obraz lub film w sygnał struktury dla każdej klatki, używany do przenoszenia ruchu w filmach AI. Wypróbuj bezpłatnie.

Interaktywne sterowanie modelem

Twórz mapy głębi za pomocą Depth Anything V2. Zamień dowolny obraz lub film w sygnał struktury dla każdej klatki, używany do przenoszenia ruchu w filmach AI. Wypróbuj bezpłatnie.

📝

Przegląd

O tym modelu

Depth Anything V2 extracts a precise per-pixel depth map from a single image or every frame of a video, producing a grayscale map where brightness encodes relative distance from the camera. For video input, frames are processed in batches on GPU and reassembled at the source resolution and frame rate, giving a temporally aligned depth sequence. This is commonly used as a motion and structure control signal for AI video generation models such as Seedance 2 and Seedance 2.5, where a driving video's depth map guides camera movement and scene geometry while the appearance is generated fresh. It is equally useful for 3D-aware compositing, relighting, background removal, and any pipeline that needs a stable geometric reference from ordinary RGB footage.

1Przenoszenie ruchu: Wyodrębnij mapę głębi z filmu sterującego, aby kontrolować ruch kamery i sceny podczas generowania wideo Seedance 2/2.5.
2Kompozycja uwzględniająca 3D: Wykorzystaj głębię każdego piksela do komponowania, ponownego oświetlenia lub stosowania efektu głębi ostrości.
3Oddzielanie tła i pierwszego planu: Wyodrębniaj obiekty z tła na podstawie głębi względnej zamiast segmentacji green screen.
4Robotyka i analiza przestrzenna: Szacuj geometrię sceny z pojedynczej kamery na potrzeby prototypowania i badań.
💰

Ceny i wartość

Analiza kosztów

muapiapp$0.04/sec of video, or $0.05 flat per image

Pay per second of input video processed, or a flat rate for single-image depth maps, with no subscription.

Fal.aiNiedostępne

This model variant is not listed on Fal.ai.

ReplicateNiedostępne

This model variant is not listed on Replicate.

** Ceny konkurencji są szacowane na podstawie podobnych architektur modeli i poziomów użytkowania.

⚙️

Szczegóły techniczne

Schemat konfiguracji

adres wideostring

The URL of the driving video to extract a per-frame depth map from. Provide exactly one of video_url or image_url.

Wartość domyślnahttps://storage.googleapis.com/gtv-videos-bucket/sample/ForBiggerBlazes.mp4
Adres URL obrazustring

The URL of a single image to generate a depth map from. Provide exactly one of video_url or image_url.

Wartość domyślnahttps://d3adwkbyhxyrtq.cloudfront.net/webassets/videomodels/seedream-5.0-edit.jpg
📖

Przewodnik wdrożeniowy

Dokumentacja deweloperska

Jak korzystać z Depth Anything V2 API

  1. Wybierz dane wejściowe: Podaj dokładnie jedno z pól video_url (film sterujący do ekstrakcji głębi dla każdej klatki) lub image_url (pojedyncza klatka do utworzenia jednej mapy głębi).
  2. Wyślij żądanie: Send a POST request to /api/v1/depth-anything z publicznie dostępnym adresem URL.
  3. Odpytuj o wynik lub użyj webhooka: Zadanie działa asynchronicznie; odpytuj o wynik, używając zwróconego identyfikatora żądania, lub podaj webhook_url aby otrzymać powiadomienie po zakończeniu.
  4. Przekaż wynik dalej: Użyj the returned depth map/video as the motion or structure control input for a video generation model such as Seedance 2 or 2.5, albo w dowolnym potoku kompozycji uwzględniającym głębię.
curl -X POST "https://api.muapi.ai/api/v1/depth-anything" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video_url": "https://example.com/driving-video.mp4"
  }'
  1. Pobierz wynik: Odczytaj adres URL gotowej mapy głębi (PNG dla obrazu, MP4 dla filmu) ze standardowego wyniku predykcji.
❓

Często zadawane pytania

Często zadawane pytania

What is Depth Anything V2?

It is a monocular depth estimation model that produces a grayscale depth map from a single image or every frame of a video, where pixel brightness represents relative distance from the camera.

Should I provide video_url or image_url?

Provide exactly one. Użyj video_url to extract a per-frame depth video (e.g. for motion-transfer control signals), or image_url for a single-frame depth map.

What output format do I get back?

A video input returns a grayscale depth-map video at the same resolution and frame rate as the source. An image input returns a single grayscale depth-map PNG.

What is this used for with Seedance 2 or 2.5?

Seedance's motion-transfer workflows accept a depth video as a structure/motion control signal. Extract the depth map from a driving video with this API, then pass it into Seedance to guide camera movement and scene geometry while generating new appearance.

Is there a size or length limit?

The API accepts standard web-hosted image and video files. Very long videos increase processing time since every frame is run through the depth model; keep driving videos to the length you actually need for the downstream generation.

Jak obliczane są koszty?

Video input is billed at $0.04 per second of input video. A single image input is billed at a flat $0.05 per request.