|
...
|
...
|
@@ -35,7 +35,7 @@ class MidJourneyService |
|
|
|
try {
|
|
|
|
$data = ['prompt' => $content];
|
|
|
|
//回调地址
|
|
|
|
$data['callback_url'] = route('api.notify_imagine');
|
|
|
|
$data['callback_url'] = route('api.ImageCallBack');
|
|
|
|
$result = Http::withHeaders($this->header)->withoutVerifying()->post($this->url.'/v1/api/trigger/imagine', $data);
|
|
|
|
$json = $result->json();
|
|
|
|
}catch (\Throwable $e){
|
...
|
...
|
|