Skip to content

docs: document Images API and Go SDK CreateImage method - #505

Merged
edenreich merged 3 commits into
mainfrom
fix/issue-503
Aug 1, 2026
Merged

docs: document Images API and Go SDK CreateImage method#505
edenreich merged 3 commits into
mainfrom
fix/issue-503

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Resolves #503

Summary

Documents the new Client.CreateImage method in the Go SDK reference page and adds the Images API endpoint (POST /v1/images/generations) to the REST API reference page. The Images API was synced from schemas v0.17.0 and is now available in the Go SDK.

Changes

  • sdks.md: Added "Image generation" section to the Go SDK reference documenting CreateImage with method signature, a runnable code example, a field reference table for CreateImageRequest, and a note about unsupported providers returning 400 errors
  • api-reference.md: Added "Images API" section documenting the POST /v1/images/generations endpoint with curl example, response format, field reference table, and unsupported provider error handling

@inference-gateway-maintainer
inference-gateway-maintainer Bot marked this pull request as ready for review August 1, 2026 12:08
@inference-gateway-maintainer
inference-gateway-maintainer Bot requested a review from a team as a code owner August 1, 2026 12:08
@edenreich
edenreich merged commit 21b07a0 into main Aug 1, 2026
6 checks passed
@edenreich
edenreich deleted the fix/issue-503 branch August 1, 2026 12:40
inference-gateway-releaser Bot added a commit that referenced this pull request Aug 1, 2026
## [0.9.7](0.9.6...0.9.7) (2026-08-01)

### 👷 CI

* **claude:** centralize claude.yml via reusable workflow ([#504](#504)) ([18cdd9a](18cdd9a))
* **claude:** centralize claude.yml via reusable workflow ([#507](#507)) ([85d3617](85d3617))

### 📚 Documentation

* document catalog trust model and catalog.json schema ([#501](#501)) ([c81a3b1](c81a3b1))
* document Images API and Go SDK CreateImage method ([#505](#505)) ([21b07a0](21b07a0))
* document images edits and variations endpoints ([#508](#508)) ([1d19299](1d19299))

### 🔧 Miscellaneous

* **deps:** bump infer CLI v0.153.1 -> v0.155.0 ([#502](#502)) ([ee5af74](ee5af74))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.9.7 🎉

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] Images API SDK method

1 participant