Description
n8n-nodes-universal-llm-vision
Add vision and audio capabilities to your n8n workflows – Analyze images and audio with AI using any LLM provider, with flexible integration options for every use case.
Installation
Install via n8n’s community node interface:
1. Open n8n in your browser
2. Go to Settings > Community Nodes
3. Search for n8n-nodes-universal-llm-vision and click Install
Both nodes will be available in your node palette under the “AI” category.
Choose Your Approach
This package provides two nodes with different integration approaches:
🎯 Universal LLM Vision
Custom credentials node – Connect to any OpenAI-compatible vision API with your own credentials.
- ✅ Any custom provider: Configure your own API endpoints and credentials
- ✅ Vision model discovery: Auto-fetch vision-capable models from models.dev with pricing
- ✅ Full API control: Custom headers, parameters, JSON response format
- ✅ Rich metadata: Token usage, costs, and model info in output
- ✅ AI Agent ready: Use as a tool in AI Agent workflows
- ✅ Reuse chat models: Connect any n8n chat model node you already have configured
- ✅ Simpler setup: No need to duplicate credentials
- ✅ Quick switching: Change models by swapping the connected chat model node
- ✅ Image & Audio: Supports both image analysis and audio transcription
- Binary data, URL, and base64 image/audio sources
- Customizable prompts with intelligent defaults
- Auto/Low/High detail control for cost optimization (images)
- Production-ready with tests
Best for: Production workflows, custom APIs, full parameter control
🔗 Vision Chain
Langchain integration node – Reuse your existing n8n chat model connections (OpenAI, Anthropic, OpenRouter, etc.).
> ⚠️ Note: Vision Chain cannot be used as a tool in AI Agents. For AI Agent tool integration, use Universal LLM Vision instead.
Important Note
Both nodes work with vision-capable and audio-capable models. Regular text-only models are not supported. Most modern multimodal models from OpenAI (GPT-4o), Anthropic (Claude Sonnet), Google (Gemini), and OpenRouter support vision and audio.
Common features:
📖 Read the detailed comparison in the Vision Chain documentation
Quick Start
Vision Chain (Fastest Setup)
Perfect for getting started with LLM Vision:
1. Add any Chat Model node (e.g., OpenAI Chat Model)
2. Add Vision Chain node
3. Connect: Chat Model → Vision Chain (Chat Model input)
4. Configure image source and prompt
5. Done! ✨
[Your Data] → [Vision Chain] → [Next Node]
↑
[Chat Model]
Universal LLM Vision (Full Control)
For production workflows with specific requirements:
1. Add Universal LLM Vision node
2. Configure credentials (provider + API key)
3. Select from available vision models
4. Configure image source and prompt
5. Customize parameters, headers, system prompt as needed
6. Done! ✨
[Your Data] → [Universal LLM Vision] → [Next Node]
Use Cases
Universal LLM Vision – Best for:
Vision Chain – Best for:
Both nodes – Common uses:
Detailed Configuration
Universal LLM Vision Node
#### Providers & Models
Supported Providers:
Model Selection:
The node auto-fetches all vision-capable models from models.dev, displaying:
$2.5 / $10 per 1M tokens (gpt-4o))Tested Models:
#### Credentials
1. Select your provider
2. Enter API key
3. (Optional) Custom base URL for custom providers
For custom OpenAI-compatible APIs:
https://your-api.com/v1 or http://localhost:11434/v1 for Ollama)#### Parameters
Resource:
Required (for Image):
Required (for Audio):
Optional (Model Parameters):
Advanced Options:
analysis)Vision Chain Node
#### Setup
1. Add Chat Model: Any n8n chat model (OpenAI, Anthropic, etc.)
2. Connect to Vision Chain: Use the “Chat Model” input
3. Configure Image Source: Binary / URL / Base64
4. Write Prompt: Your analysis instruction
#### Parameters
Resource:
Required (for Image):
Required (for Audio):
Options:
analysis)Note: Temperature, max tokens, and model selection are configured at the chat model node level.
Examples & Workflows
📥 Example Files
Universal LLM Vision Examples
#### Image Analysis from URL
Webhook → Set (image URL) → Universal LLM Vision → Respond
Perfect for: Product catalog automation, web scraping with analysis
#### Batch Image Processing
Read Binary Files → Universal LLM Vision → IF → Split → [Process Results]
Perfect for: Quality control, document classification, content moderation
#### OCR with Structured Output
HTTP Request (get image) → Universal LLM Vision (JSON mode) → Set → Database
Configure:
#### Audio Transcription
Read Binary Files → Universal LLM Vision (Audio mode) → Set → Database
Configure:
Perfect for: Meeting transcription, podcast processing, voice memo analysis
Vision Chain Examples
#### Image Analysis with Chat Models
[Data] → Vision Chain → [Process Results]
↑
[Chat Model]
Perfect for: Image classification, visual Q&A, content moderation
#### Audio Transcription with Chat Models
[Data] → Vision Chain (Audio mode) → [Process Results]
↑
[Chat Model]
Perfect for: Meeting transcription, podcast processing, voice memo analysis
#### Dynamic Model Switching
[Data] → Vision Chain → [Output]
↑
[Different Chat Models based on conditions]
Perfect for: Cost optimization, fallback strategies, A/B testing
#### Image Analysis Pipeline
Download File → Vision Chain (describe) → Vision Chain (extract text) → Process
↑ ↑
[Model A] [Model B]
Perfect for: Multi-step analysis, combining different model strengths
Development & Contributing
This package is built using the n8n-community-node-starter boilerplate, providing:
Contributions are welcome! Feel free to:
License
MIT License – see LICENSE file for details.