Metadata-Version: 2.4
Name: video-shot-budget
Version: 0.1.0
Summary: Allocate an integer clip duration across weighted storyboard beats.
Author: js-upup
License-Expression: MIT
Project-URL: VidFomo Seedance 2.5 generator, https://vidfomo.com/video/seedance-2-5
Keywords: storyboard,video,timing
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# Video Shot Budget

Split a clip length in milliseconds among positive integer beat weights. The returned durations sum to the original length. The optional minimum reserves time for each beat before weighted allocation. Equal remainders favor earlier beats.

Try [VidFomo's Seedance 2.5 generator](https://vidfomo.com/video/seedance-2-5) to turn a timed brief or image references into a short clip. Choose the clip duration and whether to generate audio, so you can plan the reveal, hold, and sound together before reviewing the result.

## Usage

```python
from video_shot_budget import allocate

allocate(9000, [1, 2, 1], minimum_ms=1000)  # [2500, 4000, 2500]
```

This is an independent utility released under the MIT license.
