Convertir du texte en parole avec KOKORO TTS local
Ceci est unAIworkflow d'automatisation du domainecontenant 4 nœuds.Utilise principalement des nœuds comme Set, ManualTrigger, ExecuteCommand, ReadBinaryFiles, combinant la technologie d'intelligence artificielle pour une automatisation intelligente. Convertir du texte en parole avec un KOKORO TTS local
- •Clé API de service IA (comme OpenAI, Anthropic, etc.)
Nœuds utilisés (4)
Catégorie
{
"meta": {
"instanceId": "a6d5191e58fd6be87222f47435e6f9df8f98ec0d945d3e7b7f6373c59a6c3f37",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "fcf1064e-557f-4514-9109-bb10ac837f8b",
"name": "Exécuter un script Python",
"type": "n8n-nodes-base.executeCommand",
"position": [
-100,
20
],
"parameters": {
"command": "=python C:\\KOKORO\\voicegen.py \"{{ $json.text }}\" \"{{ $json.voice }}\" 1\n"
},
"typeVersion": 1
},
{
"id": "199a3212-69c0-4314-92c8-783573f165d7",
"name": "Transmettre des variables",
"type": "n8n-nodes-base.set",
"position": [
-320,
20
],
"parameters": {
"mode": "raw",
"options": {},
"jsonOutput": "{\n \"voice\": \"af_sarah\",\n \"text\": \"Hello world!\"\n}\n"
},
"typeVersion": 3.4
},
{
"id": "deb008d0-53ae-4348-a555-9e54b6e0efd4",
"name": "Démarrer",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-540,
20
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ffa1b2bf-abc3-45d8-8b7b-de4c0780a609",
"name": "Jouer un son",
"type": "n8n-nodes-base.readBinaryFiles",
"position": [
120,
20
],
"parameters": {
"fileSelector": "D:/output.mp3"
},
"typeVersion": 1,
"alwaysOutputData": false
}
],
"pinData": {},
"connections": {
"deb008d0-53ae-4348-a555-9e54b6e0efd4": {
"main": [
[
{
"node": "199a3212-69c0-4314-92c8-783573f165d7",
"type": "main",
"index": 0
}
]
]
},
"199a3212-69c0-4314-92c8-783573f165d7": {
"main": [
[
{
"node": "fcf1064e-557f-4514-9109-bb10ac837f8b",
"type": "main",
"index": 0
}
]
]
},
"fcf1064e-557f-4514-9109-bb10ac837f8b": {
"main": [
[
{
"node": "ffa1b2bf-abc3-45d8-8b7b-de4c0780a609",
"type": "main",
"index": 0
}
]
]
}
}
}Comment utiliser ce workflow ?
Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.
Dans quelles scénarios ce workflow est-il adapté ?
Débutant - Intelligence Artificielle
Est-ce payant ?
Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.
Workflows recommandés
Stas
@bswlifeDo you have a vision or project in mind? Allow me to bring it to life with the utmost design excellence. With over 15 years of experience in the industry, I guarantee that your designs will surpass those of your competitors.
Partager ce workflow