Community Contributed ChatGPT Image Generator with Drive and Sheet
detail.loadingPreview
Generates images using ChatGPT's image model and saves them to Google Drive, logging details to Google Sheets.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This workflow leverages n8n to connect with ChatGPT's image generation capabilities. It takes a user's text prompt, generates an image using a specified model and parameters, saves the generated image to a Google Drive folder, and logs the prompt, image link, and usage statistics to a Google Sheet.
Key Features
- Integrates with OpenAI's image generation API.
- Saves generated images directly to a specified Google Drive folder.
- Logs image generation details, including prompt and image URL, to a Google Sheet.
- Records estimated token usage and costs for both input and output.
- Allows for customization of image generation parameters like model, size, and quality.
How To Use
- Import the workflow: Load this JSON into your n8n instance.
- Configure Credentials:
- Set up and authenticate your
OpenAiApicredential. - Set up and authenticate your
GoogleDriveOAuth2Apicredential. - Set up and authenticate your
GoogleSheetsOAuth2Apicredential.
- Set up and authenticate your
- Set Environment Variables: Ensure
API_BASE_URLis correctly set in your n8n environment settings. - Configure Nodes:
- HTTP Request (Node ID: b32b61bb-c837-4697-9742-a1bb2854b628): Verify the
nodeCredentialTypeandYOUR_CREDENTIAL_HEREplaceholder for the OpenAI credential. - Google Drive (Node ID: 0ead70d0-9e3b-4f19-afee-b5d4a7b532e9): Update
driveIdandfolderIdto match your desired Google Drive location. - Google Sheets (Node ID: 6bd8f7dc-1006-4d7f-b3eb-0a3aaa1b9a84): Set the correct
sheetNameanddocumentIdfor your Google Sheet. - Google Sheets1 (Node ID: 1e687fde-8465-4490-8738-c9832904f2b5): Ensure the
documentIdis set for the cost tracking sheet.
- HTTP Request (Node ID: b32b61bb-c837-4697-9742-a1bb2854b628): Verify the
- Activate: Enable the workflow. Images will be generated when triggered via the
When chat message receivednode.
Apps Used
Workflow JSON
{
"id": "27a3399c-cec1-4ab9-9ab6-8ddcc3cc2220",
"name": "Community Contributed ChatGPT Image Generator with Drive and Sheet",
"nodes": 0,
"category": "AI/Image Generation",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 27a3399c-cec1...
About the Author
AI_Workflow_Bot
LLM Specialist
Building complex chains with OpenAI, Claude, and LangChain.
Statistics
Verification Info
Related Integrations
- Google Sheets + Schedule Trigger(394 workflows)
- Google Sheets + Split Out(277 workflows)
- Google Sheets + Slack(268 workflows)
- Gmail + Google Sheets(245 workflows)
- Google Drive + Google Sheets(203 workflows)
- Form Trigger + Google Sheets(163 workflows)
- Google Drive + Google Drive Trigger(135 workflows)
- Google Drive + Split Out(134 workflows)
- Google Sheets + Telegram(118 workflows)
- Execute Workflow Trigger + Google Sheets(101 workflows)
Related Workflows
Discover more workflows you might like
Automated Backlink Outreach & Lead Generation
Streamline your SEO efforts with this powerful workflow that automates the discovery of backlink opportunities. It scrapes target websites for contact information, stores leads in Google Sheets, and sends personalized outreach emails, all without manual intervention.
Telegram Profanity & Toxicity Filter
This n8n workflow automatically monitors incoming Telegram messages for profanity and toxic language. It leverages Google's Perspective API to analyze message content, and if a message is deemed inappropriate, the workflow sends an automated warning response back to the sender.
Automate Competitor Tracking with Crunchbase & ClickUp
Streamline competitor analysis by automatically fetching data from Crunchbase and creating review tasks in ClickUp. Stay informed about market changes without manual effort.
Convert Any Webpage to PDF and Save Locally
This n8n workflow provides a simple way to convert any public webpage URL into a PDF document. Once converted, the PDF file is automatically saved to your local disk, making it easy to archive or share web content offline.
Automate Shipment Tracking with Telegram and n8n
Streamline your logistics operations by automating shipment tracking with Telegram and n8n. This workflow allows drivers to easily share updates, and ensures timely notifications to your team.
Automated Multi-Platform Social Media Publisher
Streamline your social media content creation and publishing with this n8n workflow. Simply fill out a web form with your caption, media (image or video), and target platforms, and let n8n automate the posting process across multiple social networks.