Skip to content

feat(sdk): add lucy-vton-3.5 realtime and batch models#188

Merged
AdirAmsalem merged 1 commit into
mainfrom
add-lucy-vton-3.5
Jul 22, 2026
Merged

feat(sdk): add lucy-vton-3.5 realtime and batch models#188
AdirAmsalem merged 1 commit into
mainfrom
add-lucy-vton-3.5

Conversation

@AdirAmsalem

@AdirAmsalem AdirAmsalem commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

What

Adds lucy-vton-3.5, the latest generation of the Lucy virtual try-on model, as a canonical model on both the realtime and batch/video surfaces. lucy-vton-latest now resolves to it, so callers on the latest alias get the newest quality automatically while lucy-vton-3 and lucy-vton-2 remain available by explicit name.

Why

Give SDK users access to the newest virtual try-on model without breaking anyone pinned to a specific prior version.

Usage

import { createDecartClient, models } from "@decartai/sdk";

const client = createDecartClient({ apiKey });

// Batch / video
const result = await client.queue.submitAndPoll({
  model: models.video("lucy-vton-3.5"),
  prompt: "Wearing a red leather jacket",
  data: videoBlob,
});

// Realtime
const realtime = models.realtime("lucy-vton-3.5");

Note

Low Risk
Additive model registry and type union changes with no auth or breaking renames; only behavioral shift is server resolution for lucy-vton-latest callers.

Overview
Adds lucy-vton-3.5 as a canonical virtual try-on model on realtime (/v1/stream) and queue/video (/v1/generate/lucy-vton-3.5, /v1/jobs/lucy-vton-3.5), wired through the model registry with the same videoEdit2 inputs and dimensions as lucy-vton-3 (1088×624).

Docs and comments now state that lucy-vton-latest resolves server-side to lucy-vton-3.5 (was 3); explicit lucy-vton-3 / lucy-vton-2 names stay unchanged. The SDK demo page adds a Lucy VTON 3.5 picker option; unit, queue e2e, and realtime e2e tests cover the new name.

Reviewed by Cursor Bugbot for commit 5086dc7. Bugbot is set up for automated code reviews on this repo. Configure here.

@AdirAmsalem
AdirAmsalem merged commit 6fe5585 into main Jul 22, 2026
3 checks passed
@AdirAmsalem
AdirAmsalem deleted the add-lucy-vton-3.5 branch July 22, 2026 10:40
AdirAmsalem added a commit that referenced this pull request Jul 23, 2026
#189)

Reverts #188.

lucy-vton-3.5 is being rolled back from the JS SDK. This cleanly reverts
the merged squash commit that added the CanonicalModel name(s), Zod
schema, `.realtime/`.video` registry entries, ModelSpecificInputs
wiring, and unit/e2e tests.

Note: the published @decartai/sdk release (v0.1.15) still ships the id;
this revert only returns source `main` to its pre-3.5 state.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> <sup>[Cursor Bugbot](https://cursor.com/bugbot) is generating a
summary for commit 4eaf73f. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
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