Library / Image, Video & Audio
Image, Video & Audio
Manualtrigger Workflow
When you run it, it creates or processes media with Google Gemini.
What it does
## 2. Using Vision Model to Generate Caption [Learn more about the Basic LLM Chain]({{ $env.WEBHOOK_URL }} n8n's basic LLM node supports multimodal input by allowing you to specify either a binary or an image url to send to a compatible LLM. This makes it easy to start utilising this powerful feature for visual classification or OCR tasks which have previously depended on more dedicated OCR models. Here, we've simply passed our image binary as a "user message" option, asking the LLM to help us generate a caption title and text which is appropriate for the given subject. Once generated, we'll pass this text along with the image to combine them both.
The steps
- When clicking ‘Test workflow’
- Google Gemini Chat Model
- Structured Output Parser
- Get Info
- Resize For AI
- Calculate Positioning
- Apply Caption to Image
- Merge Image & Caption
- Merge Caption & Positions
- Get Image
- Image Captioning Agent
Similar automations