feat: add lucy-2.1-vton batch API support#46
Merged
AdirAmsalem merged 3 commits intomainfrom Apr 14, 2026
Merged
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ 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 77bed01. Configure here.
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
lucy-2.1-vton(virtual try-on) previously only supported realtime streaming. This adds batch/queue API support, so users can submit longer video try-on jobs asynchronously.lucy-2.1-vtonandlucy-vton-latestas video (batch) modelsvideo_tryon.pyexampleUsage
Note
Low Risk
Low risk: this primarily adds new model identifiers/definitions plus tests and an example script, without changing existing model behavior or core request logic.
Overview
Adds batch/queue API support for virtual try-on by registering
lucy-2.1-vtonand thelucy-vton-latestalias asmodels.video(...)entries (new/v1/jobs/...endpoints) alongside existing realtime support.Includes a new
examples/video_tryon.pyCLI demonstrating how to submit and poll a try-on job with a reference garment image, and extendstests/test_models.pyto cover the new video models (plus updatesuv.lockversion metadata).Reviewed by Cursor Bugbot for commit e436436. Bugbot is set up for automated code reviews on this repo. Configure here.