Skip to main content

Generate multi-scene AI videos from scripts with Claude, Stability AI and Runway

Workflow preview

Workflow preview
100%
Generate multi-scene AI videos from scripts with Claude, Stability AI and Runway preview
Open on n8n.io

1. Workflow Overview

This workflow is a fully automated AI video production pipeline. It accepts a raw script or topic via webhook, uses Claude AI to break the script into optimized video scenes, generates AI images fo...

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.webhook, n8n-nodes-base.set, n8n-nodes-base.if, n8n-nodes-base.respondtowebhook, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.splitinbatches

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Oneclick AI Squad.

Original n8n.io source

1.1 Workflow description

Title
Generate multi-scene AI videos from scripts with Claude, Stability AI and Runway
Workflow name
Generate multi-scene AI videos from scripts with Claude, Stability AI and Runway

This workflow is a fully automated AI video production pipeline. It accepts a raw script or topic via webhook, uses Claude AI to break the script into optimized video scenes, generates AI images for each scene using Stability AI, submits each scene to Runway Gen-3 Alpha for video generation, polls until all videos are ready, stitches metadata together, and delivers the final video package — all without any manual editing or human intervention.

Designed for content creators, marketing agencies, social media teams, and SaaS platforms that need to produce consistent, high-quality AI video content at scale.


What's the Goal?

To eliminate the bottleneck between having a script and having a publishable video. Traditional video production takes days and thousands of dollars. This workflow produces a multi-scene AI video package in under 15 minutes for a fraction of the cost.

Specific goals:

  • Convert any text script into scene-by-scene video clips automatically
  • Maintain visual consistency across all scenes using structured prompts
  • Support multiple video styles: cinematic, documentary, social media, explainer
  • Deliver ready-to-publish video assets with no manual editing required
  • Log every job for billing, audit, and quality tracking

Why Does It Matter?

Video is the highest-performing content format across every platform — but it has always required expensive equipment, editors, and time. Runway Gen-3 and other generative video tools have changed that. This workflow makes AI video production:

  • Accessible: no video editing skills needed
  • Scalable: generate 10 or 1000 videos with the same workflow
  • Fast: full video package ready in 10-20 minutes
  • Consistent: same quality every time, no human error
  • Profitable: agencies can charge $200-$2000 per video package this workflow produces in minutes

How It Works

Stage 1 — Script Intake and Validation Webhook receives the script payload. Set node stores all API credentials and job config. IF node validates that a script or topic is present before any API calls are made.

Stage 2 — Scene Breakdown with Claude AI Claude AI reads the full script and breaks it into 4-6 structured scenes. For each scene it writes: a visual description, a Runway video prompt, a Stability AI image prompt, camera movement instructions, mood and color palette, and estimated duration. Output is clean JSON.

Stage 3 — Scene Processing Loop SplitInBatches node processes each scene one at a time. For each scene, a Code node formats the exact prompts needed for both image and video generation.

Stage 4 — Image Generation (Stability AI) Stability AI generates a reference frame image for the current scene. This image is used as the visual anchor for Runway video generation, ensuring frame consistency.

Stage 5 — Runway Video Generation The scene prompt and reference image are submitted to Runway Gen-3 Alpha Turbo API. Runway returns a task ID immediately. A Wait node pauses 30 seconds, then a Poll node checks job status. If not ready, it loops back and waits again. When complete, the video URL is captured.

Stage 6 — Collect and Package Results After all scenes are processed, a Code node assembles the complete video package: all scene video URLs, metadata, prompts used, durations, and delivery info.

Stage 7 — Delivery and Logging Slack notification with job summary and video links. SendGrid email with full delivery report. Google Sheets audit log entry. Webhook returns complete JSON with all video URLs and metadata.


Configuration Requirements

  • ANTHROPIC_API_KEY — Claude AI for script-to-scene breakdown (claude-sonnet-4-20250514)
  • RUNWAY_API_KEY — Runway Gen-3 Alpha video generation (runwayml.com)
  • STABILITY_API_KEY — Stability AI SDXL image generation (stability.ai)
  • SENDGRID_API_KEY — Email delivery of final report
  • SLACK_WEBHOOK_URL — Slack notifications on completion
  • GOOGLE_SHEET_ID — Job audit log and video URL tracking

Setup Guide

Step 1: Import this workflow into your n8n instance Step 2: Open the Set Credentials and Config node Step 3: Replace all YOUR_XXX_KEY placeholders with your real API keys Step 4: Set your GOOGLE_SHEET_ID in the Log Job to Sheets node Step 5: Set your SLACK_WEBHOOK_URL in the Set node Step 6: Activate the workflow and POST to /webhook/runway-video

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 - Main Overview

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

Block 2 - Stage 1 Note

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

Block 3 - Stage 2 Note

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

Block 4 - Stage 3 Note

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

Block 5 - Stage 4 Note

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

Block 6 - Stage 5 Note

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

Block 7 - Receive Script

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

Block 8 - Set Credentials and Config

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

Block 9 - Validate Script

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

Block 10 - Return Validation Error

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

Block 11 - Claude Scene Planner

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

Block 12 - Parse Scenes JSON

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

Block 13 - Split Scenes Into Batches

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

Block 14 - Format Scene Prompts

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

Block 15 - Generate Scene Image Stability

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

Block 16 - Extract Image Data

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

Block 17 - Submit to Runway Gen3

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

Block 18 - Store Runway Task ID

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

Block 19 - Wait 30 Seconds

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

Block 20 - Poll Runway Job Status

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

Block 21 - Check Job Complete

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

Block 22 - Is Video Ready

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

Block 23 - Collect Completed Scene

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

Block 24 - Assemble Video Package

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

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

3. Summary Table

Workflow Generate multi-scene AI videos from scripts with Claude, Stability AI and Runway
Complexity advanced
Nodes 28
Categories Content Creation, Multimodal AI
Author Oneclick AI Squad
Published 02 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13807/13807.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 multi-scene AI videos from scripts with Claude, Stability AI and Runway do?

This workflow is a fully automated AI video production pipeline. It accepts a raw script or topic via webhook, uses Claude AI to break the script into optimized video scenes, generates AI images fo...

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.