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
4444Replace 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
258258Replace 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 `
Original file line number Diff line number Diff 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
13321332Generates 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