hit-cxf
2026-06-02 bb0986daef8db477d90c598ffefe1890715e28f7
video-claw/video-claw/backend/pipelines/api_media.py
@@ -37,7 +37,7 @@
        return min(max(int(duration), int(contract.get("min", duration))), int(contract.get("max", duration)))
    if provider == "dashscope":
        return 10 if duration >= 8 else 5
    if provider == "seedance":
    if provider == "seedance" or "seedance" in (model or "").lower():
        return min(max(duration, 5), 10)
    return max(duration, 1)