lh hace 3 semanas
padre
commit
404f6f155c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/Services/AIGeneration/AIImageGenerationService.php

+ 1 - 0
app/Services/AIGeneration/AIImageGenerationService.php

@@ -291,6 +291,7 @@ class AIImageGenerationService
                     'prompt' => $task->prompt,
                     'prompt' => $task->prompt,
                     'model' => 'gpt-image-2',
                     'model' => 'gpt-image-2',
                     'n' => (int)$task->image_num,
                     'n' => (int)$task->image_num,
+                    'response_format' => 'url',
                 ];
                 ];
                 
                 
                 // 尺寸参数
                 // 尺寸参数