Templates / Generate and edit images using Havis AI GPT Image 2

Generate and edit images using Havis AI GPT Image 2

Ready for 3.0

by Tran Trung Nghia ✓ · 113 views · created 2026-05-16 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 10 nodes and runs when someone submits an n8n form (“Havis AI - GPT Image 2”). It uses only n8n's built-in nodes. It also calls havis.ai over HTTP.

How it runs

Trigger: When someone submits an n8n form (“Havis AI - GPT Image 2”).

  1. Build Payload (Code): runs custom JavaScript code
  2. Submit - Havis API (HTTP Request): calls havis.ai (POST)
  3. Wait: waits 8 seconds
  4. Check Task Status (HTTP Request): calls an HTTP API
  5. Is Completed? (If): checks a condition and branches into true / false
  6. Return Result (Edit Fields (Set)): sets 6 fields: task_id, status, model…
  7. Is Failed? (If): checks a condition and branches into true / false
  8. Return Error (Edit Fields (Set)): sets 5 fields: task_id, status, model…
  9. Wait: waits 8 seconds

HTTP calls to: havis.ai

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

Havis AI - GPT Image 2 n8n Workflow Summary This n8n workflow submits an image generation job to Havis AI GPT Image 2, waits for processing, polls task status, and returns result data when the job completes. Who is this for? - Creators who want a reusable…

Excerpt from Tran Trung Nghia's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.