Generate Image

POST https://api.openai.com/v1/images/generations

Request Body

{"model"=>"dall-e-3", "prompt"=>"A cute baby sea otter", "n"=>1, "size"=>"1024x1024"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring