This repository was archived by the owner on Jul 27, 2026. It is now read-only.
feat: add supertonic_api_3 model (31 languages)#54
Merged
Conversation
- Bump supertone SDK to >=0.2.2 to expose the new supertonic_api_3 model and 8 additional languages (hr, lt, lv, sk, sl, sv, tr, uk; total now 31). - Add supertonic_api_3 to VALID_MODELS and extend the speed-only parameter guard so it applies to both supertonic_api_1 and supertonic_api_3. - Add validation test cases for supertonic_api_3 (pitch rejected, speed-only accepted). - Fix pre-existing flag mismatch in tests/integration/test_smoke.py: the CLI uses --format json, not --json. - Update README, PRD, docs/requirements.md, docs/data_model.md, and CHANGELOG (Unreleased) to document the new model. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
pillip
added a commit
that referenced
this pull request
May 21, 2026
- src/supertone_cli/__init__.py: bump __version__ to 0.2.0
- CHANGELOG.md: cut [0.2.0] - 2026-05-21
- Added: supertonic_api_3 model with 31 languages (hr, lt, lv,
sk, sl, sv, tr, uk added on top of the prior 23); --speed-only
parameter constraints shared with supertonic_api_1
- Changed: supertone>=0.2.2 floor bump (PR #54)
- Fixed: tests/integration/test_smoke.py used a non-existent
--json flag; corrected to --format json
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
supertoneSDK floor from>=0.2.1,<0.3to>=0.2.2,<0.3to expose the newsupertonic_api_3model and 8 additional languages (hr, lt, lv, sk, sl, sv, tr, uk— total now 31).supertonic_api_3to CLIVALID_MODELSand extend the speed-only parameter guard sosupertonic_api_1andsupertonic_api_3share the same constraints.tests/integration/test_smoke.py(used--jsonwhile the CLI takes--format json) discovered while verifying integration tests against the upgraded SDK.Notes
supertonic_api_3accepts--speedonly; passing--pitch,--similarity,--text-guidance, etc. fails fast with exit code3(same behavior assupertonic_api_1).README.md,PRD.md,docs/requirements.md,docs/data_model.md) andCHANGELOG.md(Unreleased) updated accordingly.Test plan
uv run python -m pytest -q -m "not integration"→ 153 passeduv run python -m pytest tests/test_tts_params.py -v→ 11 passed (incl. 2 newsupertonic_api_3cases)ruff check src tests→ All checks passedSUPERTONE_API_KEY=… pytest -m integration→ 1 passed (after--jsonfix)supertonic_api_3: English + Swedish (new 0.2.2 locale) +--speed 1.3all produced valid 44.1 kHz mono WAV files;--pitchcorrectly rejected with exit 3.🤖 Generated with Claude Code