Skip to content

Commit b7e4ccc

Browse files
committed
update api version
1 parent 6533cae commit b7e4ccc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

articles/ai-services/openai/how-to/dall-e.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ https://<your_resource_name>.openai.azure.com/openai/deployments/<your_deploymen
4444
Replace the following values:
4545
- `<your_resource_name>` is the name of your Azure OpenAI resource.
4646
- `<your_deployment_name>` is the name of your DALL-E 3 or GPT-image-1 model deployment.
47-
- `<api_version>` is the version of the API you want to use. For example, `2025-04-15`.
47+
- `<api_version>` is the version of the API you want to use. For example, `2025-04-01-preview`.
4848

4949
**Required headers**:
5050
- `Content-Type`: `application/json`
@@ -258,7 +258,7 @@ https://<your_resource_name>.openai.azure.com/openai/deployments/<your_deploymen
258258
Replace the following values:
259259
- `<your_resource_name>` is the name of your Azure OpenAI resource.
260260
- `<your_deployment_name>` is the name of your DALL-E 3 or GPT-image-1 model deployment.
261-
- `<api_version>` is the version of the API you want to use. For example, `2025-04-15`.
261+
- `<api_version>` is the version of the API you want to use. For example, `2025-04-01-preview`.
262262

263263
**Required headers**:
264264
- `Content-Type`: `application/json`

articles/ai-services/openai/includes/api-versions/latest-inference-preview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1326,7 +1326,7 @@ Status Code: 200
13261326
## Image generations - Edit
13271327

13281328
```HTTP
1329-
POST https://{endpoint}/openai/deployments/{deployment-id}/images/edits?api-version=2025-04-15
1329+
POST https://{endpoint}/openai/deployments/{deployment-id}/images/edits?api-version=2025-04-01-preview
13301330
```
13311331

13321332
Generates an image based on an input image and text prompt instructions. Requires a GPT-image-1 model deployment

0 commit comments

Comments
 (0)