Add fade in/out
add_fadeAdd a fade-in from black at the beginning and/or a fade-out to black at the end of a video, with configurable durations for video and audio.
Instructions
Fade the video (and its audio) in from black at the start and/or out to black at the end.
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": {
"input_path": "<input_path>"
},
"name": "add_fade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fade_in | No | Fade-in duration in seconds | |
| fade_out | No | Fade-out duration in seconds | |
| input_path | Yes | Path to the source video | |
| output_path | No | Where to write the result |