capcut_set_clip
Adjust video and audio properties of a clip at a given start time on a CapCut draft track, such as scale, position, rotation, opacity, speed, volume, fades, effects, and masks. Dry-run by default.
Instructions
Change one clip (the segment at start_s on a track): video scale/position/rotation/opacity, canvas background (color or blur), blend mode, basic adjust, speed (constant), audio volume, fades and noise reduction, stabilization level, audio channel copy, shape mask, flip, crop, curves, color wheels (Pro), HSL (8 colours), voice filter (Pro). Dry-run by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Horizontal position, 1 = half the canvas width to the right. | |
| y | No | Vertical position, 1 = half the canvas height up. | |
| hsl | No | {red|orange|yellow|green|cyan|blue|purple|magenta: {hue, saturation, lightness}} CapCut UI -100..100; {red: null} removes that colour. | |
| lut | No | {path: absolute .cube/.3dl, intensity: 0-100 (default 100)}; null removes the LUT. | |
| crop | No | {left, top, right, bottom}: fraction cut from each side (0..1); null resets to the full frame. | |
| flip | No | {horizontal?: bool, vertical?: bool} (mirror). | |
| mask | No | {shape: line|mirror|circle|rectangle|star|heart, x, y (offset / half canvas, -1..1), width, height (fraction of canvas; defaults 0.28, 0.5), rotation (deg), feather, round_corner (UI 0-100), invert}. null removes. | |
| alpha | No | ||
| draft | Yes | Draft folder name inside the drafts root (from capcut_list_drafts). | |
| scale | No | 1 = fit (100%). | |
| speed | No | Constant speed; the timeline length becomes source length / speed. | |
| track | Yes | Track name (main, music, ...). | |
| adjust | No | Video basic adjust in CapCut UI values: exposure, contrast, saturation, temperature, tint, highlights, shadows, whites, blacks, brilliance, vignette (-50..50); sharpen, clarity, grain, fade (0..100). 0 removes the slider. | |
| curves | No | {luma?|red?|green?|blue?: [[x, y], ...]} 2-16 points in 0..1, x ascending, e.g. luma [[0,0],[0.58,0.73],[1,1]]; null removes. | |
| volume | No | Linear gain: 1 = 0 dB, 0.1 = -20 dB, 10 = +20 dB (CapCut max). | |
| denoise | No | CapCut 'Reducir el ruido' (local model; Pro in CapCut 9.5.0). false removes it. | |
| dry_run | No | true (default): return the plan only. false: write to disk (CapCut must be closed). | |
| start_s | Yes | Start of the segment to change. | |
| rotation | No | Degrees, clockwise. | |
| fade_in_s | No | Audio fade-in (audio clips and the sound of video clips). | |
| stabilize | No | Video stabilization: 0 off, 1 minimum crop, 2 recommended, 3 most stable (Pro in CapCut 9.5). | |
| volume_db | No | Same in dB as the CapCut volume panel; -60 or lower = mute. | |
| background | No | {type:"color", color:"#RRGGBB"} or {type:"blur", blur:0..1 (CapCut levels 0.0625, 0.375, 0.75, 1)}. | |
| blend_mode | No | ||
| fade_out_s | No | ||
| color_wheels | No | Pro. {lift?|gamma?|gain?|offset?: {red, green, blue, luma, saturation} raw -1..1, intensity 0..1}; null removes. | |
| denoise_rate | No | ||
| voice_filter | No | CapCut voice filter (Filtros de voz, Pro in 9.5.0): {resource_id, name?, strength 0..1}, e.g. 7320193577613529602 = Dulce; null removes. | |
| audio_channel | No | Copy one audio channel onto the other (CapCut 'Completar canal'). |