video_filter
Apply visual filters to videos including blur, color presets, and adjustments like brightness, grayscale, or vignette. Supports various filter parameters and encoding options.
Instructions
Apply a visual filter to a video.
Common presets: - blur: params={"radius": 5, "strength": 1} - color_preset: params={"preset": "warm"} (warm, cool, vintage, cinematic, noir)
Args: input_path: Absolute path to the input video. filter_type: Filter type (blur, sharpen, brightness, contrast, saturation," " grayscale, sepia, invert, vignette, color_preset, denoise," " deinterlace, ken_burns, reverb, compressor, pitch_shift," " noise_reduction). params: Optional filter parameters (e.g. radius for blur, preset for color_preset). output_path: Where to save the output. Auto-generated if omitted. crf: Override CRF value (0-51, lower = better quality). Default 23. preset: Override FFmpeg encoding preset (ultrafast, fast, medium, slow, veryslow).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes | ||
| filter_type | Yes | ||
| params | No | ||
| output_path | No | ||
| crf | No | ||
| preset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||