video_validate_text_layout
Validates text overlays in video projects by checking for overlap, low contrast, unsafe positioning, excessive sequential overlays, and missing shadows to prevent visual failures before rendering.
Instructions
Validate a set of text overlays for visual failure modes before rendering.
Checks for: text overlap, low contrast, unsafe positioning, excessive sequential overlays, and missing shadows.
Args: overlays: List of overlay specs with keys: text, position, size, color, shadow (optional), start_time (optional), duration (optional). video_width: Video width in pixels. video_height: Video height in pixels. background_color: Background hex color for contrast checking.
Returns: dict with warnings list and clean boolean.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overlays | Yes | ||
| video_width | No | ||
| video_height | No | ||
| background_color | No | #000000 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||