See llms.txt for all machine-readable content.

Back to Templates

Generate and edit AI music videos from shot lists with Treza

Quick overview

This workflow takes a shot list, generates an AI video clip for each shot using Treza with a per-shot cost cap, then assembles the clips into a single MP4 with fade transitions and a composed music bed, returning the final video as binary data.

How it works

  1. Runs manually when you execute the workflow.
  2. Defines the shot list and video settings such as aspect ratio, clip duration, music prompt, title, and maximum cost per shot.
  3. Splits the shot list so Treza generates one video clip per shot (without audio), stopping if the quoted cost exceeds the max cost.
  4. Collects the resulting clip URLs in sequence.
  5. Uses Treza to assemble the clips with fade transitions and an AI-composed music bed, downloads the finished MP4, and outputs it in the video binary field.

Setup

  1. Install the Treza community node (@treza/n8n-nodes-treza) and add a Treza API credential with pipelines:read, pipelines:write, and pipelines:run permissions.
  2. Update the Settings values (shots, aspect ratio, clip length, max cost per shot, music prompt, and title) to match your project.
  3. Execute the workflow and route the video binary output to a destination node (for example, YouTube, Google Drive, or Slack) if you want to publish or store the MP4.

Requirements

Customization

  • Set the shape to 9:16 for Shorts and Reels, change the clip length or the music prompt, or replace the manual start with a Schedule or Google Sheets trigger to make one video a day.