Add effect
filter.addApply an effect to a clip, every clip on a track, or the whole timeline: picture effects (colour, LUT, blur, vignette, chroma key, glitch, denoise and more) on video, sound effects (EQ, compressor, noise_reduction, voice_denoise, pitch and more) on audio. Order matters: effects run in the order added (a track's before a clip's own). Picture numbers take keyframes, except glitch, denoise and chroma_key tolerance; sound params are constants. A wrong name or param is refused with the full list, ranges, units and defaults (also at video://catalog/effects); timeline.get shows every param applied. Returns its id as clip_id. Returns the edit result (see the server instructions).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| params | No | The effect's own params; any left out take their defaults. A wrong one is refused with the effect's params, ranges, units and defaults | |
| clip_id | No | Apply to one clip (or an adjustment clip) | |
| preview | No | inline: image in the result; link: URI that renders on read; none | link |
| timeline | No | Or true for the whole picture or mix | |
| track_id | No | Or to every clip on a track | |
| timeline_id | Yes | Timeline handle; every edit returns a new one |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent | Yes | Timeline handle; every edit returns a new one | |
| changed | Yes | ||
| clip_id | No | ||
| preview | Yes | ||
| clip_ids | No | ||
| track_id | No | ||
| warnings | Yes | ||
| timeline_id | Yes | Timeline handle; every edit returns a new one |