Voice Cloning with Zyphra API Automation

somdn_product_page

This n8n workflow enables seamless voice cloning by integrating with Zyphra’s Zonos API. It listens for POST requests via a webhook, extracts and configures the parameters including emotion and speech settings, reads a sample voice file, converts it to base64, and invokes the Zyphra API to generate a cloned voice. The resulting audio file is then saved locally with a timestamped filename. The workflow includes robust error handling for missing files and API failures, providing clear responses. This setup is ideal for creating AI-powered personalized voice synthesis for applications like virtual assistants, voice assistants, or entertainment content.

Node Count

11 – 20 Nodes

Nodes Used

code, httpRequest, if, readWriteFile, respondToWebhook, set, stickyNote, webhook