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
- Runs manually when you execute the workflow.
- Defines the shot list and video settings such as aspect ratio, clip duration, music prompt, title, and maximum cost per shot.
- Splits the shot list so Treza generates one video clip per shot (without audio), stopping if the quoted cost exceeds the max cost.
- Collects the resulting clip URLs in sequence.
- 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
- Install the Treza community node (
@treza/n8n-nodes-treza) and add a Treza API credential with pipelines:read, pipelines:write, and pipelines:run permissions.
- Update the Settings values (shots, aspect ratio, clip length, max cost per shot, music prompt, and title) to match your project.
- 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.