Repository navigation
feat: add lucy-2.6 (realtime + batch) at 720p - #36
Merged
Merged
Conversation
decartdev
approved these changes
Oct 25, 2026
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.
Description
Registers
lucy-2.6(successor tolucy-2.5) on the realtime and video surfaces. It mirrors the JS SDK registry, the source of truth this package's tests are written against. The model is already served in production, and this PR makes it reachable through the typed SDK surface.lucy-2.6is opt-in by explicit name.lucy-lateststill resolves tolucy-2.5server-side, so its comments, geometry, speeds and tests are unchanged. Flipping the alias to 2.6 is a follow-up.?speed=fastand bills it like 2.5, soRealtimeModels.LUCY_2_6advertisessupportedSpeeds = setOf(Speed.FAST). TheSpeedKDoc, the README fast-mode section and the fast-capability pin test now list it.lucy-2.5is unchanged. This PR only adds things.Geometry was confirmed against the deployed model config:
1280x720on both surfaces, 30 fps realtime and 20 fps batch. Batch input isVIDEO_EDIT(VideoEditInput), the same form fields aslucy-2.5.Usage
realtime.connect( localVideoTrack = cameraTrack, localAudioTrack = null, options = ConnectOptions( model = RealtimeModels.LUCY_2_6, speed = Speed.FAST, // optional onRemoteVideoTrack = { track -> remoteRenderer.addSink(track) }, ), ) val result = client.queue.submitAndPoll(VideoModels.LUCY_2_6, input)Changes
sdk/.../RealtimeModels.ktLUCY_2_6val withsetOf(Speed.FAST), afromNamebranch and an entry inall, each placed right afterLUCY_2_5sdk/.../VideoModels.ktLUCY_2_6val (/v1/jobs/lucy-2.6,VIDEO_EDIT) to bothallandallIncludingDeprecatedsdk/.../realtime/RealTimeClient.ktSpeedKDoc fast-mode model listsdk/src/test/.../RealtimeModelsTest.ktfromNameassertion and a field-by-fieldlucy-2_6 matches JS SDK registrytest; adds 2.6 to the fast-capability pinsdk/src/test/.../VideoModelsTest.ktlucy-2_6 matches JS SDK registrytestsdk/src/test/.../realtime/RealTimeClientUrlTest.ktREADME.mdVideoEditInputlistVerification
This repo has no
.github/workflows, so I set up JDK 17 (Corretto) and Android SDK 35 (platforms;android-35,build-tools;35.0.0) on a Linux VM and ran the suite locally:./gradlew :sdk:test --no-daemontestDebugUnitTest(all classes)tests="198" failures="0" errors="0" skipped="0"testReleaseUnitTest(all classes)tests="198" failures="0" errors="0" skipped="0"RealtimeModelsTesttests="16" failures="0" errors="0"VideoModelsTesttests="6" failures="0" errors="0"RealTimeClientUrlTesttests="11" failures="0" errors="0"Not run: the
:sampleapp build and anything on a device or emulator. Neither was needed. The sample's model pickers iterateRealtimeModels.allandVideoModels.all, so 2.6 appears there without code changes. I didn't make a live realtime or queue call against the API.Compatibility
Additive, and both source- and binary-compatible. The only changes are two new
vals on existingobjects, one newwhenbranch and three list entries. No existing model, alias or deprecated name changed.Follow-ups
lucy-latesttolucy-2.6once the server-side alias moves.Note
Low Risk
Additive registry and documentation updates only; existing models and aliases are untouched.
Overview
Adds
lucy-2.6to the Android SDK as an explicit opt-in model on both realtime (RealtimeModels.LUCY_2_6, 720p @ 30fps) and batch queue (VideoModels.LUCY_2_6,/v1/jobs/lucy-2.6, 720p @ 20fps,VideoEditInput).lucy-latestis unchanged and still documents as resolving to 2.5.On realtime, 2.6 advertises
Speed.FASTlike 2.5; README fast-mode copy,SpeedKDoc, registryfromName/all, and tests (counts, JS-registry parity, fast-tier pin, no-warning for supported speed) are updated accordingly. No changes to connection or URL-building logic beyond documenting and testing 2.6 as fast-capable.Reviewed by Cursor Bugbot for commit ebfe0a3. Bugbot is set up for automated code reviews on this repo. Configure here.