Templates / Flux AI image generator

Flux AI image generator

Ready for 3.0

by Max Tkacz ✓ · 86,972 views · created 2024-09-17 · 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 12 nodes and runs when someone submits an n8n form (“flux.schnell image generator”). Along the way it connects S3. It also calls api-inference.huggingface.co over HTTP.

How it runs

Trigger: When someone submits an n8n form (“flux.schnell image generator”).

  1. Route by style (Switch): routes items into 5 branches
  2. Hyper-Surreal Escape (Edit Fields (Set)): sets 1 field: stylePrompt
  3. Post-Analog Glitchscape (Edit Fields (Set)): sets 1 field: stylePrompt
  4. AI Dystopia (Edit Fields (Set)): sets 1 field: stylePrompt
  5. Neon Fauvism (Edit Fields (Set)): sets 1 field: stylePrompt
  6. Vivid Pop Explosion (Edit Fields (Set)): sets 1 field: stylePrompt
  7. None (Edit Fields (Set)): sets 1 field: stylePrompt
  8. Call hugginface inference api (HTTP Request): calls api-inference.huggingface.co (POST)
  9. Upload image to S (S3): upload
  10. Respond with error (Respond to Webhook): sends the response back to the webhook caller

…plus 1 more step. See the full node list below.

Services it uses

S3

HTTP calls to: api-inference.huggingface.co

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

Easily generate images with Black Forest's Flux Text-to-Image AI models using Hugging Face’s Inference API. This template serves a webform where you can enter prompts and select predefined visual styles that are customizable with no-code. The workflow…

Excerpt from Max Tkacz'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.