Dub audio: translated voice track in English or Spanish, plus subtitles

$0.10 per call · failed calls are never charged · no account needed: a card key or USDC

Dub a clip: speech in any of 90+ languages is transcribed, translated and spoken again as one MP3 in English or Spanish (Aura-2, pick a voice), with translated SRT on the original timings. MP3/WAV up to 10 minutes or other formats up to 2 MB, by URL or upload; up to 2,500 characters of new speech. The voice keeps the original order, not exact timing. Use for course clips, product videos and social posts in a second language.

Buy credits by card (from $1) Example result (JSON)

Inputs

NameTypeDescription
url (required)stringAbsolute http(s) URL of the recording (MP3/WAV up to 10 minutes; M4A, OGG or WebM up to 2 MB); or POST the file itself (raw body, multipart `file` part, or base64 in JSON)
to (required)stringLanguage of the new voice: en or es. One of: en, es.
fromstringSpoken language of the recording (default: detected)
voicestringAura-2 voice for the new track (default luna for en, aquila for es)

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://glyphcall.com/dub?url=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F7%2F77%2FTofino_pronunciation.mp3&to=es"

Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.

Example result

{
  "url": "https://upload.wikimedia.org/wikipedia/commons/7/77/Tofino_pronunciation.mp3",
  "from": "en",
  "to": "es",
  "durationSeconds": 1,
  "contentType": "audio/mpeg",
  "audioBase64": "SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjYwLjMuMTAwAAAA…",
  "audioBytes": 9216,
  "voice": "aquila",
  "characters": 7,
  "text": "Tofino.",
  "subtitles": "1\n00:00:00,000 --> 00:00:01,000\nTofino.\n",
  "model": "@cf/deepgram/aura-2-es"
}

From an AI agent (MCP)

Add the MCP server to Claude, Cursor or any MCP client. This tool is dub, and the first 25 successful calls are free:

https://glyphcall.com/mcp

Related tools