Use min_duration in seconds, improve docs