๐ŸŽฌ Generate social media campaign images with Mistral AI & Pollinations.ai

โšก 485 views ยท ๐ŸŽฌ Content Creation & Video

Description

๐Ÿ“– 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.

  1. Input Brand & Campaign Data

    • Retrieves brand profile and campaign goals from Google Drive.
    • Cleans and merges the data into a structured JSON format.
  2. Campaign Goal Generation

    • AI summarizes campaign goals, audience, success metrics, and keywords.
    • Produces a clear campaign goal summary for content planning.
  3. Image Prompt Generation

    • AI creates 5 detailed image prompts reflecting the campaign story.
    • Includes 1 caption and 4โ€“6 relevant hashtags.
  4. Image Creation

    • Pollinations.ai generates images based on the AI prompts.
    • Each image is renamed systematically (photo1 โ†’ photo5).
  5. 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

  1. Connect Credentials

    • Add Google Drive and Mistral API credentials in n8n.
  2. Configure Google Drive Input Nodes

    • Set fileId for brand profile and campaign goals.
  3. 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.
  4. Check Image Output Nodes

    • Ensure Pollinations.ai HTTP request nodes are active.
    • Verify renaming code nodes for proper photo sequence.
  5. Activate Workflow

    • Test workflow manually to ensure images are generated and uploaded correctly.

๐Ÿ”น Data Handling & Output


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.

๐Ÿ”— Nodes Used

HTTP Request, Google Drive, AI Agent, Structured Output Parser, Mistral Cloud Chat Model

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup