Automate multilingual voice content creation by translating an English script into multiple languages and generating natural-sounding audio files using AI. πποΈ This workflow receives a script via webhook, translates it into selected target languages using GPT-4, converts each translation into high-quality speech with ElevenLabs, and uploads the resulting MP3 files to Google Drive. Itβs ideal for teams producing localized videos, podcasts, courses, or educational content at scale β without manual translation or recording. πβ¨
1οΈβ£ Receives an English script and target languages via webhook. π
2οΈβ£ Extracts and normalizes request parameters for processing. π
3οΈβ£ Uses GPT-4 with a strict JSON schema to translate the script into multiple languages. π€π
4οΈβ£ Splits each translated language into individual processing items. π
5οΈβ£ Converts each translation into natural-sounding speech using ElevenLabs. ποΈ
6οΈβ£ Processes translations sequentially to avoid API limits. β³
7οΈβ£ Uploads language-specific MP3 files to Google Drive with clean naming. βοΈ
8οΈβ£ Returns generated audio as a webhook response for frontend usage. π
9οΈβ£ Triggers Slack alerts if any workflow error occurs. π¨
β
Instantly localizes audio content into multiple languages
β
Produces human-quality voiceovers without recording studios
β
Ensures consistent tone and meaning across all translations
β
Fully automated from script input to audio delivery
β
Scales easily for videos, podcasts, training, and education
β
Clean Google Drive storage for easy access and reuse