Skip to main content
You have a voice clip in English and want it in Spanish — not subtitles, actual spoken audio. Your agent transcribes the clip, translates the text with context-aware AI, then synthesizes a natural voice reading it back in the target language. ~$0.14, end to end — audio in, audio out.
This is a durable gateway demo — every leg needs a real model: real transcription, real translation, real voice synthesis. A sandboxed client can’t fake any of them. The artifact (the re-voiced clip) is re-hosted on our store, so the URL is durable.

The prompt


What runs

  1. POST /fal/fal-ai/whisper — transcribe the source clip to text (~$0.02)
  2. POST /deepl/v1/translate — translate the transcript, context-aware (~$0.02)
  3. POST /elevenlabs/v1/text-to-speech/:voiceId — synthesize the translated voice (~$0.10)

Run it

Claude Desktop (MCP)

Paste the prompt with any audio URL and target language. The agent chains the three calls and hands back the new clip’s URL.

SDK


Expected output


Extend it

  • Target any of DeepL’s 30+ languages by changing target_lang (FR, DE, JA, …)
  • Swap DeepL for Google Translate (/translate/v1/translate) for 130+ languages
  • Generate captions too: feed the transcript to Claude (/anthropic/v1/messages) for an SRT
  • Loop over several target_lang values in parallel to ship one clip in five languages