Skip to content

Commit 0a6bd31

Browse files
2 parents a6c75aa + 7ca4b64 commit 0a6bd31

27 files changed

Lines changed: 134 additions & 134 deletions

.github/workflows/deploy-orchestrator.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ on:
6262
required: true
6363
type: string
6464
image_model_choice:
65-
description: 'Image model to deploy (gpt-image-1, gpt-image-1.5, none)'
65+
description: 'Image model to deploy (gpt-image-1-mini, gpt-image-1.5, none)'
6666
required: false
67-
default: 'gpt-image-1'
67+
default: 'gpt-image-1-mini'
6868
type: string
6969

7070
env:

.github/workflows/deploy-v2.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ on:
103103
image_model_choice:
104104
description: 'Image Model to Deploy'
105105
required: false
106-
default: 'gpt-image-1'
106+
default: 'gpt-image-1-mini'
107107
type: choice
108108
options:
109-
- 'gpt-image-1'
109+
- 'gpt-image-1-mini'
110110
- 'gpt-image-1.5'
111111
- 'none'
112112

@@ -307,8 +307,8 @@ jobs:
307307
echo "existing_webapp_url=$INPUT_EXISTING_WEBAPP_URL" >> $GITHUB_OUTPUT
308308
309309
# Validate and output image_model_choice
310-
IMAGE_MODEL="${INPUT_IMAGE_MODEL_CHOICE:-gpt-image-1}"
311-
ALLOWED_MODELS=("gpt-image-1" "gpt-image-1.5" "none")
310+
IMAGE_MODEL="${INPUT_IMAGE_MODEL_CHOICE:-gpt-image-1-mini}"
311+
ALLOWED_MODELS=("gpt-image-1-mini" "gpt-image-1.5" "none")
312312
if [[ ! " ${ALLOWED_MODELS[@]} " =~ " ${IMAGE_MODEL} " ]]; then
313313
echo "❌ ERROR: image_model_choice '$IMAGE_MODEL' is invalid. Allowed: ${ALLOWED_MODELS[*]}"
314314
exit 1
@@ -333,5 +333,5 @@ jobs:
333333
AZURE_EXISTING_AI_PROJECT_RESOURCE_ID: ${{ needs.validate-inputs.outputs.azure_existing_ai_project_resource_id || '' }}
334334
existing_webapp_url: ${{ needs.validate-inputs.outputs.existing_webapp_url || '' }}
335335
trigger_type: ${{ github.event_name }}
336-
image_model_choice: ${{ needs.validate-inputs.outputs.image_model_choice || 'gpt-image-1' }}
336+
image_model_choice: ${{ needs.validate-inputs.outputs.image_model_choice || 'gpt-image-1-mini' }}
337337
secrets: inherit

