🎙️ AI Dubbing API

Dub Videos into 50+ Languages

Automatically dub any video with natural-sounding AI voices. Speaker detection, voice cloning, and lip sync — all through a single API endpoint.

POST /api/v1/dubbing
{
  "video_url": "https://example.com/video.mp4",
  "source_language": "en",
  "target_language": "es",
  "voice_clone": true,
  "lip_sync": true
}

// Response
{
  "success": true,
  "data": {
    "task_id": "dub_abc123",
    "status": "processing",
    "estimated_time": 300
  }
}

How It Works

Fully automated dubbing pipeline — from speech detection to final output.

1

Upload Video

Provide a video URL with source and target language.

2

Speech Detection

AI detects speakers, transcribes speech, and identifies timing.

3

Voice Synthesis

AI generates dubbed audio matching each speaker's voice characteristics.

4

Download Result

Get the dubbed video with synced audio and optional lip sync.

Code Samples

Python
import requests, time

API_KEY = "ak_your_key_here"
BASE = "https://mobileapi.aienvoy.dev/api/v1"
headers = {"X-API-Key": API_KEY}

# 1. Start dubbing
resp = requests.post(f"{BASE}/dubbing",
    headers=headers,
    json={
        "video_url": "https://example.com/video.mp4",
        "source_language": "en",
        "target_language": "es",
        "voice_clone": True,
        "lip_sync": True
    }
)
task_id = resp.json()["data"]["task_id"]

# 2. Poll until done
while True:
    status = requests.get(
        f"{BASE}/dubbing/{task_id}/status",
        headers=headers
    ).json()
    if status["data"]["status"] == "completed":
        print(status["data"]["result_url"])
        break
    time.sleep(15)
JavaScript (Node.js)
const API_KEY = "ak_your_key_here";
const BASE = "https://mobileapi.aienvoy.dev/api/v1";
const headers = {
  "X-API-Key": API_KEY,
  "Content-Type": "application/json"
};

// 1. Start dubbing
const res = await fetch(`${BASE}/dubbing`, {
  method: "POST",
  headers,
  body: JSON.stringify({
    video_url: "https://example.com/video.mp4",
    source_language: "en",
    target_language: "es",
    voice_clone: true,
    lip_sync: true
  })
});
const { data } = await res.json();

// 2. Poll until done
const poll = setInterval(async () => {
  const s = await fetch(
    `${BASE}/dubbing/${data.task_id}/status`,
    { headers }
  ).then(r => r.json());
  if (s.data.status === "completed") {
    clearInterval(poll);
    console.log(s.data.result_url);
  }
}, 15000);

50+ Languages Supported

Dub your content for global audiences with native-quality AI voices.

English Spanish French German Portuguese Italian Japanese Korean Chinese Arabic Hindi Russian Turkish Dutch Polish Swedish Thai Vietnamese Indonesian Malay Filipino Greek Czech Romanian Hungarian +25 more

API Features

Voice Cloning

AI replicates each speaker's unique voice characteristics in the target language.

Lip Sync

Optional lip sync adjusts mouth movements to match the dubbed audio.

Multi-Speaker Detection

Automatically identifies and separates multiple speakers in the video.

Preserve Background Audio

Background music and sound effects are preserved while only speech is replaced.

Timing Alignment

Dubbed audio is time-aligned with the original, maintaining natural pacing.

Subtitle Generation

Optionally generate subtitles in the target language alongside the dubbed video.

Use Cases

🌍

Global Content

Localize YouTube, TikTok, and social media content

🎓

E-Learning

Dub training videos and courses for global teams

📺

Media & Entertainment

Dub films, series, and documentaries at scale

🏢

Corporate

Internal communications for multinational teams

Go Global with AI Dubbing

Get your free API key and dub your first video into any language today.