Flux AI image generator
Ready for 3.0What 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”).
- Route by style (Switch): routes items into 5 branches
- Hyper-Surreal Escape (Edit Fields (Set)): sets 1 field: stylePrompt
- Post-Analog Glitchscape (Edit Fields (Set)): sets 1 field: stylePrompt
- AI Dystopia (Edit Fields (Set)): sets 1 field: stylePrompt
- Neon Fauvism (Edit Fields (Set)): sets 1 field: stylePrompt
- Vivid Pop Explosion (Edit Fields (Set)): sets 1 field: stylePrompt
- None (Edit Fields (Set)): sets 1 field: stylePrompt
- Call hugginface inference api (HTTP Request): calls api-inference.huggingface.co (POST)
- Upload image to S (S3): upload
- 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
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)
- Edit Fields (Set)
n8n-nodes-base.set - Respond to Webhook
n8n-nodes-base.respondToWebhook - S3
n8n-nodes-base.s3 - n8n Form Trigger
n8n-nodes-base.formTrigger - HTTP Request
n8n-nodes-base.httpRequest - Switch
n8n-nodes-base.switch
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…