make_gif
Convert video clips to GIF format by specifying start time and duration. Extract segments from videos to create animated GIFs for sharing or display.
Instructions
Make gif using video path provided by user.
Args: input_video_path (str): Path to the source video file. start_timestamp (float, optional): Start time in seconds. Defaults to 0.0. duration (float, optional): Clip length in seconds. Defaults to 4.0.
Returns: str: Path to the generated clip, or an exception message string on 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": {
"input_video_path": "<input_video_path>"
},
"name": "make_gif"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_video_path | Yes | ||
| start_timestamp | No | ||
| duration | No |