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.

0
Downloads
0
Views
8.38
Quality Score
intermediate
Complexity
Author:Rajeet Nair(View Original β†’)
Created:9/22/2025
Updated:9/30/2025

πŸ”’ Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments