This repository was archived by the owner on Jul 17, 2026. It is now read-only.
Commit 559c70f
fix: widen video duration validation to support 4-15s range
Replace discrete duration whitelist [4,5,8,10,12,15] with range
validation (4 <= duration <= 15, integer) to support Seedance 2.0
continuous duration. Non-seedance models still clamp to their
supported values in the controller layer.1 parent 75ccca3 commit 559c70f
1 file changed
Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
| 26 | + | |
| 27 | + | |
29 | 28 | | |
30 | | - | |
31 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | | - | |
34 | | - | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
0 commit comments