Commit ac0bd82
authored
feat: canonical model names, lucy-2.1, and deprecation warnings (#45)
* feat: canonical model names, lucy-2.1, and deprecation warnings
Add canonical model names (lucy-2, lucy-clip, lucy-restyle-2, lucy-image-2,
live-avatar, etc.) to match the updated API naming convention. Add new models
lucy-2.1 (realtime + batch) and lucy-2.1-vton (realtime). Deprecated model
names still work but now emit a DeprecationWarning guiding users to migrate.
* fix: format models.py with black
* feat: add -latest model aliases for server-side resolution
Add lucy-latest, lucy-vton-latest, lucy-restyle-latest, lucy-clip-latest,
lucy-motion-latest, and lucy-image-latest convenience aliases that always
point to the current latest version of each model family. These are resolved
server-side, so the SDK passes them through with no deprecation warnings.1 parent d148ca6 commit ac0bd82
23 files changed
Lines changed: 583 additions & 152 deletions
File tree
- decart
- queue
- realtime
- tokens
- examples
- playground
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments