Fade clip in
fade_in_clipFades a clip in from transparent by creating opacity keyframes over a set duration, replacing only in-range keyframes while preserving existing fades.
Instructions
Fade a video clip in from transparent: opacity keyframes 0% at the clip's first frame and the clip's current opacity (or to) after duration seconds. Existing opacity keyframes inside that range are replaced; others (e.g. a fade-out) are kept. For a dissolve between two clips use the transitions tools. Returns the opacity keyframes.
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": {
"duration": "<duration>"
},
"name": "fade_in_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Opacity reached at the end of the fade, percent. Default: the clip's current static opacity (100 if it is keyframed). | |
| clip_id | No | Stable clip id (from get_sequence_structure / list_clips). Preferred. | |
| duration | Yes | Fade length in seconds (clipped to the clip's duration). | |
| 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. |