workflows.fit
Back to n8n workflows
n8n templateFreeBy Robert Breen

Generate AI images in bulk with Freepik, Google Sheets & Drive

This n8n workflow automates bulk AI image generation using Freepik's Text-to-Image API. It reads prompts from a Google Sheet, generates multiple variations of each image using Freepik's AI, and automatically uploads t...

Data & StorageProductivityDevelopmentCore NodesManual TriggerConvert To FileHttp RequestSplit Out
Loading interactive preview...

Template notes

This n8n workflow automates bulk AI image generation using Freepik's Text-to-Image API. It reads prompts from a Google Sheet, generates multiple variations of each image using Freepik's AI, and automatically uploads the results to Google Drive with organized file names. This is perfect for content creators, marketers, or designers who need to generate multiple AI images in bulk and store them systematically.

Key Features: - Bulk image generation from Google Sheets prompts - Multiple variations per prompt (configurable duplicates) - Automatic file naming and organization - Direct upload to Google Drive - Batch processing for efficient API usage - Freepik AI-powered image generation

Step-by-Step Implementation Guide

Prerequisites Before setting up this workflow, you'll need:

1. n8n instance (cloud or self-hosted) 2. Freepik API account with Text-to-Image access 3. Google account with access to Sheets and Drive 4. Google Sheet with your prompts

Step 1: Set Up Freepik API Credentials

1. Go to [Freepik API Developer Portal](https://freepik.com/api) 2. Create an account or sign in 3. Navigate to your API dashboard 4. Generate an API key for Text-to-Image service 5. Copy the API key and save it securely 6. In n8n, go to Credentials → Add Credential → HTTP Header Auth 7. Configure as follows: - Name: "Header Auth account" - Header Name: x-freepik-api-key - Header Value: Your Freepik API key

Step 2: Set Up Google Credentials