From 33b5c82eb35d999dc583e7559bb273da0752140f Mon Sep 17 00:00:00 2001 From: Spencer Qian Date: Fri, 4 Sep 2026 16:12:45 -0700 Subject: [PATCH] docs: sound endpoints accept sources up to 8 minutes (sonilo 0.15.4) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) Claude-Session: https://claude.ai/code/session_01SFP9xPKwk2S1Qjmk5krx6h --- README.md | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3d7605e..ab4d08b 100644 --- a/README.md +++ b/README.md @@ -320,7 +320,7 @@ music and effects alone, with no `music_processed` stem. no source picture whose audio could be preserved. `segments` takes the same `{"start", "end", "prompt"}` list as `video_to_sfx`. -Input videos may be at most 180 seconds long. +Input videos may be at most 480 seconds (8 minutes) long. Both also take `variants_num` (1-10, default `1`): each variant pairs its own generated music with its own generated sound effects. Like diff --git a/pyproject.toml b/pyproject.toml index 68710d1..32dad54 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "sonilo" -version = "0.15.3" +version = "0.15.4" description = "Official Python client for the Sonilo API" readme = "README.md" license = "MIT"