Skip to content

chore(openai): remove the retired image variations endpoint - #584

Merged
Kamilbenkirane merged 1 commit into
mainfrom
chore/openai-remove-create-variation
Nov 9, 2026
Merged

Kamilbenkirane merged 1 commit into
mainfrom
chore/openai-remove-create-variation

Conversation

@Kamilbenkirane

Copy link
Copy Markdown
Member

OpenAIImagesEndpoint.CREATE_VARIATION (/v1/images/variations) is unused: no client, mapper or test references it. OpenAI's Create image variation reference says "This endpoint is retired and no longer available", and its model parameter reads "The legacy model used by the retired image variations endpoint. This endpoint no longer accepts requests." Two docstrings in the same wire client still name gpt-image-1, whose registration #553 removed.

Fix:

Validation:

  • Repo-wide grep: no other reference to CREATE_VARIATION, images/variations or gpt-image-1 outside the gpt-image-1-mini / gpt-image-1.5 ids.
  • make ci passes (763 tests).
  • No live call: the diff removes an unused enum member and two docstring lines.

@Kamilbenkirane
Kamilbenkirane merged commit bb12568 into main Nov 9, 2026
10 checks passed
@Kamilbenkirane
Kamilbenkirane deleted the chore/openai-remove-create-variation branch November 9, 2026 13:41
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.

1 participant