get_suitable_audio
Find audio tracks that sync with video transitions by calculating precise drop timing based on hook duration and total video length.
Instructions
Find audio tracks suitable for a video project based on timing requirements. Returns audios where the drop point occurs after the hook ends and the audio is long enough to cover the entire video. Calculates exact audio positioning so the drop hits at the transition point. Use this when creating projects that need audio synced to clip transitions.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hook_duration_sec | Yes | Hook duration in seconds (e.g., 4.2). The audio drop must occur after this time. | |
| total_duration_sec | Yes | Total video duration in seconds (e.g., 6.4). The audio must be at least this long. | |
| prefer_closest | No | If true, prefer audio with drop time closest to hook duration (default: false, picks randomly) |