Skip to main content

Generate illustrated stories with GPT-4, DALL-E 3 and Firebase

Workflow preview

Workflow preview
100%
Generate illustrated stories with GPT-4, DALL-E 3 and Firebase preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.formtrigger, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.respondtowebhook

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Victor Manuel Lagunas Franco.

Original n8n.io source

1.1 Workflow description

Title
Generate illustrated stories with GPT-4, DALL-E 3 and Firebase
Workflow name
Generate illustrated stories with GPT-4, DALL-E 3 and Firebase

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 scenes
  2. GPT-4 generates a complete story with scenes, characters, and image prompts
  3. DALL-E 3 creates unique illustrations for each scene
  4. Images are uploaded to Firebase Storage for permanent hosting
  5. Complete story data is saved to Firestore
  6. Returns JSON with the full story and image URLs

Set up steps (10-15 minutes)

  1. Add your OpenAI API credentials
  2. Add Google Service Account credentials for Firebase
  3. Update 3 variables in the Code nodes: OPENAI_API_KEY, FIREBASE_BUCKET, FIREBASE_PROJECT_ID
  4. Activate and test with the form

Features

  • 12 languages supported
  • 10 art styles to choose from
  • 1-12 scenes per story
  • Automatic image hosting on Firebase
  • Full story saved to Firestore database

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Story Input Form

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.3

Block 12 - Validate Input

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 13 - Generate Story (GPT-4)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 14 - Prepare Story Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 15 - Generate Images (DALL-E 3)

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 16 - Upload to Firebase Storage

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 17 - Finalize Story

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 18 - Prepare Firestore Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 19 - Save to Firestore

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 20 - Return Response

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

3. Summary Table

Workflow Generate illustrated stories with GPT-4, DALL-E 3 and Firebase
Complexity advanced
Nodes 20
Categories Content Creation, Multimodal AI
Author Victor Manuel Lagunas Franco
Published 29 Dec 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12263/12263.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate illustrated stories with GPT-4, DALL-E 3 and Firebase do?

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...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.