Generate Social Media Campaign Images with Mistral AI & Pollinations.ai
π Description
πΉ How it works
This workflow uses AI (Mistral LLM + Pollinations.ai) to generate high-quality visual content for social media campaigns. It automates the process from brand/campaign input to final image upload, ensuring consistency and relevance.
Input Brand & Campaign Data
Retrieves brand profile and campaign goals from Google Drive.
Cleans and merges the data into a structured JSON format.
Campaign Goal Generation
AI summarizes campaign goals, audience, success metrics, and keywords.
Produces a clear campaign goal summary for content planning.
Image Prompt Generation
AI creates 5 detailed image prompts reflecting the campaign story.
Includes 1 caption and 4β6 relevant hashtags.
Image Creation
Pollinations.ai generates images based on the AI prompts.
Each image is renamed systematically (photo1 β photo5).
Post-Processing & Upload
All images are merged into a single item.
Workflow uploads the final output to Google Drive for campaign use.
βοΈ Set up steps
Connect Credentials
Add Google Drive and Mistral API credentials in n8n.
Configure Google Drive Input Nodes
Set fileId for brand profile and campaign goals.
Customize AI Prompts
Sticky notes explain AI nodes for goal summary and image prompt generation.
Optionally modify tone, keywords, or target audience for brand-specific campaigns.
Check Image Output Nodes
Ensure Pollinations.ai HTTP request nodes are active.
Verify renaming code nodes for proper photo sequence.
Activate Workflow
Test workflow manually to ensure images are generated and uploaded correctly.
πΉ Data Handling & Output
This workflow pulls brand profile and campaign goal data from Google Drive.
Data is processed into structured JSON, including:
Brand Profile: name, mission, vision, values, services, tone, keywords, contact info.
Campaign Goal: primary goal, focus, success metrics, target audience, core message.
Supports population of multiple campaigns or brands dynamically.
JSON output can be used downstream for image prompt generation, reporting, or analytics.
All processing is automated, with clear nodes for extraction, parsing, and merging.
pollinations.ai is an open-source free text and image generation API available. No signups or API keys required. which prioritize your privacy with zero data storage and completely anonymous usage.
β‘ Result: A fully automated AI-to-image workflow that transforms campaign goals into ready-to-use social media visuals, saving time and maintaining brand consistency.
Related Templates
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
π€ Build Resilient AI Workflows with Automatic GPT and Gemini Failover Chain
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This...
π Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments