Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Generate Images with GPT-image-1 and Store in Google Drive with Cost Tracking

n8n template #3710
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 Connect your OpenAI API credentials for image generation. Connect your Google Drive and Google Sheets accounts. Set the destination folder in Google Drive. Set the target Google Sheet and specify the correct sheet tabs. The setup usually takes around 5-10 minutes. Detailed field mappings are already pre-configured inside the workflow. Additional tips and in

How to set it up

  1. Open template #3710 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
  2. Create 2 credentials under Credentials → Add credential: Google Sheets, Google Drive. Then open each of those nodes and pick the credential.
  3. Click Execute workflow and step through each node's output to confirm the data looks right.
  4. Toggle the workflow to Active so its trigger runs on its own.

Hand off to your agent

Prompt

Help me set up the n8n workflow "Generate Images with GPT-image-1 and Store in Google Drive with Cost Tracking" (https://n8n.io/workflows/3710). It uses: Google Sheets, HTTP Request, Google Drive. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Questions

Yes. darrell_tw published it free on n8n.io as a verified creator, and it has 2,812 views. It runs on n8n Cloud or a self-hosted n8n instance.

Google Sheets, Google Drive. The other 1 node are built into n8n.

Similar workflows

NameViews
  1. Fully Automated AI Video Generation & Multi-Platform Publishing191K
  2. Generate AI Videos with Google Veo3, Save to Google Drive and Upload to YouTube156K
  3. AI-Powered Short-Form Video Generator with OpenAI, Flux, Kling, and ElevenLabs93K
  4. Automate sales cold calling pipeline with Apify, gpt-5.6-terra, and WhatsApp34K
  5. Invoices from Gmail to Drive and Google Sheets27K
  6. API Schema Extractor24K
  7. ✨🔪 Advanced AI Powered Document Parsing & Text Extraction with Llama Parse16K
  8. 🎨 AI Design Team - Generate and Review AI Images with Ideogram and OpenAI9,990