Generate custom cake images with OpenAI GPT & Replicate Flux Schnell
Ready for 3.0What this workflow does
This AI workflow has 6 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model. It also calls api.replicate.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Prompt Generator (AI Agent): runs an AI agent, with model: OpenAI Chat Model
- Generate Image (HTTP Request): calls api.replicate.com (POST)
- Download Image (HTTP Request): calls an HTTP API
- Respond to Requests (Respond to Webhook): sends the response back to the webhook caller
Services it uses
HTTP calls to: api.replicate.com
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 (5)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Who’s it for This template is designed for bakeries, event planners, and e-commerce platforms that want to automatically generate custom cake designs. It’s also ideal for marketers or digital creators who need personalized celebratory visuals for social media…