Skip to main content

Create emotional stories with Gemini AI: Generate images and Veo3 JSON prompts

Workflow preview

Workflow preview
100%
Create emotional stories with Gemini AI: Generate images and Veo3 JSON prompts 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 template demonstrates how to create an automated emotional story generation system that produces structured video prompts and generate...

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.manualtrigger, n8n-nodes-base.if, n8n-nodes-base.googledrive, @n8n/n8n-nodes-langchain.outputparserstructured, @n8n/n8n-nodes-langchain.chainllm, n8n-nodes-base.googlesheets, @n8n/n8n-nodes-langchain.googlegemini

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Muhammad Farooq Iqbal.

Original n8n.io source

1.1 Workflow description

Title
Create emotional stories with Gemini AI: Generate images and Veo3 JSON prompts
Workflow name
Create emotional stories with Gemini AI: Generate images and Veo3 JSON prompts

This n8n template demonstrates how to create an automated emotional story generation system that produces structured video prompts and generates corresponding images using AI. The workflow creates a complete story with 5 scenes featuring a Pakistani character named Yusra, converts them into Veo 3 video generation prompts, and generates images for each scene.

Use cases include:

  • Automated story creation for social media content
  • Video pre-production with AI-generated storyboards
  • Content creation for educational or entertainment purposes
  • Multi-scene narrative development with consistent character design

Good to know:

  • Uses Gemini 2.5 Flash Lite for story generation and prompt conversion
  • Uses Gemini 2.0 Flash Exp for image generation
  • The image generation model may be geo-restricted in some regions
  • Workflow includes automatic Google Drive organization and Google Sheets tracking

How it works:

  1. Story Creation: Gemini AI creates a 5-scene emotional story featuring Yusra, a Pakistani girl aged 20-25 in traditional dress
  2. Folder Organization: AI generates a unique folder name with timestamp for project organization
  3. Google Sheets Setup: Creates a new sheet to track all scenes and their processing status
  4. Scene Processing: Each scene is processed individually with character and action prompts
  5. Veo 3 Prompt Conversion: Converts natural language scene descriptions into structured JSON format optimized for Veo 3 video generation, including parameters like:
    • Detailed scene descriptions
    • Camera movements and angles
    • Lighting and mood settings
    • Style and quality specifications
    • Aspect ratios and technical parameters
  6. Image Generation: Uses Gemini's image generation model to create visual representations of each scene
  7. File Management: Automatically uploads images to Google Drive and organizes them in project folders
  8. Status Tracking: Updates Google Sheets with processing status and file URLs
  9. Automated Workflow: Includes conditional logic to handle different processing states and file movements

How to use:

  1. Execute the workflow manually or set up automated triggers
  2. The system will automatically create a new story with 5 scenes
  3. Each scene gets processed through the AI pipeline
  4. Generated images are organized in Google Drive folders
  5. Track progress through the Google Sheets interface
  6. The workflow handles all file management and status updates automatically

Requirements:

  • Gemini API access for both text and image generation
  • Google Drive for file storage and organization
  • Google Sheets for project tracking and management
  • n8n instance with appropriate node access

Customizing this workflow:

  • Modify the character description in the Story Creator node
  • Adjust the number of scenes by changing the story prompt
  • Customize the Veo 3 prompt parameters for different video styles
  • Add additional AI models or processing steps
  • Integrate with other content creation tools
  • Modify the folder naming convention or organization structure

Technical Features:

  • Automated retry logic for failed operations
  • Conditional processing based on status flags
  • Batch processing for multiple scenes
  • Error handling and status tracking
  • File organization with timestamp-based naming
  • Integration with Google Workspace services

This template is perfect for content creators, educators, or anyone looking to automate story-based content creation with AI assistance.

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 Note7

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

Block 2 - When clicking ‘Execute workflow’

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

Block 3 - If3

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

Block 4 - Create folder

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

Block 5 - Json parser1

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 6 - Folder Name

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

Block 7 - Update row in sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 8 - Generate an image

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

Block 9 - Upload file

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

Block 10 - Limit

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

Block 11 - Json parser2

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 12 - Prompt converter1

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

Block 13 - Move file

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

Block 14 - If

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

Block 15 - Update Moved

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 16 - Story Creator

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

Block 17 - Json parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 18 - Append row in sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 19 - Loop Over Items

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

Block 20 - Code

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

Block 21 - Create sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 22 - Edit Fields

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

Block 23 - Append row in sheet1

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 24 - Rows in sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

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

3. Summary Table

Workflow Create emotional stories with Gemini AI: Generate images and Veo3 JSON prompts
Complexity advanced
Nodes 35
Categories Content Creation, Multimodal AI
Author Muhammad Farooq Iqbal
Published 02 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8158/8158.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 Create emotional stories with Gemini AI: Generate images and Veo3 JSON prompts do?

This n8n template demonstrates how to create an automated emotional story generation system that produces structured video prompts and generate...

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.