n8nflow.net logo

Generate AI Stock Images with Flux1-schnell, Metadata Tagging & Google Integration

by victor Adrianoβ€’Updated: Last update 4 months agoβ€’Source: n8n.io
Loading workflow viewer...

πŸ“£ This template generates up to 2,000 AI-based stock images per day for under $3. It includes prompt generation , image creation , metadata enrichment , upload to Google Drive , and error logging β€” fully automated with minimal setup.


πŸ“Œ Who is this for?

This workflow is designed for:

  • Stock image creators and contributors
  • Agencies managing visual content at scale
  • Solo creators or marketers automating asset production
  • Anyone aiming to populate image libraries (e.g., Adobe Stock , Shutterstock)

❓ What problem is this workflow solving?

Manually generating, naming, tagging, and uploading thousands of stock images is time-consuming and expensive. This automation solves that by:

  • Generating photorealistic images via AI
  • Auto-tagging with rich metadata
  • Uploading them to structured Google Drive folders
  • Logging progress and capturing errors automatically

βš™οΈ What this workflow does

  • βœ… Generates text prompts from idea topics using GPT
  • 🎨 Converts prompts into 4 images each via the Flux Schnell model
  • πŸ“ Resizes and compresses images for preview and final use
  • 🧠 Uses GPT-4o-mini to generate metadata: filename, title, category , and 25 keywords
  • ☁️ Uploads to Google Drive , logs metadata to Google Sheets
  • 🟒 Marks each prompt as completed
  • πŸ“² Sends Telegram alerts for success and errors

πŸ›  Setup

  1. Google Sheets

    • Sheet 1: Ideas β€” New prompt topics
    • Sheet 2: Generated Pmts β€” Tracks generated prompts and status
    • Sheet 3: Error Logs β€” Execution error records
  2. Google Drive

    • A folder for image uploads
    • A folder for copied daily spreadsheets
  3. API Access

    • OpenAI GPT (gpt-4o-mini)
    • PIAPI (Flux Schnell image model)
  4. Telegram Bot (optional but recommended)

    • Real-time status notifications

🧩 How to customize this workflow to your needs

  • πŸ” Change frequency of generation via trigger settings
  • 🧠 Swap models if using a different image API
  • 🧾 Adjust metadata fields or format rules
  • πŸ“€ Redirect outputs to Airtable, Notion, Dropbox, etc.

🧠 Node Naming & Notes

  • βœ… All nodes are clearly renamed to reflect their purpose (e.g., Generate Image, Upload to Drive)
  • πŸ—’οΈ Sticky notes are used to document setup and logic
  • πŸ”— External links to Notion setup docs or Loom videos are recommended

πŸ—‚οΈ Categories

  • AI
  • Marketing
  • Product
  • Building Blocks

🎁 Bonus Feature

This template includes a bonus stock image renamer workflow β€” ideal for renaming:

  • πŸ“Έ Taken photos
  • πŸ—ƒοΈ Existing stock libraries
  • πŸ–ΌοΈ Downloaded image batches

It applies SEO-friendly, consistent naming compatible with major platforms like Adobe Stock and Shutterstock.