Skip to main content

Generate multi-pass Seedance AI roto mattes with QC and Nuke handoff

Workflow preview

Workflow preview
100%
Generate multi-pass Seedance AI roto mattes with QC and Nuke handoff preview
Open on n8n.io

1. Workflow Overview

Description This workflow is an AI powered roto matte generation and first pass compositing pipeline designed for VFX production. It transforms structured roto requests into multiple high precis...

Best for

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

Tools used

n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.wait, n8n-nodes-base.if, n8n-nodes-base.slack, n8n-nodes-base.errortrigger, n8n-nodes-base.googlesheetstrigger, n8n-nodes-base.jira

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Generate multi-pass Seedance AI roto mattes with QC and Nuke handoff
Workflow name
Generate multi-pass Seedance AI roto mattes with QC and Nuke handoff

📘 Description

This workflow is an AI-powered roto matte generation and first-pass compositing pipeline designed for VFX production. It transforms structured roto requests into multiple high-precision matte passes using AI, performs automated quality evaluation, generates production-ready Nuke scripts, and delivers fully organized assets and review tasks to the team—bridging the gap between manual rotoscoping and scalable AI-assisted matte generation.

⚙️ Step-by-Step Flow

The workflow begins with a Google Sheets trigger that continuously monitors for new roto requests, acting as the intake layer for structured production data such as plate image URLs, subject descriptions, shot codes, subject type, and complexity. Once a new entry is detected, the system moves into a validation and extraction stage, where input fields are normalized, defaults are assigned, and essential attributes like sequence codes, frame ranges, QC thresholds, and project metadata are structured for downstream processing. The pipeline then performs prompt engineering and expands the request into four specialized roto passes: an alpha matte pass for clean silhouette extraction, an edge detail pass for fine hair and motion blur accuracy, a foreground isolation pass for compositing-ready subject separation, and a motion tracking reference pass enriched with tracking markers and velocity overlays. Each variation includes detailed instructions aligned with shot context and technical constraints to ensure precise AI-driven outputs.

At the core of the workflow, an image-to-video generation layer constructs structured API requests and submits each variation as an independent job to the Seedance AI model, always using the plate image as a reference for accurate subject extraction. A polling mechanism continuously monitors each job at fixed intervals, ensuring that processing proceeds only after successful completion. Once rendering is complete, a metadata and automated QC layer evaluates each pass by assigning a quality score based on resolution and predefined thresholds, classifying outputs as either AI-approved or requiring manual intervention. A decision routing layer then determines the next stage—approved passes continue through the pipeline, while failed outputs trigger immediate Slack alerts for senior artist review and manual roto assignment.

For approved outputs, the system generates a fully production-ready Nuke roto template, automatically configuring nodes for plate input, AI matte extraction, alpha application, edge refinement, and artist-level roto adjustments, along with structured EXR output paths and naming conventions. The pipeline then proceeds to asset handling, where generated videos are downloaded and distributed via email to requesters, while simultaneously creating Jira review tasks to ensure pipeline tracking and accountability. An aggregation layer consolidates all roto passes into a unified structured summary, combining QC results, video links, task references, and technical metadata. Finally, a team notification system delivers a comprehensive summary to the roto team via Telegram, including per-pass QC status, preview links, task tracking, output paths, and artist notes highlighting areas requiring refinement—ensuring seamless collaboration between AI outputs and human artists.

🚨 Error Handling

• Global error trigger across the workflow • Instant Slack alerts with failure details • Prevents silent failures and ensures pipeline reliability

🧩 Prerequisites

• Seedance API (AI video generation) • Google Sheets OAuth2 (trigger input) • Jira API (task tracking) • Gmail OAuth2 (asset delivery) • Slack OAuth2 (alerts & QC failures) • Telegram Bot (team notifications)

💡 Key Benefits

✔ Automated roto matte generation with AI-assisted precision ✔ Multiple specialized passes for production flexibility ✔ Built-in QC scoring and intelligent decision routing ✔ Auto-generated Nuke scripts with pre-configured nodes ✔ Integrated task tracking via Jira ✔ Seamless delivery via email and team notifications ✔ Scalable pipeline for high-volume roto workflows

👥 Perfect For

  • Roto and paint teams in VFX studios
  • Compositors working with Nuke pipelines
  • Film and post-production environments
  • AI-assisted rotoscoping workflows
  • Studios handling high-volume shot processing

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 - Validate & Extract Roto Brief

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

Block 2 - Fan-Out: 4 Roto Passes

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

Block 3 - Build Roto Request Body

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

Block 4 - Seedance: Generate Roto Pass

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

Block 5 - Merge Roto Job ID + Metadata

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

Block 6 - Poll: Check Roto Job Status

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

Block 7 - Wait 20s

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

Block 8 - Roto Render Complete?

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

Block 9 - Build Roto Metadata + QC Score

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

Block 10 - QC Gate: Passes Threshold?

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

Block 11 - Generate Nuke Roto Template

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

Block 12 - Download Roto Pass Video

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

Block 13 - Aggregate All Roto Passes

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

Block 14 - Slack: QC Failed — Manual Roto Required

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

Block 15 - On Workflow Error

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

Block 16 - Slack: Error Alert

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

Block 17 - Google Sheets Trigger

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

Block 18 - Jira: Create Review Task

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

Block 19 - Send a message

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

Block 20 - Send Telegram1

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

Block 21 - 📋 Overview

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

Block 22 - Section: Trigger & Validation

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

Block 23 - Section: Pass Generation & AI Render

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

Block 24 - Section: Polling & Completion

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

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

3. Summary Table

Workflow Generate multi-pass Seedance AI roto mattes with QC and Nuke handoff
Complexity advanced
Nodes 29
Categories Engineering, Multimodal AI
Author Rahul Joshi
Published 27 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14390/14390.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-pass Seedance AI roto mattes with QC and Nuke handoff do?

Description This workflow is an AI powered roto matte generation and first pass compositing pipeline designed for VFX production. It transforms structured roto requests into multiple high precis...

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 Engineering, Multimodal AI use case.