File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
articles/ai-services/openai Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ https://<your_resource_name>.openai.azure.com/openai/deployments/<your_deploymen
44
44
Replace the following values:
45
45
- ` <your_resource_name> ` is the name of your Azure OpenAI resource.
46
46
- ` <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 ` .
48
48
49
49
** Required headers** :
50
50
- ` Content-Type ` : ` application/json `
@@ -258,7 +258,7 @@ https://<your_resource_name>.openai.azure.com/openai/deployments/<your_deploymen
258
258
Replace the following values:
259
259
- ` <your_resource_name> ` is the name of your Azure OpenAI resource.
260
260
- ` <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 ` .
262
262
263
263
** Required headers** :
264
264
- ` Content-Type ` : ` application/json `
Original file line number Diff line number Diff line change @@ -1326,7 +1326,7 @@ Status Code: 200
1326
1326
## Image generations - Edit
1327
1327
1328
1328
``` 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
1330
1330
```
1331
1331
1332
1332
Generates an image based on an input image and text prompt instructions. Requires a GPT-image-1 model deployment
You can’t perform that action at this time.
0 commit comments