add_basic_transitions
Add fade-in or fade-out transitions to the start or end of a video. Specify the transition type and duration, then save the output with the effect applied.
Instructions
Adds basic fade transitions to the beginning or end of a video.
Args: video_path: Path to the input video file. output_video_path: Path to save the video with the transition. transition_type: Type of transition. Options: 'fade_in', 'fade_out'. duration_seconds: Duration of the fade effect in seconds. Returns: A status message indicating success or failure.
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": {
"video_path": "<video_path>",
"output_video_path": "<output_video_path>",
"transition_type": "<transition_type>",
"duration_seconds": "<duration_seconds>"
},
"name": "add_basic_transitions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_path | Yes | ||
| transition_type | Yes | ||
| duration_seconds | Yes | ||
| output_video_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |