๐ŸŽฌ Generate AI images with text prompts using BananaAPI and Nano Banana Engine

โšก 4,473 views ยท ๐ŸŽฌ Content Creation & Video

Description

Cheap Nano Banana API - AI Image Generator with BananaAPI.com

Overview

This workflow integrates BananaAPI.com with the Nano Banana image engine to generate or edit AI images from text prompts and optional reference images.

Users simply fill out a form with their prompt and preferences, the workflow submits the request to BananaAPI, polls the status until it is complete, and then returns the final image link.

Why use it?


Prerequisites

โš ๏ธ Important: Never expose your API key in public workflows. Use n8n Credentials for production setups.


Setup Instructions

1. Obtain API Key

2. Configure the Form

The Form Trigger collects the following fields:

3. Workflow Execution

  1. User fills the form and submits.
  2. Workflow sends a POST request to https://bananaapi.com/api/n8n/generate/.
  3. BananaAPI forwards the job to Nano Banana.
  4. Workflow waits 5s, then polls status via image-status/{taskId}.
  5. If status != completed, loop until ready.
  6. Once completed, workflow returns the final image URL.

4. Outputs

The workflow returns:

๐Ÿ’ก Tip: Add a Webhook Response node to return clean JSON for frontend apps.


Customization Tips


API Reference

โœ… Always include Authorization: Bearer <token> in headers.


Pricing Advantages

This makes BananaAPI + Nano Banana one of the most budget-friendly AI image solutions for automation workflows.


Troubleshooting


Security Best Practices

๐Ÿ”— Nodes Used

HTTP Request, n8n Form Trigger

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup