An AI-powered music generation workflow built with:
- n8n
- Telegram Bot API
- DeepSeek AI
- Suno API
This workflow automatically:
- Receives a music prompt from Telegram
- Generates song lyrics with Suno
- Uses AI to generate structured music metadata
- Creates AI-generated music
- Waits for generation completion
- Downloads the MP3
- Sends the final audio back to Telegram
- Fully automated AI music generation
- Telegram integration
- DeepSeek-powered music analysis
- Async polling system
- Automatic MP3 delivery
- Structured JSON AI outputs
- Suno AI integration
- No backend required
Telegram Trigger
↓
Generate Lyrics
↓
Wait
↓
Check Lyrics Status
↓
AI Agent (DeepSeek)
↓
Generate Music
↓
Wait
↓
Check Music Status
↓
Download MP3
↓
Send Audio to Telegram
| Tool | Purpose |
|---|---|
| n8n | Workflow automation |
| Telegram Bot API | User interface |
| DeepSeek | AI metadata generation |
| Suno API | Music generation |
| HTTP Requests | API communication |
git clone https://github.com/YOUR_USERNAME/ai-music-telegram-agent.git- Open n8n
- Import the provided JSON workflow
- Configure credentials
Create a Telegram bot using:
@BotFather
Then add the Telegram credentials inside n8n.
Add your Suno API key in the HTTP Request nodes.
Add your DeepSeek credentials inside n8n AI nodes.
The workflow uses:
- Wait nodes
- IF nodes
- Status polling
to handle asynchronous AI generation tasks.
/workflow
ai-music-agent.json
/docs
documentation.md
/assets
screenshots/
- This project uses an unofficial Suno API wrapper
- API limits may apply
- Some prompts may be blocked by Suno moderation
Never expose:
- API keys
- Bearer tokens
- Telegram secrets
Use n8n Credentials whenever possible.
- AI-generated cover art
- Memory system
- Multi-user queue
- Premium subscription system
- Database integration
- AI remix generation
MIT License
Built with:
- n8n
- DeepSeek
- Suno API
- Telegram Bot API