You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The TypeScript SDK added a new public client method for the OpenAI-compatible Audio API (POST /v1/audio/speech), implemented in inference-gateway/typescript-sdk#221. The docs do not cover it yet.
New public surface:
InferenceGatewayClient.createSpeech(request: SchemaCreateSpeechRequest, provider?: Provider): Promise<Blob> - returns the synthesized audio as a Blob; the blob type reflects the requested response_format (e.g. audio/mpeg for mp3)
Read issue and repo conventions (AGENTS.md/CLAUDE.md)
Check the TypeScript SDK source for the exact createSpeech signature and types
Add a "Speech synthesis" section to the TypeScript part of sdks.md
Fix the Audio API cross-link in api-reference.md (anchors shift)
Run lint:md, format:check, build
Commit and open PR
What changed
sdks.md - new Speech synthesis section under TypeScript, mirroring the existing Go/Rust sections: createSpeech(request, provider?) -> Promise<Blob> with the blob type following response_format (audio/mpeg for the default mp3), the ENABLE_AUDIO=true gate (404 while disabled), the 400 + The Audio API is not supported by this provider yet. error surfaced as a thrown Error, a text-to-speech example, a SchemaCreateSpeechRequest field table (4096-char input cap, CreateSpeechRequestResponse_format values, base64 reference_audio cloning, not supported by OpenAI), a cloning example and a browser URL.createObjectURL note.
api-reference.md - the SDK cross-link now lists TypeScript; Go/Rust anchors become #speech-synthesis-1 / #speech-synthesis-2, verified against the built HTML.
Signatures, enum casing (Provider.openai, CreateSpeechRequestResponse_format.wav) and error handling were checked against typescript-sdksrc/client.ts and the generated types rather than assumed. bun run lint:md, bun run format:check and bun run build all pass.
Activity
edenreich commentedon Aug 31, 2026
@claude Can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Aug 31, 2026
Claude finished @edenreich's task in 2m 36s —— View job •
docs/issue-615-20260831-1246• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-615-20260831-1246?quick_pull=1&title=Issue%20%23615%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23615%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Task: document TypeScript SDK
createSpeechcreateSpeechsignature and typessdks.mdapi-reference.md(anchors shift)lint:md,format:check,buildWhat changed
sdks.md- new Speech synthesis section under TypeScript, mirroring the existing Go/Rust sections:createSpeech(request, provider?) -> Promise<Blob>with the blobtypefollowingresponse_format(audio/mpegfor the defaultmp3), theENABLE_AUDIO=truegate (404 while disabled), the400+The Audio API is not supported by this provider yet.error surfaced as a thrownError, a text-to-speech example, aSchemaCreateSpeechRequestfield table (4096-charinputcap,CreateSpeechRequestResponse_formatvalues, base64reference_audiocloning, not supported by OpenAI), a cloning example and a browserURL.createObjectURLnote.api-reference.md- the SDK cross-link now lists TypeScript; Go/Rust anchors become#speech-synthesis-1/#speech-synthesis-2, verified against the built HTML.Signatures, enum casing (
Provider.openai,CreateSpeechRequestResponse_format.wav) and error handling were checked againsttypescript-sdksrc/client.tsand the generated types rather than assumed.bun run lint:md,bun run format:checkandbun run buildall pass.PR: #620
| Branch
inference-gateway-releaser commentedon Sep 22, 2026
🎉 This issue has been resolved in version 0.9.14 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