Description
n8n Integration for MAIA Router
n8n community nodes for MAIA Router – an AI model routing service.
Installation
n8n Cloud:
Only contain chat action (direct api call)
@maia-id/n8n-nodes-maia-router-chat-action
Self-hosted:
npm install @maia-id/n8n-nodes-maia-router
Configuration
- Create Maia Router API credential in n8n
- Add your API key from maiarouter.ai
Features
Chat Action Node (Cloud Compatible)
Direct API operations:
- Chat completions
- Text-to-speech
- Audio transcription
- Video generation (Sora, Veo)
Parameters:
- Model (e.g.,
maia/gemini-2.5-flash) - Messages (role + content)
- Temperature, max tokens, top-p
- Stream, stop sequences, penalties
Chat Model Node (Self-hosted Only)
LangChain integration for:
- AI Agents with tool calling
- Multi-step reasoning
- Memory and context management
- Complex AI workflows
Usage Examples
Basic Chat
- Add MAIA Router node
- Select Chat → Message a model
- Set model:
maia/gemini-2.5-flash - Add message with role
userand your content
AI Agent (Self-hosted)
- Add AI Agent node
- Select MAIA Router Chat Model as language model
- Configure tools and memory
- Model handles multi-step reasoning automatically
Video Generation
- Add MAIA Router node
- Select Video → Generate Video
- Choose model:
Sora 2orVeo 3.0 - Enter your prompt
- Video downloads as binary data
Development
npm install # Install dependencies
npm run build # Build packages
npm run dev # Watch mode
Versioning
Use bump.sh to release:
./bump.sh [major|minor|patch]
This updates version, creates git tag, and pushes to remote.