Skip to content

docs: sound endpoints accept sources up to 8 minutes (sonilo 0.15.2) - #38

Merged
spencer-zqian merged 1 commit into
mainfrom
feat/video-sfx-sound-8min
Sep 4, 2026
Merged

spencer-zqian merged 1 commit into
mainfrom
feat/video-sfx-sound-8min

Conversation

@spencer-zqian

Copy link
Copy Markdown
Contributor

The API raised video-to-sound and video-to-video-sound from 180 to 480 sec (api-dashboard PR #328, deployed 2026-09-04).

The limit is enforced server-side and nothing here gates on it — but the README stated 180, and a caller who believes that trims a video the API would have taken. Same shape as 3dc1341.

Docs-only content, but PyPI renders the README on the project page, so the corrected cap only reaches readers through a release → sonilo 0.15.1 → 0.15.2.

sonilo-cli is untouched: its README does not state this cap, and its sonilo>=0.15.0,<0.16 pin already covers 0.15.2, so no widening is needed this round.

Checked and deliberately left alone: text-to-sfx's own 1–180 sec duration is a different parameter, and the <= 180 strings in tests/test_errors.py are sample API validation payloads for that field, not this cap. No client-side duration gate exists in this SDK.

289 passed.

🤖 Generated with Claude Code

https://claude.ai/code/session_01SFP9xPKwk2S1Qjmk5krx6h

@lightsage-app

lightsage-app Bot commented Sep 4, 2026 •

Copy link
Copy Markdown

Lightsage docs evals

Waiting for the staging docs URL before running evals.

Lightsage will start the selected PR evals automatically when GitHub reports a successful docs deployment for this PR. This usually happens within 15 minutes.

Commit: 33b5c82
Status: waiting for staging docs URL

The API raised video-to-sound and video-to-video-sound from 180 to 480 sec
(api-dashboard PR #328, deployed 2026-09-04). The limit is enforced server-side
and nothing here gates on it, but the README stated 180 — and a caller who
believes that trims a video the API would have taken.

Docs-only content, but PyPI renders the README on the project page, so the
corrected cap only reaches readers through a release. sonilo-cli is untouched:
its README does not state this cap, and its `sonilo>=0.15.0,<0.16` pin already
covers 0.15.4, so no widening is needed.

text-to-sfx's own 1-180 sec `duration` is a different parameter and is
unchanged; the `<= 180` strings left in tests/test_errors.py are sample API
validation payloads for that field, not this cap.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SFP9xPKwk2S1Qjmk5krx6h
@spencer-zqian
spencer-zqian force-pushed the feat/video-sfx-sound-8min branch from f70415f to 33b5c82 Compare September 4, 2026 23:18
@spencer-zqian
spencer-zqian merged commit d31bd03 into main Sep 4, 2026
2 checks passed
@spencer-zqian
spencer-zqian deleted the feat/video-sfx-sound-8min branch September 4, 2026 23:26
spencer-zqian added a commit that referenced this pull request Sep 4, 2026
`#38` bumped `pyproject.toml` to 0.15.4 but left `src/sonilo/_version.py` on
0.15.3. `__version__` ships as the `x-sonilo-client-version` header, so a 0.15.4
release would have had every client on it identify itself as 0.15.3.

Nothing caught it: the existing version tests compare the header to
`__version__`, which stays self-consistent however stale it is, and no test
compared either to pyproject. The release commits have always bumped both by
hand (a41a37c, 2c78bd8), which works right up until someone bumps only one.

Adds the missing comparison so the next one-sided bump fails in CI instead of
on PyPI. sonilo-cli is unaffected — its own version and its
`sonilo>=0.15.0,<0.16` pin both still hold.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SFP9xPKwk2S1Qjmk5krx6h
spencer-zqian added a commit that referenced this pull request Sep 4, 2026
`#38` bumped `pyproject.toml` to 0.15.4 but left `src/sonilo/_version.py` on
0.15.3. `__version__` ships as the `x-sonilo-client-version` header, so a 0.15.4
release would have had every client on it identify itself as 0.15.3.

Nothing caught it: the existing version tests compare the header to
`__version__`, which stays self-consistent however stale it is, and no test
compared either to pyproject. The release commits have always bumped both by
hand (a41a37c, 2c78bd8), which works right up until someone bumps only one.

Adds the missing comparison so the next one-sided bump fails in CI instead of
on PyPI. sonilo-cli is unaffected — its own version and its
`sonilo>=0.15.0,<0.16` pin both still hold.


Claude-Session: https://claude.ai/code/session_01SFP9xPKwk2S1Qjmk5krx6h

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant