Templates / Generate images with GPT-image-1 and store in Google Drive with cost tracking

Generate images with GPT-image-1 and store in Google Drive with cost tracking

Ready for 3.0

by darrell_tw ✓ · 3,787 views · created 2025-04-25 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

Nodes used (10)

Google DriveGoogle Sheets

What it does

How it works - Receive a chat input as an image prompt. - Call OpenAI's gpt-image-1 API to generate an image. - Split the returned images and process them one by one. - Upload each generated image to Google Drive. - Save image links and thumbnails to a Google Sheets document. - Record token usage and estimated cost into a separate sheet. Set up steps 1. Connect your OpenAI API credentials for image generation. 2. Connect your Google Drive and Google Sheets accounts. 3. Set the destination folder in Google Drive. 4. Set the target Google Sheet and specify the correct sheet tabs. 5. The setup usually takes around 5-10 minutes. 6. Detailed field mappings are already pre-configured inside the workflow. 7. Additional tips and instructions are included as sticky notes inside the workflow. !Screenshot20250425190410NRnD1vZE2x 2.jpg(fileId:1166) Google Sheet copy url Copy Sheet Link

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.