Skip to content

types: add gpt-image-2 image model alias#3127

Open
nightcityblade wants to merge 1 commit intoopenai:mainfrom
nightcityblade:fix/issue-3114
Open

types: add gpt-image-2 image model alias#3127
nightcityblade wants to merge 1 commit intoopenai:mainfrom
nightcityblade:fix/issue-3114

Conversation

@nightcityblade
Copy link
Copy Markdown

Fixes #3114

Summary

  • add gpt-image-2 to the public ImageModel literal and response tool literals
  • update image generate and edit parameter docs to mention the new model
  • add a regression test covering the public image model alias list

Testing

  • pytest -o addopts="" tests/test_image_model.py -q

@nightcityblade nightcityblade requested a review from a team as a code owner April 26, 2026 15:10
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.

types: ImageModel Literal missing 'gpt-image-2' (GA'd 2026-04-21 on Azure)

1 participant