Skip to content

.Net: Migrate from deprecated DALL-E models to gpt-image-1#13650

Open
rogerbarreto wants to merge 2 commits intomicrosoft:mainfrom
rogerbarreto:issues/it-deprecated-text-to-image
Open

.Net: Migrate from deprecated DALL-E models to gpt-image-1#13650
rogerbarreto wants to merge 2 commits intomicrosoft:mainfrom
rogerbarreto:issues/it-deprecated-text-to-image

Conversation

@rogerbarreto
Copy link
Member

Motivation and Context

  • Update default image model from dall-e-2 to gpt-image-1 in ClientCore and OpenAITextToImageService
  • Handle base64 responses in GenerateImageAsync (gpt-image-1 returns base64 only, no URLs)
  • Add Medium, Low, and Auto quality options to GetGeneratedImageQuality
  • Update AzureOpenAI integration tests to use api-version 2025-04-01-preview
  • Remove URL-specific assertions since gpt-image-1 returns base64 only
  • Update OpenAI integration tests to reference gpt-image-1
  • Update testsettings.json defaults from Dalle3/dall-e-2 to gpt-image-1
  • Update OpenAITextToImageExecutionSettings XML docs for gpt-image-1

- Update default image model from dall-e-2 to gpt-image-1 in ClientCore and OpenAITextToImageService
- Handle base64 responses in GenerateImageAsync (gpt-image-1 returns base64 only, no URLs)
- Add Medium, Low, and Auto quality options to GetGeneratedImageQuality
- Update AzureOpenAI integration tests to use api-version 2025-04-01-preview
- Remove URL-specific assertions since gpt-image-1 returns base64 only
- Update OpenAI integration tests to reference gpt-image-1
- Update testsettings.json defaults from Dalle3/dall-e-2 to gpt-image-1
- Update OpenAITextToImageExecutionSettings XML docs for gpt-image-1

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@rogerbarreto rogerbarreto requested a review from a team as a code owner March 12, 2026 10:36
@rogerbarreto rogerbarreto added this pull request to the merge queue Mar 12, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants