Skip to content

Commit 8607a5f

Browse files
committed
review edits
1 parent 8a182c7 commit 8607a5f

File tree

4 files changed

+29
-23
lines changed

4 files changed

+29
-23
lines changed

articles/ai-services/openai/dall-e-quickstart.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: 'Quickstart - Generate an image with Azure OpenAI Service'
2+
title: 'Quickstart: Generate images with Azure OpenAI Service'
33
titleSuffix: Azure OpenAI
4-
description: Learn how to get started with Azure OpenAI and make your first image generation call.
4+
description: Learn how to get started generating images with Azure OpenAI Service by using the Python SDK, the REST APIs, or Azure OpenAI Studio.
55
services: cognitive-services
66
manager: nitinme
77
ms.service: cognitive-services
@@ -14,7 +14,7 @@ ms.date: 08/08/2023
1414
zone_pivot_groups: openai-quickstart-dall-e
1515
---
1616

17-
# Quickstart: Get started generating images with Azure OpenAI Service
17+
# Quickstart: Generate images with Azure OpenAI Service
1818

1919

2020
::: zone pivot="programming-language-studio"

articles/ai-services/openai/includes/dall-e-python.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: 'Quickstart: Use Azure OpenAI Service image generation with the Python SDK'
2+
title: 'Quickstart: Generate images with the Python SDK for Azure OpenAI Service'
33
titleSuffix: Azure OpenAI Service
4-
description: Learn how to get started with Azure OpenAI image generation by using the Python SDK.
4+
description: Learn how to generate images with Azure OpenAI Service by using the Python SDK and the endpoint and access keys for your Azure OpenAI resource.
55
services: cognitive-services
66
manager: nitinme
77
ms.service: cognitive-services
@@ -20,10 +20,12 @@ Use this guide to get started calling the Azure OpenAI Service image generation
2020

