feat!: regenerate SDK on fern-python-sdk@5.14.20 with TTS-only surface#16
Merged
Conversation
The 5.x generator writes pyproject.toml with python = "^3.10"; the workflow's setup-python step needs to match or poetry install fails with 'currently activated Python version 3.8.18 is not supported by the project (^3.10)'.
luke-speechify
pushed a commit
that referenced
this pull request
Jun 22, 2026
🤖 I have created a release *beep* *boop* --- ## [2.0.0](1.2.3...2.0.0) (2026-06-22) ### ⚠ BREAKING CHANGES * `Speechify(token=...)` is now `Speechify(api_key=...)`. The `tts.` namespace has been removed — call sites move from `client.tts.audio.speech(...)` to `client.audio.speech(...)` and from `client.tts.voices.X` to `client.voices.X`. The `livekit` extra-dependency has been removed; if you were importing it transitively through `speechify-api`, install it explicitly. Generator-line crossed `4.x` → `5.x`, so internal/private code paths have moved. ### Features * regenerate SDK on fern-python-sdk@5.14.20 with TTS-only surface ([#16](#16)) ([2ebb0a5](2ebb0a5)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Regenerated on the current Speechify spec with the latest generator (
fern-python-sdk@5.14.20). Brings the SDK shape in line with industry conventions (api_key=, flatclient.audio.*namespace) and unlocks the async client + raw-response accessor patterns that come free with the 5.x generator line.Voice-agents methods and types are not exported from this release. The voice-agents API is public over HTTP today, but has never shipped in
speechify-apiPyPI releases — the SDK is deliberately scoped to the stable TTS surface (audio.*,voices.*). Voice-agents methods will be added in a future release once that surface is locked.What changed
Speechify(token=...)is nowSpeechify(api_key=...). TheSPEECHIFY_API_KEYenvironment variable continues to work without change.client.tts.audio.speech(...)→client.audio.speech(...);client.tts.voices.list()→client.voices.list(); and so on across all six methods. Thetts.intermediate namespace has been removed so SDK paths mirror the underlying URL paths (/v1/audio/...,/v1/voices/...).livekitruntime dependency removed. It was only required by voice-agents helpers; TTS doesn't use it.fern-python-sdk@4.x→5.x). Internal code structure and some private helpers have changed shape. Public method signatures onaudio.speech,audio.stream,voices.list / get / create / delete / download_sampleare unchanged from their pre-flatten signatures except for the namespace path.New in this release
AsyncSpeechifyasync client with the same method surface as the sync client..with_raw_responseaccessor on every sub-client for direct access to the underlying HTTP response — e.g.client.audio.with_raw_response.speech(...).audio.speechandaudio.streamdocumenting the JSON-vs-raw-bytes response distinction between the two endpoints, plus theaudio/pcm→audio/L16Content-Type asymmetry on streaming (24 kHz mono LE PCM).Release
This PR is the regenerated SDK only. Once merged into
master, release-please will open a release PR that bumps the version (to2.0.0) and updatesCHANGELOG.md. Merging the release PR triggers the publish workflow to PyPI.BREAKING CHANGE:
Speechify(token=...)is nowSpeechify(api_key=...). Thetts.namespace has been removed — call sites move fromclient.tts.audio.speech(...)toclient.audio.speech(...)and fromclient.tts.voices.Xtoclient.voices.X. Thelivekitextra-dependency has been removed; if you were importing it transitively throughspeechify-api, install it explicitly. Generator-line crossed4.x→5.x, so internal/private code paths have moved.