Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (n8n-nodes-groq-speech) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
n8n-nodes-groq-speech
This is an N8N community node package for integration with Groq.com Text-to-Speech (TTS) API.
Features
- Text to audio conversion using Groq API
- Support for multiple TTS models (playai-tts, playai-tts-arabic)
- 19 different voices available
- Speech speed control (0.25x to 4.0x)
- Multiple output formats (MP3, WAV, FLAC, OGG)
- Output as binary data for use in other nodes
Installation
To use this community node, you need to install it in your N8N environment:
npm install n8n-nodes-groq-speech
Configuration
- Get your Groq API key from: https://console.groq.com/keys
- IMPORTANT: Accept model terms at https://console.groq.com/playground?model=playai-tts (required before first use)
- Configure "Groq API" credentials in N8N with your API key
- Use the "Groq TTS" node in your workflows
⚠️ Important Setup Step
Before using any TTS model, you must accept the terms of service for that specific model:
- For playai-tts: Visit https://console.groq.com/playground?model=playai-tts
- For playai-tts-arabic: Visit https://console.groq.com/playground?model=playai-tts-arabic
Click on the model in the playground and accept the terms when prompted. This is a one-time requirement per model.
Usage
The node accepts the following parameters:
- Text: The text to be converted to audio
- Model: TTS model to use (playai-tts or playai-tts-arabic)
- Voice: One of the 19 available voices
- Response Format: Audio file format (MP3, WAV, FLAC, OGG)
- Speed: Speech speed (0.25 to 4.0)
- Output File Name: Custom name for the output file
Available Voices
- Arista-PlayAI
- Atlas-PlayAI
- Basil-PlayAI
- Briggs-PlayAI
- Calum-PlayAI
- Celeste-PlayAI
- Cheyenne-PlayAI
- Chip-PlayAI
- Cillian-PlayAI
- Deedee-PlayAI
- Fritz-PlayAI
- Gail-PlayAI
- Indigo-PlayAI
- Mamaw-PlayAI
- Mason-PlayAI
- Mikail-PlayAI
- Mitch-PlayAI
- Quinn-PlayAI
- Thunder-PlayAI
Output
The node returns:
- JSON: Metadata about the generated audio (success, filename, format, etc.)
- Binary Data: The generated audio file, ready to be used by other nodes
Use Cases
- Voice message generation for WhatsApp
- Audio creation for emails
- Voice announcement automation
- Audio content generation for social media
- Custom sound notification creation
Troubleshooting
Common Issues
- "Model terms acceptance required": Visit the Groq playground and accept terms for your chosen model
- "Invalid API key": Verify your API key is correct and has TTS permissions
- "Rate limit exceeded": Wait a moment and try again, or check your Groq usage limits
Error Messages
The node provides detailed error messages to help diagnose issues:
- Model terms errors include direct links to accept terms
- API errors show the specific Groq error message
- Network errors indicate connection problems
Support
For issues with this N8N node, please check:
- Your Groq API key is valid
- Model terms have been accepted
- Your text input is not empty
- The selected voice is compatible with your chosen model
License
MIT