.github/workflows/job-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ on:
6767
default: ''
6868
type: string
6969
image_model_choice:
70-
description: 'Image model to deploy (gpt-image-1, gpt-image-1.5, none)'
70+
description: 'Image model to deploy (gpt-image-1-mini, gpt-image-1.5, none)'
7171
required: false
72-
default: 'gpt-image-1'
72+
default: 'gpt-image-1-mini'
7373
type: string
7474
outputs:
7575
RESOURCE_GROUP_NAME:
@@ -334,7 +334,7 @@ jobs:
334334
env:
335335
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
336336
GPT_MIN_CAPACITY: ${{ env.GPT_MIN_CAPACITY }}
337-
IMAGE_MODEL_CHOICE: ${{ inputs.image_model_choice || 'gpt-image-1' }}
337+
IMAGE_MODEL_CHOICE: ${{ inputs.image_model_choice || 'gpt-image-1-mini' }}
338338
IMAGE_MODEL_MIN_CAPACITY: ${{ env.IMAGE_MODEL_MIN_CAPACITY }}
339339
AZURE_REGIONS: ${{ vars.AZURE_REGIONS }}
340340
run: |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ _Note: This is not meant to outline all costs as selected SKUs, scaled use, cust
102102
|---|---|---|
103103
| [Azure AI Foundry](https://learn.microsoft.com/en-us/azure/ai-foundry/) | Free tier. Build generative AI applications on an enterprise-grade platform. | [Pricing](https://azure.microsoft.com/pricing/details/ai-studio/) |
104104
| [Azure Storage Account](https://learn.microsoft.com/en-us/azure/storage/blobs/) | Standard tier, LRS. Pricing is based on storage and operations. Blob storage for product images and generated content. | [Pricing](https://azure.microsoft.com/pricing/details/storage/blobs/) |
105-
| [Azure AI Services](https://learn.microsoft.com/en-us/azure/ai-services/) | S0 tier, defaults to gpt-5.1 (GPT) and gpt-image-1 models. Pricing is based on token count. | [Pricing](https://azure.microsoft.com/pricing/details/cognitive-services/) |
105+
| [Azure AI Services](https://learn.microsoft.com/en-us/azure/ai-services/) | S0 tier, defaults to gpt-5.1 (GPT) and gpt-image-1-mini models. Pricing is based on token count. | [Pricing](https://azure.microsoft.com/pricing/details/cognitive-services/) |
106106
| [Azure Container Instance](https://learn.microsoft.com/en-us/azure/container-instances/) | Backend API hosting with private VNet integration. Pricing is based on resource allocation. | [Pricing](https://azure.microsoft.com/pricing/details/container-instances/) |
107107
| [Azure App Service](https://learn.microsoft.com/en-us/azure/app-service/) | B1 tier. Frontend hosting with Node.js proxy server. | [Pricing](https://azure.microsoft.com/pricing/details/app-service/) |
108108
| [Azure Container Registry](https://learn.microsoft.com/en-us/azure/container-registry/) | Basic tier. Build, store, and manage container images and artifacts in a private registry for all types of container deployments | [Pricing](https://azure.microsoft.com/pricing/details/container-registry/) |

archive-doc-gen/docs/TroubleShootingSteps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Use these as quick reference guides to unblock your deployments.
4848
| **Unauthorized - Operation cannot be completed without additional quota** | Insufficient quota for requested operation | <ul><li>Check your quota usage using:<br>`az vm list-usage --location "<Location>" -o table`</li><li> To request more quota refer to [VM Quota Request](https://techcommunity.microsoft.com/blog/startupsatmicrosoftblog/how-to-increase-quota-for-specific-types-of-azure-virtual-machines/3792394)</li></ul> |
4949
| **CrossTenantDeploymentNotPermitted** | Deployment across different Azure AD tenants not allowed | <ul><li> **Check tenant match:** Ensure your deployment identity (user/SP) and the target resource group are in the same tenant:<br>`az account show`<br>`az group show --name <RG_NAME>`</li><li> **Verify pipeline/service principal:** If using CI/CD, confirm the service principal belongs to the same tenant and has permissions on the resource group</li><li> **Avoid cross-tenant references:** Make sure your Bicep doesn't reference subscriptions, resource groups, or resources in another tenant</li><li> **Test minimal deployment:** Deploy a simple resource to the same resource group to confirm identity and tenant are correct</li><li> **Guest/external accounts:** Avoid using guest users from other tenants; use native accounts or SPs in the tenant</li></ul> |
5050
| **RequestDisallowedByPolicy** | Azure Policy blocking the requested operation | <ul><li> This typically indicates that an Azure Policy is preventing the requested action due to policy restrictions in your subscription</li><li> For more details and guidance on resolving this issue, refer to: [RequestDisallowedByPolicy](https://learn.microsoft.com/en-us/troubleshoot/azure/azure-kubernetes/create-upgrade-delete/error-code-requestdisallowedbypolicy) </li></ul> |
51-
| **SpecialFeatureOrQuotaIdRequired** | Subscription lacks access to specific Azure OpenAI models | This error occurs when your subscription does not have access to certain Azure OpenAI models.<br><br>**Example error message:**<br>`SpecialFeatureOrQuotaIdRequired: The current subscription does not have access to this model 'Format:OpenAI,Name:o3,Version:2025-04-16'.`<br><br>**Resolution:**<br>To gain access, submit a request using the official form:<br>👉 [Azure OpenAI Model Access Request](https://customervoice.microsoft.com/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbR7en2Ais5pxKtso_Pz4b1_xUQ1VGQUEzRlBIMVU2UFlHSFpSNkpOR0paRSQlQCN0PWcu)<br><br>You'll need to use this form if you require access to the following restricted models:<br><ul><li> gpt-5</li><li> o3</li><li> o3-pro</li><li> deep research</li><li> reasoning summary</li><li> gpt-image-1</li></ul>Once your request is approved, redeploy your resource. |
51+
| **SpecialFeatureOrQuotaIdRequired** | Subscription lacks access to specific Azure OpenAI models | This error occurs when your subscription does not have access to certain Azure OpenAI models.<br><br>**Example error message:**<br>`SpecialFeatureOrQuotaIdRequired: The current subscription does not have access to this model 'Format:OpenAI,Name:o3,Version:2025-04-16'.`<br><br>**Resolution:**<br>To gain access, submit a request using the official form:<br>👉 [Azure OpenAI Model Access Request](https://customervoice.microsoft.com/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbR7en2Ais5pxKtso_Pz4b1_xUQ1VGQUEzRlBIMVU2UFlHSFpSNkpOR0paRSQlQCN0PWcu)<br><br>You'll need to use this form if you require access to the following restricted models:<br><ul><li> gpt-5</li><li> o3</li><li> o3-pro</li><li> deep research</li><li> reasoning summary</li><li> gpt-image-1-mini</li></ul>Once your request is approved, redeploy your resource. |
5252
| **ResourceProviderError** | Resource provider not registered in subscription | <ul><li> This error occurs when the resource provider is not registered in your subscription</li><li> To register it, refer to [Register Resource Provider](https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/error-register-resource-provider?tabs=azure-cli) documentation </li></ul>|
5353

5454
--------------------------------

content-gen/.env.sample

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ USE_FOUNDRY=false
1616
# Format: https://<project-name>.services.ai.azure.com
1717
AZURE_AI_PROJECT_ENDPOINT=
1818

19-
# Image model deployment name in Foundry (e.g., gpt-image-1)
20-
AZURE_AI_IMAGE_DEPLOYMENT=gpt-image-1
19+
# Image model deployment name in Foundry (e.g., gpt-image-1-mini)
20+
AZURE_AI_IMAGE_DEPLOYMENT=gpt-image-1-mini
2121

2222
# =============================================================================
2323
# Azure OpenAI Configuration
@@ -31,14 +31,14 @@ AZURE_OPENAI_ENDPOINT=https://your-openai.openai.azure.com/
3131
AZURE_OPENAI_GPT_MODEL=gpt-5.1
3232

3333
# Image Generation Model Configuration
34-
# Supported models: gpt-image-1 or gpt-image-1.5
35-
AZURE_OPENAI_IMAGE_MODEL=gpt-image-1
34+
# Supported models: gpt-image-1-mini or gpt-image-1.5
35+
AZURE_OPENAI_IMAGE_MODEL=gpt-image-1-mini
3636

37-
# For gpt-image-1 or gpt-image-1.5, the endpoint is the same as the main OpenAI endpoint, but you can specify a different one if needed
37+
# For gpt-image-1-mini or gpt-image-1.5, the endpoint is the same as the main OpenAI endpoint, but you can specify a different one if needed
3838
AZURE_OPENAI_GPT_IMAGE_ENDPOINT=https://your-openai.openai.azure.com
3939

4040
# Image generation settings
41-
# For gpt-image-1/1.5: sizes are 1024x1024, 1536x1024, 1024x1536, auto; quality is low, medium, high, auto
41+
# For gpt-image-1-mini/1.5: sizes are 1024x1024, 1536x1024, 1024x1536, auto; quality is low, medium, high, auto
4242
AZURE_OPENAI_IMAGE_SIZE=1024x1024
4343
AZURE_OPENAI_IMAGE_QUALITY=medium
4444

content-gen/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ See `src/backend/settings.py` for all configuration options. Key settings:
158158
| `AZURE_OPENAI_ENDPOINT` | Azure OpenAI endpoint for GPT model |
159159
| `AZURE_OPENAI_GPT_MODEL` | GPT model deployment name |
160160
| `AZURE_OPENAI_GPT_IMAGE_ENDPOINT` | Azure OpenAI endpoint for GPT image model (if separate) |
161-
| `AZURE_OPENAI_IMAGE_MODEL` | GPT image model deployment name (gpt-image-1) |
161+
| `AZURE_OPENAI_IMAGE_MODEL` | GPT image model deployment name (gpt-image-1-mini) |
162162
| `COSMOS_ENDPOINT` | Azure Cosmos DB endpoint |
163163
| `COSMOS_DATABASE` | Cosmos DB database name |
164164
| `AZURE_STORAGE_ACCOUNT_NAME` | Storage account name |

content-gen/docs/AZD_DEPLOYMENT.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ This guide covers deploying the Content Generation Solution Accelerator using Az
3838

3939
- An Azure subscription with the following permissions:
4040
- Create Resource Groups
41-
- Deploy Azure AI Services (GPT-5.1, GPT-Image-1)
41+
- Deploy Azure AI Services (GPT-5.1, GPT-Image-1-mini)
4242
- Create Container Registry, Container Instances, App Service
4343
- Create Cosmos DB, Storage Account, AI Search
4444
- Assign RBAC roles
4545

4646
- **Quota**: Ensure you have sufficient quota for:
4747
- GPT-5.1 (or your chosen model)
48-
- GPT-Image-1 (or GPT-Image-1.5 - for image generation)
48+
- GPT-Image-1-mini (or GPT-Image-1.5 - for image generation)
4949

5050
## Quick Start
5151

@@ -300,7 +300,7 @@ When `enablePrivateNetworking` is enabled:
300300
│ │ │
301301
│ ┌───────▼──────────┐ ┌───────────────────────────────┐ │
302302
│ │ Storage Account │ │ Azure AI Services │ │
303-
│ └──────────────────┘ │ (GPT-5.1, GPT-Image-1) │ │
303+
│ └──────────────────┘ │ (GPT-5.1, GPT-Image-1-mini) │ │
304304
│ └───────────────────────────────┘ │
305305
└─────────────────────────────────────────────────────────────────┘
306306
```

content-gen/docs/CustomizingAzdParameters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ By default this template will use the environment name as the prefix to prevent
1515
| `gptModelVersion` | string | `2025-11-13` | Sets the GPT model version. |
1616
| `gptModelDeploymentType` | string | `GlobalStandard` | Defines the model deployment type (allowed: `Standard`, `GlobalStandard`). |
1717
| `gptModelCapacity` | integer | `150` | Sets the GPT model token capacity (minimum: `10`). |
18-
| `imageModelChoice` | string | `gpt-image-1` | Image model to deploy (allowed: `gpt-image-1`, `gpt-image-1.5`, `none`). |
18+
| `imageModelChoice` | string | `gpt-image-1-mini` | Image model to deploy (allowed: `gpt-image-1-mini`, `gpt-image-1.5`, `none`). |
1919
| `imageModelCapacity` | integer | `1` | Sets the image model deployment capacity in RPM (minimum: `1`). |
2020
| `azureOpenaiAPIVersion` | string | `2025-01-01-preview` | Specifies the API version for Azure OpenAI service. |
2121
| `AZURE_ENV_OPENAI_LOCATION` | string | `<User selects during deployment>` | Sets the Azure region for OpenAI resource deployment. |
@@ -38,6 +38,6 @@ azd env set <PARAMETER_NAME> <VALUE>
3838
azd env set AZURE_LOCATION westus2
3939
azd env set gptModelName gpt-5.1
4040
azd env set gptModelDeploymentType Standard
41-
azd env set imageModelChoice gpt-image-1
41+
azd env set imageModelChoice gpt-image-1-mini
4242
azd env set ACR_NAME contentgencontainerreg
4343
```

content-gen/docs/DEPLOYMENT.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ When you start the deployment, most parameters will have **default values**, but
137137
| **GPT Model Version** | The version of the selected GPT model. | 2025-11-13 |
138138
| **OpenAI API Version** | The Azure OpenAI API version to use. | 2025-01-01-preview |
139139
| **GPT Model Deployment Capacity** | Configure capacity for **GPT models** (in thousands). | 150k |
140-
| **Image Model** | Choose from **gpt-image-1, gpt-image-1.5** | gpt-image-1 |
140+
| **Image Model** | Choose from **gpt-image-1-mini, gpt-image-1.5** | gpt-image-1-mini |
141141
| **Image Tag** | Docker image tag to deploy. Common values: `latest`, `dev`, `hotfix`. | latest |
142142
| **Existing Log Analytics Workspace** | To reuse an existing Log Analytics Workspace ID. | *(empty)* |
143143
| **Existing Azure AI Foundry Project** | To reuse an existing Azure AI Foundry Project ID instead of creating a new one. | *(empty)* |
@@ -151,7 +151,7 @@ By default, the **GPT-5.1 model capacity** in deployment is set to **150k tokens
151151

152152
> **For GPT-5.1 - increase the capacity post-deployment for optimal performance if required.**
153153

154-
> **For GPT-Image-1 - ensure you have sufficient capacity for image generation requests.**
154+
> **For GPT-Image-1-mini - ensure you have sufficient capacity for image generation requests.**
155155

156156
Depending on your subscription quota and capacity, you can adjust quota settings to better meet your specific needs.
157157

@@ -217,7 +217,7 @@ az webapp config set -g $RESOURCE_GROUP -n <app-name> --http20-enabled false
217217
**Cause**: Missing GPT-Image model deployment or incorrect endpoint
218218
219219
**Solution**:
220-
1. Verify GPT-Image-1 or GPT-Image-1.5 deployment exists in Azure OpenAI resource
220+
1. Verify GPT-Image-1-mini or GPT-Image-1.5 deployment exists in Azure OpenAI resource
221221
2. Check `AZURE_OPENAI_IMAGE_MODEL` and `AZURE_OPENAI_GPT_IMAGE_ENDPOINT` environment variables
222222
223223
</details>

0 commit comments

Comments
 (0)