npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

videodubber

v0.2.3

Published

Official JS/TS SDK for VideoDubber.ai — AI video translation, audio dubbing & voice cloning API (150+ languages). Node 18+. Python client also on PyPI.

Readme

videodubber

Official JavaScript/TypeScript client for VideoDubber.ai — AI video translation, audio dubbing, and voice cloning in 150+ languages. Automate the Partner API at api.videodubber.ai from Node.js, Deno, or any JavaScript runtime with native fetch.

npm version PyPI License: GPL v3

| | | |---|---| | Website | videodubber.ai | | Developer portal | videodubber.ai/developers | | npm (this package) | npmjs.com/package/videodubber | | PyPI (Python client) | pypi.org/project/videodubber | | Full API reference | GitHub: videodubber_client.md | | Pricing & API access | videodubber.ai/pricing |


What does this package do?

Translate video or audio programmatically:

  1. POST /api/p/jobs with a public media URL, target language, and voices
  2. Poll /api/p/jobs/{pid}/status until status is complete
  3. Download the translated file from output_urls.translated_media

This client handles rate-limit throttling (12 s minimum between calls), 429 retries, polling, and optional CLI download — the same workflow as the Video Translation app.

Also available for Python: pip install videodubber on PyPI.


Installation

npm install videodubber

Requirements: Node.js 18+ (native fetch), a VideoDubber API key, and a stable public http/https URL to your source media.


Quick start (library)

import { VideoDubberClient } from "videodubber";

const client = new VideoDubberClient({
  apiKey: process.env.VIDEODUBBER_API_KEY,
});

const status = await client.translateFromUrl({
  fileUrl: "https://example.com/video.mp4",
  targetLanguage: "Spanish",
  originalLanguage: "English",
  selectedVoices: ["Elvira"],
  speakers: ["Speaker 1"],
  filetype: "mp4",
});

console.log(status.translatedMediaUrl);

TypeScript

Full types are included. Import TranslationJobParams, JobStatus, and error classes from "videodubber".


CLI

After install, use the videodubber command (Node 18+):

export VIDEODUBBER_API_KEY="your-api-key"

npx videodubber \
  --file-url "https://example.com/video.mp4" \
  --target-language Spanish \
  --voice Elvira \
  --output ./translated.mp4

Or without installing globally:

npm install -g videodubber
videodubber --help

How to get an API key

API access is on paid plans:

  1. Log in at app.videodubber.ai
  2. Open API Keys in your account
  3. Click Generate API key and store it securely

Use via environment variable:

export VIDEODUBBER_API_KEY="your-api-key"
# optional: export VIDEODUBBER_API_BASE="https://api.videodubber.ai"

Or pass { apiKey: "..." } to VideoDubberClient.


API methods

| Method | Description | |--------|-------------| | createJobFromUrl(params) | Submit job; returns { pid, status, ... } | | getJobStatus(pid) | Single status poll | | waitForJob(pid, options?) | Poll until complete, failed, or timeout | | translateFromUrl(params, options?) | Create + wait (full workflow) | | health() | GET / health check |

See the developer portal and full API docs on GitHub for request fields, languages, voices, and error codes.


Rate limits

  • 5 requests / minute per API key on /api/p/* endpoints
  • Minimum 12 s between calls (enforced by this client)
  • Default poll interval: 15 s

Do not run many parallel jobs on one API key.


Keywords

VideoDubber · video translation API · AI dubbing · voice cloning · subtitle translation · localization · text-to-speech · Node.js SDK · TypeScript client · media translation · 150+ languages


Links

License: GPL-3.0-or-later