Create layer stack (N-layer compositor)
create_layer_stackBuild a multi-layer compositor with per-layer blend modes, opacity, mute, and solo controls. Stack 2–8 layers bottom-up and output a live control strip with a preview image.
Instructions
Build a VJ-style N-layer compositor: stack 2–8 source TOPs and composite them bottom-up, each layer with its own blend mode (over/add/multiply/screen/difference/lighten/darken) and opacity. Each layer is a Select TOP (or a built-in test source when omitted) → a Level TOP carrying opacity; layers above the base each get their own 2-input Composite TOP so blend modes are per-layer. Exposes a live control strip — per layer: Opacity (0–1), Blend (menu), Mute, Solo — and ends on a Null ready for post-processing or setup_output. Pass layers (bottom-first) for an explicit stack, or omit it to build count empty test layers. Returns a summary plus a JSON block with the container path, per-layer node paths, the output Null, exposed controls, node errors, warnings, and an inline preview image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the compositor COMP. | layer_stack |
| parent_path | No | Where to build it. | /project1 |
| layers | No | Explicit layer stack (bottom-first). Omit to build `count` empty test layers. | |
| count | No | Number of layers when `layers` is omitted. | |
| resolution | No | Output resolution [w,h]. |