feat: drop retired realtime/video models from Python SDK#52
Merged
Conversation
…Motion, Lucy v1, Lucy Restyle v1) Removes the dropped model identifiers from RealTimeModels, VideoModels, and the model registry. Drops the lipsync subpackage, the ImageToMotionVideoInput / MotionTrajectoryInput types, the live-avatar-only audio_stream_manager + play_audio() API + recvonly video transceiver branch, and the tests/examples that exercised any of those. Keeps mirage_v2 since it still resolves to lucy-restyle-2. Also picks up the version 0.0.37 lockfile sync.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit f4feafb. Configure here.
Fixes ruff F401 lint error introduced after dropping the retired model literals.
The retired-models cleanup (f4feafb) accidentally narrowed the "supports reference image" hint and the --image arg help to lucy-2.1/lucy-2.1-vton only. lucy-restyle-2 still accepts a reference image via set_image(); restore it in both spots so the playground gives correct guidance.
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.

Summary
Several Lucy-family models have been retired on the platform, plus LipSync. This PR removes all of them from the Python SDK so users can no longer construct or send a request for one. Net −1700+ lines (incl. the lipsync subpackage and its tests/examples).
Dropped:
lucy,lucy-restyle,live-avatarand the deprecated aliasesmirage/lucy_v2v_720p_rt/live_avatarlucy-motion,lucy-motion-latest, plusImageToMotionVideoInputandMotionTrajectoryInputdecart.lipsyncsubpackage (RealtimeLipsyncClient, all the lipsync message types, tests, and example)AudioStreamManager+RealtimeClient.play_audio()+ the recvonly-video WebRTC transceiver branch (live-avatar-only)examples/avatar_live.py,examples/lipsync_file.py,examples/queue_image_example.pyKept:
mirage_v2still resolves tolucy-restyle-2. Lucy 2.1, Lucy Restyle 2, Lucy Clip, Lucy Image 2, the*-latestaliases, and the deprecated batch aliases (lucy-pro-v2v,lucy-restyle-v2v,lucy-pro-i2i) are unchanged.Migration
models.realtime("lucy")etc. now raiseModelNotFoundError.from decart.lipsync import RealtimeLipsyncClientwill fail to import.Test plan
pytest tests/— 99 passed (35 skipped require optional realtime extras; covered separately)pytest tests/test_models.py tests/test_realtime_unit.pywith realtime extras — 48 passedplayground/playground.pyagainst a current model