In my app I'm trying to generate an image with dall-e-3 but it always gives me an error "The model "dall-e-3" does not exist. Anyone else has this issue?
I'm also providing code that I'm using if it helps.
Btw: dall-e-2 works just fine.
public function generate_image($image_prompt)
{
$data = [
'model' => "dall-e-3",
'prompt' => $image_prompt,
'n' => 1,
'size' => "1024x1024",
];
$complete = $this->makeCurlRequest('https://api.openai.com/v1/images/generations', $data);
$response = json_decode($complete, true);
$response_image = $response["data"][0]["url"];
return $response_image;
}