Zum Inhalt springen
NEUMarktplatz und trig8n Agent: Verkaufen Sie, was Sie bauen, und erhalten Sie Pläne und Änderungen, die getestet sind, bevor Sie sie sehen. Neuigkeiten ansehen

Bibliothek / Chatbots & Messaging-Bots

Chatbots & Messaging-Bots

KI-Sprachchat mit OpenAI, Gemini und ElevenLabs

Trifft eine Webhook-Anfrage ein, schreibt ein KI-Modell mit gespeichertem Chat-Gedächtnis die Antwort, und ElevenLabs wandelt sie in gesprochenes Audio um.

Was sie bewirkt

* ### For the Text-to-Speech part, we'll use ElevenLabs.io, which is free and offers a variety of voices to choose from. However, you can also use the OpenAI "Generate audio" node instead. * ### Since there is no pre-built node for "ElevenLabs" in n8n, we'll connect to it through its API using the "HTTP Request" node. ## Prerequisites: * ### "ElevenLabs API Key" (you can obtain it from their website). * ### "Voice ID" (you can also get it from ElevenLabs' "Voice Library"). ## Setup * ### In the URL parameter, replace "{{voice id}}" at the end of the URL with the Voice ID you obtained from ElevenLabs.io. * ### To set up your API Key, add custom authentication and include the following JSON with your acual ElevenLabs API Key: json { "headers": { "xi-api-key": "put-your-API-Key-here" } }

Die Schritte

  1. Get Chat
  2. Insert Chat
  3. Aggregate
  4. Window Buffer Memory
  5. Google Gemini Chat Model
  6. Respond to Webhook
  7. ElevenLabs - Generate Audio
  8. Limit
  9. Basic LLM Chain
  10. Webhook
  11. OpenAI - Speech to Text

Ähnliche Automatisierungen