workflows.fit
Back to n8n workflows
n8n templateFreeBy Tran Trung Nghia

Generate and edit images with Havis AI Nano Banana 2

Havis AI - Nano Banana 2 n8n Workflow Summary This n8n workflow submits an image generation job to Havis AI Nano Banana 2, waits for processing, polls task status, and returns result data when the job completes. Who i...

DevelopmentCore NodesSticky NoteForm TriggerCodeHttp Request
Loading interactive preview...

Template notes

Havis AI - Nano Banana 2 n8n Workflow

Summary

This n8n workflow submits an image generation job to Havis AI Nano Banana 2, waits for processing, polls task status, and returns result data when the job completes.

Who is this for?

- Creators who want a reusable no-code generation form. - Agencies building client-facing AI automation. - Developers who want an importable API test workflow. - n8n users connecting Havis AI output to storage, Slack, Sheets, Airtable, webhooks, or a CMS.

What this workflow does

1. Opens an n8n Form Trigger for Nano Banana 2 inputs. 2. Builds a clean JSON payload and removes empty optional fields. 3. Sends a POST request to https://havis.ai/api/nano-banana-2. 4. Waits 8 seconds, then polls https://havis.ai/api/task/{taskid}. 5. Loops while the task is processing. 6. Returns task ID, status, result URLs, credits used, and submitted payload. 7. Returns a clean error object if the task fails.

Setup