Skip to main content

Generate AI stock images with Flux1-schnell, metadata tagging & Google integration

Workflow preview

Generate AI stock images with Flux1-schnell, metadata tagging & Google integration preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

Overview

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