2121
- An Azure subscription. You can [create a free account](https://azure.microsoft.com/free/cognitive-services).
2222
- Access granted to DALL-E in the desired Azure subscription.
23-
Currently, you must submit an application to access Azure OpenAI Service. To apply for access, complete [this form](https://aka.ms/oai/access). Existing Azure OpenAI customers need to resubmit the form to receive access to DALL-E. If you need assistance, open an issue on this repo to contact Microsoft.
2423
- [Python 3.7.1 or later version](https://www.python.org/).
25-
- The following Python libraries: os, requests, json.
26-
- An Azure OpenAI resource created in the East US region. For more information about model deployment, see the [resource deployment guide](../how-to/create-resource.md).
24+
- The following Python libraries: `os`, `requests`, `json`.
25+
- An Azure OpenAI resource created in the East US region. For more information, see [Create a resource and deploy a model with Azure OpenAI](../how-to/create-resource.md).
26+
27+
> [!NOTE]
28+
> Currently, you must submit an application to access Azure OpenAI Service. To apply for access, complete [this form](https://aka.ms/oai/access). Existing Azure OpenAI customers need to resubmit the form to receive access to DALL-E. If you need assistance, open an issue on this repo to contact Microsoft.
2729
2830
## Retrieve key and endpoint
2931

@@ -115,7 +117,7 @@ Create a new Python file named **quickstart.py**. Open the new file in your pref
115117

116118
Azure OpenAI stores the output image in the **generated_image.png** file in your specified directory. The script also displays the image in your default image viewer.
117119

118-
The image generation APIs come with a content moderation filter. If the service recognizes your prompt as harmful content, it doesn't generate an image. For more information, see the [content filter](../concepts/content-filter.md) article.
120+
The image generation APIs come with a content moderation filter. If the service recognizes your prompt as harmful content, it doesn't generate an image. For more information, see [Content filtering](../concepts/content-filter.md).
119121

120122
## Clean up resources
121123

articles/ai-services/openai/includes/dall-e-rest.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: 'Quickstart: Use the Azure OpenAI Service image generation REST APIs'
2+
title: 'Quickstart: Generate images with the REST APIs for Azure OpenAI Service'
33
titleSuffix: Azure OpenAI Service
4-
description: Learn how to get started with Azure OpenAI image generation with the REST API.
4+
description: Learn how to generate images with Azure OpenAI Service by using the REST APIs and the endpoint and access keys for your Azure OpenAI resource.
55
services: cognitive-services
66
manager: nitinme
77
ms.service: cognitive-services
@@ -20,10 +20,12 @@ Use this guide to get started calling the Azure OpenAI Service image generation
2020

2121
- An Azure subscription. You can [create a free account](https://azure.microsoft.com/free/cognitive-services).
2222
- Access granted to DALL-E in the desired Azure subscription.
23-
Currently, you must submit an application to access Azure OpenAI Service. To apply for access, complete [this form](https://aka.ms/oai/access). Existing Azure OpenAI customers need to resubmit the form to receive access to DALL-E. If you need assistance, open an issue on this repo to contact Microsoft.
2423
- [Python 3.7.1 or later version](https://www.python.org/).
25-
- The following Python libraries: os, requests, json.
26-
- An Azure OpenAI resource created in the East US region. For more information about model deployment, see the [resource deployment guide](../how-to/create-resource.md).
24+
- The following Python libraries: `os`, `requests`, `json`.
25+
- An Azure OpenAI resource created in the East US region. For more information, see [Create a resource and deploy a model with Azure OpenAI](../how-to/create-resource.md).
26+
27+
> [!NOTE]
28+
> Currently, you must submit an application to access Azure OpenAI Service. To apply for access, complete [this form](https://aka.ms/oai/access). Existing Azure OpenAI customers need to resubmit the form to receive access to DALL-E. If you need assistance, open an issue on this repo to contact Microsoft.
2729
2830
## Retrieve key and endpoint
2931

@@ -111,7 +113,7 @@ The output from a successful image generation API call looks like the following
111113
}
112114
```
113115

114-
The image generation APIs come with a content moderation filter. If the service recognizes your prompt as harmful content, it doesn't generate an image. For more information, see the [content filter](../concepts/content-filter.md) article.
116+
The image generation APIs come with a content moderation filter. If the service recognizes your prompt as harmful content, it doesn't generate an image. For more information, see [Content filtering](../concepts/content-filter.md).
115117

116118
The system returns an operation status of `Failed` and the `error.code` value in the message is set to `contentFilter`. Here's an example:
117119

articles/ai-services/openai/includes/dall-e-studio.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: 'Quickstart: Use Azure OpenAI Service image generation in Azure OpenAI Studio'
2+
title: 'Quickstart: Generate images with Azure OpenAI Service and Azure OpenAI Studio'
33
titleSuffix: Azure OpenAI
4-
description: Learn how to get started with Azure OpenAI image generation in Azure OpenAI Studio.
4+
description: Learn how to generate images with Azure OpenAI Service in the DALL-E playground (Preview) in Azure OpenAI Studio.
55
services: cognitive-services
66
manager: nitinme
77
ms.service: cognitive-services
@@ -20,8 +20,10 @@ Use this guide to get started generating images with Azure OpenAI in your browse
2020

2121
- An Azure subscription. You can [create a free account](https://azure.microsoft.com/free/cognitive-services).
2222
- Access granted to DALL-E in the desired Azure subscription.
23-
Currently, you must submit an application to access Azure OpenAI Service. To apply for access, complete [this form](https://aka.ms/oai/access). Existing Azure OpenAI customers need to resubmit the form to receive access to DALL-E. If you need assistance, open an issue on this repo to contact Microsoft.
24-
- An Azure OpenAI resource created in the East US region. For more information about model deployment, see the [resource deployment guide](../how-to/create-resource.md).
23+
- An Azure OpenAI resource created in the East US region. For more information, see [Create a resource and deploy a model with Azure OpenAI](../how-to/create-resource.md).
24+
25+
> [!NOTE]
26+
> Currently, you must submit an application to access Azure OpenAI Service. To apply for access, complete [this form](https://aka.ms/oai/access). Existing Azure OpenAI customers need to resubmit the form to receive access to DALL-E. If you need assistance, open an issue on this repo to contact Microsoft.
2527
2628
## Go to Azure OpenAI Studio
2729

@@ -31,14 +33,14 @@ From the Azure OpenAI Studio landing page, select **DALL·E playground (Preview)
3133

3234
## Try out image generation
3335

34-
Start exploring Azure OpenAI capabilities with a no-code approach through the DALL·E (Preview) playground. Enter your image prompt into the text box and select **Generate**. When the AI-generated image is ready, it appears on the page.
36+
Start exploring Azure OpenAI capabilities with a no-code approach through the **DALL·E playground (Preview)**. Enter your image prompt into the text box and select **Generate**. When the AI-generated image is ready, it appears on the page.
3537

3638
> [!NOTE]
37-
> The image generation APIs come with a content moderation filter. If Azure OpenAI recognizes your prompt as harmful content, it doesn't return a generated image. For more information, see the [content filter](../concepts/content-filter.md) guide.
39+
> The image generation APIs come with a content moderation filter. If Azure OpenAI recognizes your prompt as harmful content, it doesn't return a generated image. For more information, see [Content filtering](../concepts/content-filter.md).
3840
39-
:::image type="content" source="../media/quickstarts/dall-e-studio.png" alt-text="Screenshot of the Azure OpenAI Studio landing page showing the DALL·E (Preview) playground with generated images of polar bears." lightbox="../media/quickstarts/dall-e-studio.png":::
41+
:::image type="content" source="../media/quickstarts/dall-e-studio.png" alt-text="Screenshot of the Azure OpenAI Studio landing page showing the DALL-E playground (Preview) with generated images of polar bears." lightbox="../media/quickstarts/dall-e-studio.png":::
4042

41-
In the DALL·E (Preview) playground, you can also view Python and cURL code samples, which are prefilled according to your settings. Select **View code** near the top of the page. You can use this code to write an application that completes the same task.
43+
In the **DALL·E playground (Preview)**, you can also view Python and cURL code samples, which are prefilled according to your settings. Select **View code** near the top of the page. You can use this code to write an application that completes the same task.
4244

4345
## Clean up resources
4446

0 commit comments

Comments
 (0)