safe_zones
Return horizontal 'safe band' y-ranges of the canvas where a clip's burned-in video text (subtitles, lower thirds, titles) does NOT appear, plus the inverse 'text bands' (where it does). Reads the OCR cache built at clip-upload time (see detect_text_regions). Coordinates returned in BOTH source pixels and CANVAS pixels — canvas coords already account for the video layer's fit/anchor/position. Use to lay out captions, titles, callouts so they never collide with the video's own text. Returns { ok: true, status: 'ready' | 'not-ready', data: { bands, safeBands, textBands } }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip | Yes | Clip filename (video.<id>.clip). | |
| projectId | Yes | ||
| bandHeight | No | Vertical granularity in source pixels (default 32). | |
| minConfidence | No | OCR confidence floor (0–100) for considering a text region (default 70). | |
| occupancyThreshold | No | Fraction of frames that must contain text in a band to mark it occupied (default 0.10). |