lh 4 周之前
父節點
當前提交
1e2823ab99
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Http/Controllers/AIGeneration/VideoGenerationController.php

+ 2 - 2
app/Http/Controllers/AIGeneration/VideoGenerationController.php

@@ -230,8 +230,8 @@ class VideoGenerationController extends BaseController
     private function validateFrameSpecs(array $frame, string $frameName): void
     {
         // 1.图片文件最大4.7MB
-        if ($frame['size'] > 4.7 * 1024 * 1024) {
-            Utils::throwError('1003:' . $frameName . '图片大小不能超过4.7MB');
+        if ($frame['size'] > 13 * 1024 * 1024) {
+            Utils::throwError('1003:' . $frameName . '图片大小不能超过10MB');
         }
         
         // 2.图片分辨率最大: 4096*4096, 最短边不低于320