Generate AI images in bulk with Freepik, Google Sheets & Drive
Ready for 3.0What this workflow does
This workflow has 8 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Drive and Google Sheets. It also calls api.freepik.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Get Prompt from Google Sheet (Google Sheets): uses Google Sheets
- Double Output (Code): runs custom JavaScript code
- Loop (Loop Over Items (Split in Batches)): loops over the items in batches
- Create Image (HTTP Request): calls api.freepik.com (POST)
- Split Responses (Split Out): splits a list into separate items
- Convert to File: converts data to a file (to binary)
- Upload Image to Google Drive (Google Drive): uses Google Drive
Services it uses
Other Google Drive + Google Sheets templates (720)
HTTP calls to: api.freepik.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (8)
- Manual Trigger
n8n-nodes-base.manualTrigger - Convert to File
n8n-nodes-base.convertToFile - HTTP Request
n8n-nodes-base.httpRequest - Split Out
n8n-nodes-base.splitOut - Google Drive
n8n-nodes-base.googleDrive - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches
From the author
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…