Generate illustrated stories with GPT-4, DALL-E 3 and Firebase
Ready for 3.0What this workflow does
This workflow has 10 nodes and runs when someone submits an n8n form (“AI Story Generator”). It uses only n8n's built-in nodes. It also calls api.openai.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“AI Story Generator”).
- Validate Input (Code): runs custom JavaScript code
- Generate Story (GPT-4) (HTTP Request): calls api.openai.com (POST)
- Prepare Story Data (Code): runs custom JavaScript code
- Generate Images (DALL-E 3) (Code): runs custom JavaScript code
- Upload to Firebase Storage (Code): runs custom JavaScript code
- Finalize Story (Code): runs custom JavaScript code
- Prepare Firestore Data (Code): runs custom JavaScript code
- Save to Firestore (HTTP Request): calls an HTTP API (PATCH)
- Return Response (Respond to Webhook): sends the response back to the webhook caller
HTTP calls to: api.openai.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 (4)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Generate complete illustrated stories using AI. This workflow creates engaging narratives with custom DALL-E 3 images for each scene and saves everything to Firebase. How it works 1. User fills out a form with story topic, language, art style, and number of…