|
|
@@ -2397,7 +2397,7 @@ class AnimeService
|
|
|
// 轮询查询任务状态(火山API和即梦AI都需要轮询)
|
|
|
$start_count = 0;
|
|
|
$img_url = '';
|
|
|
- while ($start_count <= 20) { // 循环20次请求,每3s一次
|
|
|
+ while ($start_count <= 60) { // 循环20次请求,每3s一次
|
|
|
sleep(3);
|
|
|
|
|
|
$task = MpGeneratePicTask::where('id', $task_id)->first();
|
|
|
@@ -2412,6 +2412,8 @@ class AnimeService
|
|
|
if ($task->status === 'failed') {
|
|
|
return '';
|
|
|
}
|
|
|
+
|
|
|
+ if ($isVolcModel) continue;
|
|
|
|
|
|
// 查询任务状态
|
|
|
$statusInfo = $this->aiImageGenerationService->queryTaskStatus($task);
|