Automate AI Image Generation with Nano Banana Pro
detail.loadingPreview
This workflow leverages the Nano Banana Pro API to automate AI image generation. It allows for both text-to-image creation and image-to-image editing, streamlining the visual content creation process.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This n8n workflow automates the process of generating and editing images using the Nano Banana Pro API. It offers two primary functionalities:
- Text-to-Image Generation: Users can input a text prompt, and the workflow will generate a corresponding image. This is useful for creating unique visuals from scratch.
- Image-to-Image Editing: Users can provide an existing image and a prompt, allowing the AI to modify or enhance the original image based on the provided instructions. This is powerful for creative editing and generating variations.
The workflow uses a schedule trigger for automated text-to-image generation and a form trigger for interactive image-to-image editing. It includes API calls to create tasks, wait for completion, and retrieve image results. The Set nodes are used to define prompts and image inputs, and HTTP Request nodes handle API interactions.
This workflow is ideal for anyone looking to streamline their AI image creation process, whether for marketing, design, or creative projects.
Key Features
- Automate text-to-image generation via scheduling.
- Enable interactive image-to-image editing through a form.
- Supports API integration with Nano Banana Pro for advanced image manipulation.
- Utilizes
Waitnodes to manage asynchronous API responses. - Flexible prompt and image input configuration.
How To Use
-
For Text-to-Image Automation:
- Configure the
Schedule Triggernode with your desired interval. - Update the
Image Promptnode with your text description for the image. - Ensure your Nano Banana Pro API key is correctly set in the
Create Imagenode'sAuthorizationheader. - The workflow will automatically trigger and generate an image.
- Configure the
-
For Image-to-Image Editing (Interactive):
- Access the URL provided by the
On form submissionnode. - Fill in the
Image Promptfield with your editing instructions. - Upload the
Imageyou wish to edit. - The workflow will then process the image and generate an edited version.
- Access the URL provided by the
-
General Configuration:
- Replace placeholder API keys (
YOUR API KEY) with your actual credentials for both Nano Banana Pro and IMGBB (if applicable for image hosting). - Adjust
Waitnode durations as needed based on API response times.
- Replace placeholder API keys (
Apps Used
Workflow JSON
{
"id": "24a8374e-af13-43b3-a480-f42618ef88cf",
"name": "Automate AI Image Generation with Nano Banana Pro",
"nodes": 0,
"category": "AI Automation",
"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: 24a8374e-af13...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
AI-Powered n8n Workflow Builder from Text Input
Automate n8n workflow creation using an AI agent that interprets your text requests. This workflow leverages the 'n8n Builder' node to translate natural language into functional n8n JSON, streamlining automation development.
n8n LangChain Guardrails for AI Safety and Content Moderation
This n8n workflow utilizes LangChain's Guardrails nodes to implement robust AI safety measures. It checks for keywords, jailbreaks, NSFW content, PII, secret keys, and topical alignment, ensuring responsible AI output.
Automate Applicant Feedback Management with Webhooks and AI
This workflow automates the processing of applicant feedback by triggering on a webhook, splitting text, embedding it, and storing it in Pinecone. It then uses a RAG Agent to process feedback and log results to Google Sheets.
Telegram Photoshop Agent: Automate Image Handling with AI
This n8n workflow acts as a Telegram-based Photoshop agent, leveraging AI to process and manage user-submitted images. It handles image uploads, AI edits, and file management.
AI Marketing Agent for Automated Content Creation
Automate your marketing content generation with this AI agent. It uses Gemini 2.5 Pro to write newsletters, create Twitter threads, generate images, and research topics using Perplexity AI.
Automated RAG Evaluation and Email Response Generation
This workflow automates the evaluation of AI-generated responses against ground truth data and sends automated email responses. It leverages Langchain's RAG capabilities with Supabase for data retrieval and OpenAI for embeddings, then uses Gmail for sending emails.