pub fn frames_for(
seconds: f32,
fps: f64,
min_seconds: f64,
max_seconds: f64,
) -> usizeExpand description
A duration in seconds → a frame count on the VAE’s 8k + 1 grid,
clamped so a misbehaving prediction cannot ask for a degenerate or
enormous generation.