#API dall-3-e returns an error

1 messages · Page 1 of 1 (latest)

mortal falcon
#

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;

}

proven yoke
#

"We’ll begin rolling out new features to OpenAI customers starting at 1pm PT today."