MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.2k stars 21.34k forks source link

DALL-E 2 API documentation removed #123705

Open biggianteye opened 1 month ago

biggianteye commented 1 month ago

Hi there,

I have been using the API documentation for DALL-E 2 that was given here: https://learn.microsoft.com/en-us/azure/ai-services/openai/reference Today I can see that it is no longer there and now only displays the standard request/response approach used by DALL-E 3. DALL-E 2 uses a very different request + poll approach.

I can see that the documentation was deleted in a commit on 9th July (2 days ago at the time of writing). It's not clear why this was removed.

Here are some of the sections on the page that used to exist:

### Request a generated image (DALL-E 2 preview)
### Get a generated image result (DALL-E 2 preview)
### Delete a generated image from the server (DALL-E 2 preview)

Is there some alternative documentation available for DALL-E 2? The bit I am specifically interested in is this section on possible values for status in the poll response. I can't see this mentioned anywhere else:

Example response

Upon success the operation returns a 200 status code and an OperationResponse JSON object. The status field can be "notRunning" (task is queued but hasn't started yet), "running", "succeeded", "canceled" (task has timed out), "failed", or "deleted". A succeeded status indicates that the generated image is available for download at the given URL. If multiple images were generated, their URLs are all returned in the result.data field.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

PesalaPavan commented 1 month ago

@biggianteye Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.