Skip to content

[DOCS] Remove the /v1/images/variations endpoint #732

Closed

Description

@edenreich

Summary

Remove POST /v1/images/variations from the docs. The endpoint only ever served OpenAI's dall-e-2, which OpenAI shut down on 2026-05-12, and it is being removed from the spec, gateway and SDKs: inference-gateway/schemas#223, inference-gateway/inference-gateway#692, inference-gateway/sdk#190, inference-gateway/python-sdk#123, inference-gateway/typescript-sdk#245 and inference-gateway/rust-sdk#148.

Affected pages:

The CLI's ImageVariation tool stays, because it renders variations through /v1/images/edits, so its mentions in cli.md and github-action.md stay too. Only text claiming it calls /v1/images/variations needs updating (inference-gateway/cli#1273 tracks the CLI side).

Acceptance Criteria

  • api-reference.md documents only POST /v1/images/generations and POST /v1/images/edits.
  • configuration.md lists no /v1/images/variations.
  • No page claims the ImageVariation tool calls /v1/images/variations.

Activity

  1. added
    documentation
    on Sep 23, 2026
  2. added theissue type on Sep 23, 2026
  3. moved this to Todo in 2026on Sep 23, 2026
  4. edenreich commented on Sep 23, 2026

    @edenreich
    ContributorAuthor

    @claude Can you document this? use /ponytail:ponytail

  5. inference-gateway-maintainer commented on Sep 23, 2026

    @inference-gateway-maintainer
    Contributor

    Claude finished @edenreich's task in 1m 36s —— View job • docs/issue-732-20260923-0953 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-732-20260923-0953?quick_pull=1&title=Issue%20%23732%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23732%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Removed /v1/images/variations from the docs

    • Gather context
    • api-reference.md: dropped the Images table row, the Variations section and its curl example; intro now reads "Both return the same ImagesResponse shape"
    • configuration.md: IMAGES_ENABLED lists generations and edits only (line 12 sits outside the GENERATED:* markers, so hand-editing is safe here)
    • cli.md: ImageVariation tool kept, now correctly documented as sending its one-off request to /v1/images/edits
    • bun run lint:md, bun run format:check, bun run build - all pass
    • Committed + PR opened: docs: remove the /v1/images/variations endpoint #735

    github-action.md needed no change - it only names the tools and the generic /v1/images/* path, neither of which is wrong.

    Acceptance criteria: api-reference.md now documents only generations and edits; no /v1/images/variations remains outside CHANGELOG.md; no page claims ImageVariation calls it.
    | Branch

  6. moved this from Todo to In progress in 2026on Sep 23, 2026
  7. moved this from In progress to QA in 2026on Sep 23, 2026
  8. moved this from QA to Done in 2026on Sep 23, 2026
  9. inference-gateway-releaser commented on Sep 23, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.15 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions