video_layout_grid
Arrange multiple videos in a grid pattern with adjustable gaps, padding, and background color. Supports layouts such as 2x2, 3x1, 1x3, 2x3.
Instructions
Create grid-based multi-video layout.
Arranges multiple videos in a grid pattern (2x2, 3x1, etc.).
Args: clips: List of absolute paths to video files. layout: Grid layout (2x2, 3x1, 1x3, 2x3). output_path: Absolute path for output video. gap: Pixels between clips. Default 10. padding: Padding around grid. Default 20. background: Background color hex. Default #141414.
Returns: Dict with success status and output_path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clips | Yes | ||
| layout | Yes | ||
| output_path | Yes | ||
| gap | No | ||
| padding | No | ||
| background | No | #141414 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||