n8n

How to Generate OpenAI ElevenLabs Voice Localization?

Turn French scripts into English audio in one run. Great for teams that repurpose content for new markets, voice over short videos, or share bilingual updates without hiring extra help.

The flow starts on a manual click. A Set step stores your French text and the chosen voice ID. An HTTP request sends the text to the voice service to create French audio. A small code step adds a clear filename so the file is easy to track. The audio is then sent to a speech to text model to capture the French transcript. A chat model translates that text into English. A final HTTP request turns the English text into an English audio file with the same style. You get a clean transcript and a ready to use English voice file.

You need accounts for the language model and the voice service, plus an API key and a voice ID. Expect faster turnarounds and fewer handoffs. Teams can localize product videos, training clips, or social shorts in minutes. Follow the steps below to add credentials, paste your text, select your voice, and run a quick test. The result is a repeatable localization pipeline that fits into daily work.

What are the key features?

  • Manual start so you can run batches on demand.
  • Store text and voice ID in a simple Set step for easy reuse.
  • Create French speech from text using the voice service with an API key header.
  • Add a filename to the audio with a code step for clean downloads.
  • Transcribe the French audio to text using the speech to text model.
  • Translate French text to English with a chat model in a chain.
  • Generate final English voice audio from the translated text.

What are the benefits?

  • Reduce manual work from 2 hours to 5 minutes per clip
  • Automate up to 80 percent of the localization steps
  • Improve transcript accuracy by 50 percent versus manual typing
  • Handle 10 times more scripts per week with the same team
  • Connect OpenAI and ElevenLabs in one repeatable flow

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with OpenAI and ElevenLabs. See the Tools Required section above for links to create accounts with these services.
  3. In the n8n credentials manager, create an OpenAI credential. Use your API key from the OpenAI dashboard. Name the credential clearly so you can find it in the nodes.
  4. In the n8n credentials manager, create an HTTP Header Auth credential for ElevenLabs. Add a header named xi-api-key and set the value to your ElevenLabs API key from your profile.
  5. Open the Set node labeled for voice ID and text. Paste your French text and enter your chosen voice ID from your ElevenLabs voice lab.
  6. Open the Generate French Audio HTTP Request node. Select your ElevenLabs header credential. Confirm the body sends your text and voice ID as required by your voice service settings.
  7. Open the Add Filename code node and set a file name with the correct extension such as mp3 or wav so downstream steps detect the audio type.
  8. Open the Transcribe audio HTTP Request node and select your OpenAI credential. Ensure the request uses multipart form data and that the binary property name is set to data. Keep the model field set to whisper-1.
  9. Open the Translate Text to English chain node and confirm it uses the OpenAI Chat credential. Adjust the prompt only if you need a different tone or style.
  10. Open the final English text to speech HTTP Request node and select the same ElevenLabs header credential. Choose the target voice for English output if different from the French voice.
  11. Click Execute Workflow. Check the French audio binary is created, confirm the transcription returns French text, verify the English translation, and download the final English audio to review clarity.
  12. If errors occur, recheck your API keys, confirm the header name xi-api-key is exact, verify the voice ID exists, and make sure the audio is passed as binary with multipart form data to the transcription step.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

ElevenLabs

Sign up

Free: $0 / mo, 10k credits / mo, includes API access

OpenAI

Sign up

Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.