Add Visual Effect to CapCut Draft
capcut_add_effectAdd a visual effect or filter to an existing CapCut draft over a specified time range, with adjustable parameters for precise effect control.
Instructions
Apply a visual effect or filter to an existing draft over a given time range.
Args:
draft_id (string, required): From capcut_create_draft.
effect_type (string, required): Effect/filter identifier.
start (number, seconds), end or duration: Time range the effect is active.
params (number[]): Effect-specific numeric parameters, in the order VectCutAPI's effect definition expects (varies by effect_type); use null for an item to fall back to its default.
extra_params: Any additional VectCutAPI field not modeled above.
Returns: JSON confirming the effect was added.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End time in seconds within the timeline. | |
| start | No | Start time in seconds within the timeline. | |
| params | No | Effect-specific numeric parameters, in the order VectCutAPI's effect definition expects (varies by effect_type). Use null for an item to fall back to its default value. Defaults to an empty array (all defaults) rather than being omitted — the VectCutAPI backend crashes if this field is absent. | |
| draft_id | Yes | The draft_id returned by capcut_create_draft. | |
| duration | No | Effect duration in seconds, as an alternative to start/end. | |
| effect_type | Yes | Name/ID of the effect to apply (e.g. a filter or visual effect identifier). | |
| extra_params | No | Optional passthrough for advanced/undocumented VectCutAPI fields not modeled explicitly above (e.g. nested transform/animation objects). Merged directly into the request body. Check the VectCutAPI example.py / API docs if you need a field that isn't listed here. |