|
@@ -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',
|
|
|
];
|
|
];
|
|
|
|
|
|
|
|
// 尺寸参数
|
|
// 尺寸参数
|