🎬 Generate custom cake images with OpenAI GPT & Replicate Flux Schnell

749 views · 🎬 Content Creation & Video

Description

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 or email campaigns.

How it works

This workflow converts simple user input (e.g., “Sarah’s Birthday”) into a creative cake design:

  1. Webhook: Captures user input from the Bolt frontend form.
  2. OpenAI GPT: Generates a detailed and creative cake design prompt.
  3. Replicate Flux Schnell: Produces a unique cake image using the AI-generated prompt.
  4. HTTP Response: Sends the final cake image back to the frontend.

How to set up

  1. Import this template into n8n.
  2. Add your OpenAI API Key under n8n Credentials for the OpenAI Chat Model node.
  3. Add your Replicate API Token as an HTTP Header Auth credential (do not hardcode it).
  4. Update the Webhook node URL in the Bolt frontend form to send a POST request to n8n.
  5. (Optional) Customize the OpenAI prompt in the Prompt Generator node to adjust cake style, colors, or decorations.

Requirements

How to customize the workflow

🔗 Nodes Used

HTTP Request, Webhook, AI Agent, OpenAI Chat Model

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup