π¬ Clone brand voices and generate voiceovers with Smallest AI and Google Drive
β‘ 11 views Β· π¬ Content Creation & Video
Description
Quick Overview
This workflow receives a webhook request with an audio sample URL, voice name, and script, clones a voice and generates a matching voiceover using Smallest AI, uploads the MP3 to Google Drive, logs the voice ID in Google Sheets, and returns a public link in the webhook response.
How it works
- Receives a POST webhook request containing an
audio_url,voice_name, and script text. - Downloads the provided voice sample file from the
audio_url. - Sends the sample to Smallest AI Voice Cloning to create a new voice profile and extracts the returned
voiceId. - Truncates the script text to a safe length and synthesizes speech with Smallest AI using the cloned voice ID.
- Uploads the generated MP3 voiceover to Google Drive and updates its sharing settings to be publicly readable.
- Appends the cloned voice ID and voice name to a Google Sheets βvoice libraryβ spreadsheet and returns a JSON response with the voice ID, Drive link, and timestamp.
Setup
- Create a Smallest AI API key, store it securely in n8n, and replace the hardcoded
Authorization: Bearer ...header used for voice cloning. - Add a Smallest AI credential in n8n for the speech synthesis step and ensure it has access to the same Smallest AI workspace.
- Connect your Google Drive and Google Sheets credentials, and update the target Drive folder and spreadsheet/sheet IDs if you donβt want to use the preconfigured locations.
- Activate the workflow, copy the production webhook URL, and send POST requests that include
body.audio_url,body.voice_name, andbody.script.
π Nodes Used
Google Sheets, HTTP Request, Webhook, Google Drive
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File