This article will guide you on how to automatically create images using n8n – a powerful automation tool. You will learn how to integrate steps from creating AI prompts to uploading images to Google Drive, allowing you to easily create and store free AI-generated images.
Download JSON: https://automationnocode.com/product/guide-to-creating-free-ai-images-using-n8n/
Node create prompt
a/ Enter image content in the red box

b/ Google Gemini Chat Model3

API Key:
- Create a Google Cloud account.
- Create a Google Cloud Platform project
- Go to the Google AI Studio API Key page.
- Select Create API Key.
- Choose whether to create the API key in a new project or an existing Google Cloud project.
- Copy the generated API key.
- Using the API Key in n8n:
- Ensure you have the correct API Host URL:
https://generativelanguage.googleapis.com
. - Add the API key to your n8n credentials.
- Ensure you have the correct API Host URL:
- Connect Google account
Node Google drive
Enter the drive link in the red box

Google Drive OAuth2 API

Sign up for n8n for free: here