AutomationMart
Home/Browse/Convert text to speech with local KOKORO TTS
n8n

Convert text to speech with local KOKORO TTS

n8nn8n4 modulesv1.0
OpenAIGitHubHugging Face

Disclaimer The Execute Command node is only supported on self-hosted (local) instances of n8n. Introduction KOKORO TTS - Kokoro TTS is a compact yet powerful text-to-speech model, currently available on Hugging Face and GitHub. Despite its modest size—trained on less than 100 hours of audio—it delivers impressive results, consistently topping the TTS leaderboard on Hugging Face. Unlike larger systems, Kokoro TTS offers the advantage of running locally, even on devices without GPUs, making it acc

At a glance

Convert text to speech with local KOKORO TTS is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects OpenAI, GitHub, Hugging Face. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
OpenAI, GitHub, Hugging Face
Modules
4
Price
Free
Version
v1.0
Convert text to speech with local KOKORO TTS workflow diagram

About this workflow

Disclaimer The Execute Command node is only supported on self-hosted (local) instances of n8n. Introduction KOKORO TTS - Kokoro TTS is a compact yet powerful text-to-speech model, currently available on Hugging Face and GitHub. Despite its modest size—trained on less than 100 hours of audio—it delivers impressive results, consistently topping the TTS leaderboard on Hugging Face. Unlike larger systems, Kokoro TTS offers the advantage of running locally, even on devices without GPUs, making it accessible for a wide range of users. Who will benefit from this integration? This will be useful for video bloggers, TikTokers, and it will also enable the creation of a free voice chat bot. Currently, TTS models are mostly paid, but this integration will allow for fully free voice generation. The possibilities are limited only by your imagination. Note Unfortunately, we can't interact with the KOKORO API via browser URL (GET/POST), but we can run a Python script through n8n and pass any variables to it. In the tutorial, the D drive is used, but you can rewrite this for any paths, including the C drive. Step 1 You need to have Python installed. link Also, download and extract the portable version of KOKORO from GitHub. Create a file named voicegen.py with the following code in the KOKORO folder: (C:\KOKORO). As you can see, the output path is: (D:\output.mp3). Step 2 Go to n8n and create the following workflow. Step 3 Edit Field Module. Step 4 We’ll need an Execute Command module with the command: python Step 5 The script is already working, but to listen to it, you can connect a Binary module with the path to the generated MP3 file Step 6 Click “Text workflow” and enjoy the result. There are more voices and accents than in ChatGPT, plus it’s free. P.S. If you want, there is a detailed tutorial on my blog.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Send AI-generated emails via Telegram using GPT-4o-mini and Gmail

Telegram Email Agent with GPT + Gmail Category: Messaging / AI Agent Level: Beginner-Friendly Tags: Telegram, Email Automation, AI Agent, Gmail, GPT Model Watch Step-by-step video guide here: 🤖 What This Workflow Does This workflow turns your Telegram bot into a personal email assistant powered by AI. With just a message on Telegram, users can: Send an email via Gmail Automatically generate the email content using OpenAI Models. Get confirmation or responses directly in Telegram It's like ChatGP

Free

Summarize YouTube videos & chat about content with GPT-4o-mini via Telegram

Summarize YouTube Videos & Chat About Content with GPT-4o-mini via Telegram Description This n8n workflow automates the process of summarizing YouTube video transcripts and enables users to interact with the content through AI-powered question answering via Telegram. It leverages the GPT-4o-mini model to generate summaries and provide insights based on the video’s transcript. How It Works 1. Input: The workflow starts by receiving a YouTube video URL. This can be submitted through: - A Telegram

Free

Crypto Market Alerts

Get changes in the crypto market and receive alerts when you want them! BrowserAct makes it easy to get the changes in crypto when you want them. Everything is saved in Make! Choose your alerts in your own words using ChatGPT. There's no need for code or formulas to build your report. Get alerts on your schedule, right to Slack! This template was created by Reid Mosieur.

Free

Evaluate animal advocacy text with Hugging Face Open Paws AI models

This sub-workflow uses two custom Hugging Face regression models from Open Paws to evaluate and predict the real-world performance and advocacy alignment of text content. It’s designed to support animal advocacy organizations in optimizing their messaging across platforms like social media, email campaigns, and more. 🛠️ What It Does Sends input text to two deployed Hugging Face endpoints: Predicted Performance Model – Estimates real-world content success (e.g., engagement, shares, opens) based

Free

Manage Shopify store via conversational OpenAI assistant with SmartCommerce

Shopify MCP AI Agent Workflow for n8n Overview This n8n workflow showcases a full-featured AI-powered assistant connected to a Shopify store through a custom MCP (Multi-Channel Commerce Platform) Server toolkit. It empowers users to automate comprehensive Shopify store management by leveraging AI to interact conversationally with their data and operations. The workflow can create, fetch, search, update, and delete Shopify products and orders, all triggered via simple chat messages, making day-to

Free

Watch and create new records in Airtable using ChatGPT completions

This template watches all new records in your table and creates new records in either the same or another table using ChatGPT completions. Triggered by Airtable, this workflow enhances data management and AI integration.

Free

Company website chatbot agent (RAG, calendar integrations)

Company Website Chatbot Agent Overview This workflow implements a modular Website AI Chatbot Assistant capable of handling multiple types of customer interactions autonomously. Instead of relying on a single large agent to handle all logic and tools, this system routes user queries to specialized sub-agents—each dedicated to a specific function. By using a manager-style orchestration layer, this approach prevents overloading a single AI model with excessive context, leading to clea

Free

Get enriched location, weather, and timezone data using free APIs

Get location insights using free APIs Transform GPS coordinates into rich location data using 100% free APIs. This webhook aggregates address, timezone, weather, and sun data into a single response. Perfect for location tracking apps, travel platforms, and IoT projects. What You'll Get A single API endpoint returning 28 enriched data fields: - Detailed address with components (suburb, city, state, country, postcode) - Timezone data (name, abbreviation, current local time and date) - Live weather

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free