Depth Anything V2: AI Video Editor

Estrai mappe di profondità con Depth Anything V2. Trasforma qualsiasi immagine o video in un segnale strutturale fotogramma per fotogramma per il trasferimento del movimento nei video IA. Provalo gratis.

Controlli interattivi del modello

Estrai mappe di profondità con Depth Anything V2. Trasforma qualsiasi immagine o video in un segnale strutturale fotogramma per fotogramma per il trasferimento del movimento nei video IA. Provalo gratis.

📝

Panoramica

A proposito di questo modello

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.

1Motion Transfer: Extract a depth video from a driving clip to control camera and scene motion in Seedance 2/2.5 video generation.
23D-Aware Compositing: Use per-pixel depth to composite, relight, or apply depth-of-field effects on ordinary footage.
3Background and Foreground Separation: Isolate subjects from backgrounds using relative depth instead of green-screen segmentation.
4Robotics and Spatial Analysis: Estimate relative scene geometry from a single camera for prototyping and research.
💰

Prezzi e valore

Analisi dei costi

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

Pagamento per ogni secondo di video elaborato oppure tariffa fissa per le mappe di profondità di una singola immagine, senza abbonamento.

Fal.aiNon disponibile

Questa variante del modello non è presente su Fal.ai.

ReplicateNon disponibile

Questa variante del modello non è presente su Replicate.

**I prezzi della concorrenza sono stimati in base ad architetture di modelli e livelli di utilizzo simili.

⚙️

Dettagli tecnici

Schema di configurazione

URL del videostring

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

Valore predefinitohttps://storage.googleapis.com/gtv-videos-bucket/sample/ForBiggerBlazes.mp4
URL dell'immaginestring

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

Valore predefinitohttps://d3adwkbyhxyrtq.cloudfront.net/webassets/videomodels/seedream-5.0-edit.jpg
📖

Guida all'implementazione

Documentazione per gli sviluppatori

How to Use Depth Anything V2 API

  1. Choose your input: Provide exactly one of video_url (a driving video for per-frame depth extraction) or image_url (a single frame for a one-off depth map).
  2. Submit the request: Send a POST request to /api/v1/depth-anything with a publicly accessible URL.
  3. Poll or use a webhook: The task runs asynchronously; poll the returned request ID or supply a webhook_url to be notified on completion.
  4. Feed the output downstream: Use the returned depth map/video as the motion or structure control input for a video generation model such as Seedance 2 or 2.5, or for any depth-aware compositing pipeline.
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. Retrieve output: Read the completed depth map URL (PNG for image input, MP4 for video input) from the standard prediction result.
❓

Domande comuni

Chiesto frequentemente

Che cos’è 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.

Devo fornire video_url o image_url?

Provide exactly one. Use 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.

Quale formato di output riceverò?

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.

Esiste un limite di dimensione o durata?

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.

Come viene calcolato il prezzo?

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.