Set clip opacity
set_clip_opacitySets a video clip's opacity percentage from 0 (invisible) to 100 (opaque), removes existing keyframes so the value applies to the whole clip, and returns its transform.
Instructions
Set a video clip's Opacity in percent (0 = invisible, 100 = opaque). A parameter that is keyframed gets its keyframes removed first, so the new value holds for the whole clip. Use fade_in_clip / fade_out_clip for fades. Returns the clip's transform.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"opacity": "<opacity>"
},
"name": "set_clip_opacity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip_id | No | Stable clip id (from get_sequence_structure / list_clips). Preferred. | |
| opacity | Yes | Opacity in percent. | |
| clip_index | No | 0-based index of the clip in its track's clip list, as reported by list_clips / get_sequence_structure. Usually time order, but a moved clip can keep its old index, and indices shift after edits: prefer clip_id. | |
| track_type | No | Used with track_index + clip_index when clip_id is not given. Default "video". | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| track_index | No | 0-based track index (0 = V1 or A1). | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. |