virgin ai
AI Instagram Image Agent – Unlimited Auto-Generated IG Posts With Captions & Flux Images (n8n)
AI Instagram Image Agent – Unlimited Auto-Generated IG Posts With Captions & Flux Images (n8n)
Couldn't load pickup availability
The AI Instagram Image Agent is a complete end-to-end automation system that creates unlimited Instagram posts automatically — including topic selection, caption writing, image prompt generation, Flux image creation, preview screenshot, scheduling, and direct Instagram publishing.
Built using n8n + DeepSeek + Together AI + EXA AI + Google Sheets + ScreenshotOne + Meta Graph API, this system replaces an entire content team.
How the Automation Works
1. Intelligent Topic Injection
The system starts by loading your topic (“Post Topic”) and generating a unique ID to avoid storage caching.
(Global Variable node)
2. AI Converts Topic → Search Query
DeepSeek analyzes your topic and generates a natural-language search phrase based on the category.
(Get Natural Language Account)
3. EXA AI Fetches Supporting Content
EXA retrieves relevant articles, broken into chunks using Split Out, then limited to top 3.
(Exa Get Content → Split Out → Limit)
4. DeepSeek Writes an Instagram Caption
The system rewrites the article into a polished Instagram caption with:
• Clear hook
• Clean structure
• Professional tone
• Max 5 hashtags
• No emojis
(Convert into Instagram Content)
5. AI Converts Caption → FLUX Image Prompt
DeepSeek extracts visual elements and converts them into a Flux-compatible 9:16 design prompt.
(Convert into Image Prompt)
6. Together AI Generates the Flux Image
A Flux 1-schnell image (1024×1024) is produced in base64 format.
(Get Image Base64)
7. Save Image to Cloud Storage
The base64 is converted to a JPEG file and stored in Google Cloud.
(Convert to Image → Save Image)
8. Generate an 8-Word Image Title
DeepSeek analyzes the caption and produces a clean, professional 8-word title.
(Get Image Text)
9. Create Dynamic Preview Page
The system inserts the title and image URL into a customizable preview link.
(Preview Link node)
10. Capture Preview Screenshot
ScreenshotOne loads the preview page and captures a rendered JPEG.
(Request Screenshot → Save Screenshot)
11. Log Content Into Google Sheets
The automation adds:
• Instagram Image Link
• Flux Image Link
• Caption
Into the “Schedule” sheet.
(Update Record)
12. Publish Directly to Instagram
The system:
• Fetches long-lived access token
• Finds the linked IG business account
• Uploads media
• Waits 20 seconds
• Publishes the post
• Updates the “Status” → Posted
Your IG feed gets populated automatically — no manual posting required.
Tools Used in This Automation
(All confirmed from the JSON workflow)
- DeepSeek AI (search query generation, caption writing, image prompt conversion, title generation)
- EXA AI (content extraction & research)
- Together AI (FLUX.1-schnell) (image generation)
- ScreenshotOne API (preview screenshot generation)
- n8n (automation workflow control)
- Google Cloud Storage (image storage)
- Google Sheets (post scheduling & tracking)
- Redis (token storage)
- Meta Graph API (Instagram Publishing)
- Andynocode Preview API (dynamic preview rendering)
Perfect For
• Instagram theme pages
• Motivational pages
• Automated content channels
• AI influencers
• Agencies managing client IG feeds
• Anyone wanting unlimited daily IG posts without design work
This is a complete AI-powered content engine that turns simple topics into polished Instagram posts automatically — forever.
