Convert Text to Speech with Local KOKORO TTS — Workflow n8n

Faible complexité Déclencheur4 nœuds💎 Other👁 2,888 vuespar bswlife

Aperçu

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

Nœuds utilisés

Run python scriptPassing variablesStartPlay sound

Aperçu du workflow

R
Run python script
P
Passing variables
S
Start
P
Play sound
4 nodes3 edges

Comment ça fonctionne

  1. 1

    Déclencheur

    Le workflow démarre avec un déclencheur déclencheur.

  2. 2

    Traitement

    Les données transitent par 4 nœuds, connecting executecommand, manualtrigger, readbinaryfiles.

  3. 3

    Sortie

    Le workflow termine son automatisation et livre le résultat à la destination configurée.

Détails des nœuds (4)

RU

Run python script

executeCommand

#1
PA

Passing variables

set

#2
ST

Start

manualTrigger

#3
PL

Play sound

readBinaryFiles

#4

Comment importer ce workflow

  1. 1Cliquez sur le bouton Télécharger JSON à droite pour enregistrer le fichier du workflow.
  2. 2Ouvrez votre instance n8n. Accédez à Workflows → Nouveau → Importer depuis un fichier.
  3. 3Sélectionnez le fichier convert-text-to-speech-with-local-kokoro-tts téléchargé et cliquez sur Importer.
  4. 4Configurez les identifiants pour chaque nœud de service (clés API, OAuth, etc.).
  5. 5Cliquez sur Tester le workflow pour vérifier que tout fonctionne, puis activez-le.

Ou collez directement dans n8n → Importer depuis JSON :

{ "name": "Convert Text to Speech with Local KOKORO TTS", "nodes": [...], ...}

Intégrations

executecommandmanualtriggerreadbinaryfilesset

Obtenir ce workflow

Téléchargez et importez en un clic

Télécharger JSONVoir sur n8n.io
Nœuds4
Complexitélow
Déclencheurtrigger
Vues2,888
CatégorieOther

Créé par

bswlife

bswlife

@bswlife

Tags

executecommandmanualtriggerreadbinaryfilesset

Nouveau sur n8n ?

n8n est un outil d'automatisation de workflows gratuit et open-source. Hébergez-le vous-même ou utilisez la version cloud.

Obtenir n8n gratuitement →