AI image generator from text built on fal.ai
Ready for 3.0What this workflow does
This AI workflow has 10 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model. It also calls queue.fal.run over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Content Safety Filter (Text Classifier): classifies text into categories with AI, with model: OpenAI Chat Model
- 400 Error (Respond to Webhook): sends the response back to the webhook caller
- Submit Request (HTTP Request): calls queue.fal.run (POST)
- Fetch Status (HTTP Request): calls an HTTP API
- Is Ready? (If): checks a condition and branches into true / false
- Fetch Result (HTTP Request): calls an HTTP API
- Wait: waits 1 seconds
- Success (Respond to Webhook): sends the response back to the webhook caller
Services it uses
HTTP calls to: queue.fal.run
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 (7)
- Webhook
n8n-nodes-base.webhook - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - If
n8n-nodes-base.if - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Respond to Webhook
n8n-nodes-base.respondToWebhook - Text Classifier
@n8n/n8n-nodes-langchain.textClassifier
From the author
Who this template is for This template is for developers, content creators, or application builders who want to integrate an AI-powered text-to-image generation service into their applications or systems via an API endpoint. Use case Creating a secure API…