Create layer mixer
create_layer_mixerCombine source TOPs into a single output using crossfade or blend modes like add, difference, hardlight. Creates a mixer container with exposed controls for live adjustment.
Instructions
Build a VJ-style layer mixer: combine source TOPs into one output. Creates a new baseCOMP under parent_path. 'crossfade' makes an A/B Cross TOP with a Crossfade knob (the classic two-deck mix); any other blend mode composites the inputs (add, difference, hardlight, glow, …). Sources are pulled in via Select TOPs so they can live anywhere; with fewer than two, demo sources (noise + ramp) are created. Output is a Null ready for post-processing or setup_output. Returns a summary plus a JSON block with the container path, created node paths, the source and output paths, exposed controls, any node errors, warnings, and an inline preview image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | No | Paths of source TOPs to mix (brought in via Select TOPs, so they can live in other containers). With fewer than 2, demo sources (noise + ramp) are created so you can see it working. | |
| blend | No | 'crossfade' = an A/B Cross TOP with a Crossfade knob; any other value composites all inputs with that blend mode. | crossfade |
| expose_controls | No | When true (default), expose a live 'Crossfade' knob on the container (crossfade mode only). | |
| parent_path | No | Parent network where the mixer container is created (default '/project1'). | /project1 |