Package Information
Downloads: 212 weeklyĀ /Ā 461 monthly
Latest Version: 0.1.9
Author: MusicGPT Team
Documentation
n8n-nodes-musicgpt
Official n8n community node for MusicGPT - AI-powered audio processing, music generation, and voice transformation.
Features
- šµ Audio Generation: Create music from text prompts or lyrics
- šļø Text-to-Speech: Convert text to natural-sounding speech in 10+ languages
- š¤ Voice Transformation: Change voices in audio files with 100+ voice options
- šø Stem Separation: Extract vocals, instruments, and 20+ individual stems
- šļø Audio Processing: Denoise, deecho, dereverb, master, trim, speed, convert
- š¹ Advanced Generation: Remix, extend, inpaint, add vocals, generate sound effects
- š Voice Search: Find and list available voices dynamically
- ā” Triggers: Monitor conversions and automate workflows
- š Webhook Support: Async processing with callbacks
- š¦ Binary File Handling: Process files from previous nodes seamlessly
Quick Start
Installation
Via n8n Community Nodes (Recommended)
- Open your n8n instance
- Go to Settings ā Community Nodes
- Click Install
- Enter:
n8n-nodes-musicgpt - Click Install
Via npm (Self-Hosted)
cd ~/.n8n/nodes
npm install n8n-nodes-musicgpt
Setup Credentials
- Get your API key from musicgpt.com
- In n8n, go to Credentials ā New
- Search for "MusicGPT API"
- Enter your API key
Your First Workflow
Manual Trigger ā
MusicGPT (Generate Audio):
- Prompt: "Upbeat electronic dance music"
ā Wait (45 seconds) ā
MusicGPT (Get Conversion by ID) ā
Process result
Operations Overview
š¦ What's Included
- 1 Action Node: MusicGPT (25 operations across 4 resources)
- 1 Trigger Node: MusicGPT Trigger (2 trigger types)
Audio Generation (6 operations)
| Operation | Description | Processing Time |
|---|---|---|
| Generate Audio | Create music from prompts or lyrics | 30-60s |
| Text to Speech | Convert text to speech (10+ languages) | 15-25s |
| Voice Changer | Transform voices in audio | 20-40s |
| Cover Song | Create AI covers with different voices | 40-70s |
| Extraction | Separate 20+ stems (vocals, instruments, etc.) | 40-90s |
| Denoise | Remove background noise | 15-25s |
Audio Processing (9 operations)
| Operation | Description | Processing Time |
|---|---|---|
| Deecho | Remove echo | 20-30s |
| Dereverb | Remove reverb | 20-30s |
| Audio Mastering | Master to professional quality | 30-50s |
| Trim Audio | Cut to time range | 5-15s |
| Change Speed | Adjust playback speed | 10-20s |
| Audio to MIDI | Convert to MIDI notation | 30-45s |
| Extract Key/BPM | Detect key and tempo | 10-20s |
| File Convert | Convert formats/sample rates | 15-30s |
| Transcribe | Speech to text (10+ languages) | 15-40s |
Advanced Generation (6 operations)
| Operation | Description | Processing Time |
|---|---|---|
| Remix | AI-powered remixing | 60-120s |
| Extend | Extend audio duration | 60-100s |
| Inpaint | Replace audio sections | 40-70s |
| Sing Over Instrumental | Add vocals to instrumentals | 60-100s |
| Sound Generator | Generate sound effects | 20-40s |
| Prompt to Lyrics | Generate lyrics | 5-15s |
Searches (4 operations)
| Operation | Description |
|---|---|
| Get All Voices | List available voices with pagination |
| Search Voices | Search voices by name |
| Get Conversion by ID | Check status and retrieve results |
| Get Conversions by User | Get user history with filters |
Triggers (2 types)
| Trigger | Description |
|---|---|
| Get Conversion | Poll specific conversion until complete |
| New Conversions | Trigger on new user conversions |
Documentation
| Resource | Description |
|---|---|
| Full Documentation | Complete API reference with parameters, examples, and patterns |
| Quick Reference | Fast lookup for all operations and parameters |
Usage Examples
Example 1: Text-to-Speech Podcast Generator
Schedule Trigger (weekly) ā
Fetch Script (HTTP Request) ā
Text to Speech:
- Text: {{ $json.script }}
- Language: English
- Voice: Professional narrator
ā Wait (20s) ā
Get Conversion ā
Upload to Podcast Host ā
Notify Team (Slack)
Example 2: AI Cover Song API
Webhook (receive song URL + artist) ā
Search Voices (find artist voice) ā
Cover Song (generate with voice) ā
Respond (task_id)
(Separate Webhook)
Completion Callback ā
Upload to Storage ā
Notify User
Example 3: Audio Processing Pipeline
File Upload Trigger ā
Parallel Processing:
āā Denoise
āā Extract Key/BPM
āā Transcribe
ā Merge Results ā
Audio Mastering ā
Save to Database
Example 4: Music Production Workflow
Manual Trigger ā
Generate Audio (from lyrics) ā
Wait (45s) ā
Get Conversion ā
Extraction (separate stems) ā
Wait (60s) ā
Remix (transform style) ā
Download & Archive
Example 5: Automated Content Creation
MusicGPT Trigger (New Conversions) ā
Filter (music_generation, completed) ā
Auto-Master Audio ā
Convert to Multiple Formats ā
Upload to CDN ā
Update Database ā
Email Notification
Supported Formats & Features
Audio Formats
- Input: MP3, WAV, FLAC, OGG, AAC, WEBM, M4A
- Output: MP3, WAV, FLAC, OGG, AAC, WEBM
Languages (TTS & Transcription)
English, Spanish, French, German, Italian, Portuguese, Chinese, Japanese, Korean, Auto-detect
Available Stems (Extraction)
- Vocals: vocals, male_vocal, female_vocal, lead_vocal, back_vocal
- Rhythm: drums, kick, snare, toms, hi-hat, ride, crash
- Strings: guitar, bass, rhythm_guitar, solo_guitar, acoustic_guitar, electric_guitar
- Keys: piano, keys, strings, winds
- Full: instrumental (all instruments)
Sample Rates
8kHz, 16kHz, 22.05kHz, 24kHz, 32kHz, 44.1kHz (CD), 48kHz (Pro), 96kHz (Hi-Res), 192kHz (Ultra)
Advanced Features
Webhook Callbacks
Enable async processing for long operations:
{
"webhook_url": "https://your-webhook.com/callback"
}
Receive completion notifications:
{
"event": "conversion.completed",
"task_id": "task_abc123",
"status": "completed",
"output_url": "https://cdn.musicgpt.com/result.mp3"
}
Binary File Processing
Process files from previous nodes:
HTTP Request (download) ā
āā Response: File
MusicGPT:
āā Audio Source: File
āā Binary Property: "data"
Dynamic Voice Loading
Voice selection fields dynamically load 100+ available voices from the API, with search and filter capabilities.
Troubleshooting
| Issue | Solution |
|---|---|
| "Authentication failed" | Verify API key in credentials |
| "Conversion not found" | Increase wait time (operations vary: 15s-120s) |
| "Invalid voice_id" | Use "Get All Voices" to see valid IDs |
| "File too large" | Compress or split audio files |
| "Rate limit exceeded" | Add delays between requests or upgrade plan |
| "Binary data error" | Ensure previous node outputs file data |
Contributing
Contributions are welcome! See the GitHub repository for development setup and guidelines.
Support
- š Documentation: DOCUMENTATION.md
- ā” Quick Reference: API-REFERENCE.md
- š¬ Community: n8n Forum
- š§ Email: support@musicgpt.com
Resources
- MusicGPT API Docs: docs.musicgpt.com
- n8n Documentation: docs.n8n.io
- Creating n8n Nodes: docs.n8n.io/integrations/creating-nodes
- n8n Community: community.n8n.io
License
MIT License - see LICENSE file for details.
Credits
- MusicGPT API: musicgpt.com
- n8n Platform: n8n.io
Made with ā¤ļø for the n8n community