Skip to main content

Visual storytelling content factory: Gemini & Replicate AI with human-in-the-loop publishing

Workflow preview

Workflow preview
100%
Visual storytelling content factory: Gemini & Replicate AI with human-in-the-loop publishing preview
Open on n8n.io

Important notice

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

1. Workflow Overview

This n8n workflow automates the entire content creation and publishing pipeline for engaging, AI generated visual stories, ensuring image and video quality with human in the loop approvals. What it...

Best for

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

Tools used

n8n-nodes-base.manualtrigger, @n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.lmchatopenrouter, n8n-nodes-base.splitout, n8n-nodes-base.httprequest, n8n-nodes-base.slack, n8n-nodes-base.if, n8n-nodes-base.set

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Nadia Privalikhina.

Original n8n.io source

1.1 Workflow description

Title
Visual storytelling content factory: Gemini & Replicate AI with human-in-the-loop publishing
Workflow name
Visual storytelling content factory: Gemini & Replicate AI with human-in-the-loop publishing

This n8n workflow automates the entire content creation and publishing pipeline for engaging, AI-generated visual stories, ensuring image and video quality with human-in-the-loop approvals.

What it does:

It takes a narrative concept (e.g., 'A Day in the Life of a Serene Skeleton') and transforms it into a series of unique images and videos, which are then published across multiple social media platforms.

How it works:

Creative Conceptualization: An AI 'Creative Director' develops a detailed narrative, including scenes, moods, and character details.

Prompt Engineering: An AI 'Creative Technician' translates the narrative into precise text-to-image and text-to-video prompts, maintaining a consistent artistic style, lighting, and character appearance.

AI Asset Generation: Replicate's AI models (Qwen-Image for images and Seedance-1-Lite for videos) create the visual content from these prompts.

Human-in-the-Loop Approval: Generated images and videos are sent to Slack for manual review. Users can approve or request regeneration, ensuring creative control and quality.

Multi-Platform Publishing: Approved content is automatically published via Blotato to Instagram and Facebook (videos), and TikTok (image slideshows), ready for your audience.

Technical Requirements:

  • Replicate Account with Balance: For image and video generation (using Qwen-Image and Seedance-1-Lite).

  • Blotato Subscription: For seamless publishing to multiple social media platforms.

  • OpenRouter Account with Balance: To access various Large Language Models (LLMs) like Gemini 2.5 Flash for creative direction and prompt generation.

  • Slack Account: For the human-in-the-loop approval process.

Customization Potential:

This workflow serves as a robust foundation that can be easily adapted for various use cases beyond story narratives, such as:

  • Automating product publishing with AI-generated visuals and descriptions.

  • Creating dynamic advertising content for campaigns.

  • Generating personalized visual content for marketing.

  • Scaling content creation for personal or e-commerce brands.

Why use it?

Ideal for content creators, marketers, and businesses seeking to scale their visual content production, maintain creative control through human oversight, and automate distribution (with scheduling option) to key social media channels (Instagram, Facebook, TikTok, X, Pinterest, YouTube, and more). Customize the initial story brief to unleash endless themed narratives tailored to your brand.

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 - When clicking ‘Execute workflow’

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

Block 2 - Creative Director

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 3 - OpenRouter Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 4 - OpenRouter Chat Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 5 - Creative Technician Brief

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 6 - Split Out

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

Block 7 - Generate an Image

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

Block 8 - Request Approval

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

Block 9 - If: Approved

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 10 - Reset Prompt

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 11 - Generate a video

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

Block 12 - Sticky Note

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

Block 13 - Sticky Note1

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

Block 14 - Sticky Note2

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

Block 15 - Limit

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

Block 16 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 17 - Set Scene Image

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 18 - If: Approved2

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 19 - Sticky Note3

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

Block 20 - Loop Over Images

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 21 - Request Approval for Video

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

Block 22 - Set Scene Video

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 23 - Reset Video Prompt

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 24 - Sort

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

Showing the first 24 of 42 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Visual storytelling content factory: Gemini & Replicate AI with human-in-the-loop publishing
Complexity advanced
Nodes 42
Categories Content Creation, Multimodal AI
Author Nadia Privalikhina
Published 27 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7951/7951.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 Visual storytelling content factory: Gemini & Replicate AI with human-in-the-loop publishing do?

This n8n workflow automates the entire content creation and publishing pipeline for engaging, AI generated visual stories, ensuring image and video quality with human in the loop approvals. What it...

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.