fix: 同步串联生产视频参数与数量限制

This commit is contained in:
GJ committed 2026-10-10 13:08:11 +08:00
1 parent a85a740cd5
commit 112ff719ce
6 files changed
+68 -9

No files matched your search

@@ -52,6 +52,8 @@ describe('生产后端真实请求契约', () => {
it('拒绝反向阶段、零值和非整数,支持主体图片结束阶段', () => {
expect(validateProductionScope({ startFrom: 'videoPrompts', stopAfter: 'subjectImages' })).toContain('结束阶段')
expect(validateProductionScope({ subjectImageLimit: 0 })).toContain('整数')
expect(validateProductionScope({ videoLimit: 0 })).toContain('整数')
expect(validateProductionScope({ videoLimit: 1.5 })).toContain('整数')
expect(validateProductionScope({ stableIdentityAnchorLimit: 1.5 })).toContain('整数')
expect(
validateProductionScope({ startFrom: 'subjectImages', stopAfter: 'subjectImages', videoPromptLimit: 1 })