tryiton 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/index.ts +2 -1
package/README.md
CHANGED
|
@@ -49,7 +49,7 @@ Image inputs accept a public URL or a base64 data URL (`data:image/png;base64,..
|
|
|
49
49
|
| --------- | ---- | -------- | ----------- |
|
|
50
50
|
| `modelImage` | string | Yes | URL or base64 data URL of the person. |
|
|
51
51
|
| `garmentImage` | string | Yes | URL or base64 data URL of the garment or accessory. |
|
|
52
|
-
| `category` | string | No | Item type: `auto`, `clothing`, `eyewear`, `footwear`, `headwear`, `jewelry`, or `
|
|
52
|
+
| `category` | string | No | Item type: `auto`, `clothing`, `eyewear`, `footwear`, `headwear`, `jewelry`, `accessories`, or `others`. `auto` detects it for you. |
|
|
53
53
|
| `subcategory` | string | No | Required for `clothing` (`tops`, `bottoms`, `dresses`), `jewelry`, and `accessories`. |
|
|
54
54
|
|
|
55
55
|
Additional options (`mode` and `moderationLevel` for clothing; `numSamples` 1–4 and `outputFormat` `png`/`jpeg` for every try-on, including hairstyle and tattoo) are documented in the [API reference](https://docs.tryiton.now).
|
package/dist/index.d.cts
CHANGED
|
@@ -34,7 +34,7 @@ interface Credits {
|
|
|
34
34
|
purchased: number;
|
|
35
35
|
reserved: number;
|
|
36
36
|
}
|
|
37
|
-
type Category = "auto" | "clothing" | "eyewear" | "footwear" | "headwear" | "jewelry" | "accessories";
|
|
37
|
+
type Category = "auto" | "clothing" | "eyewear" | "footwear" | "headwear" | "jewelry" | "accessories" | "others";
|
|
38
38
|
type Mode = "performance" | "balanced" | "quality";
|
|
39
39
|
type OutputFormat = "png" | "jpeg";
|
|
40
40
|
type ModerationLevel = "conservative" | "permissive" | "none";
|
package/dist/index.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ interface Credits {
|
|
|
34
34
|
purchased: number;
|
|
35
35
|
reserved: number;
|
|
36
36
|
}
|
|
37
|
-
type Category = "auto" | "clothing" | "eyewear" | "footwear" | "headwear" | "jewelry" | "accessories";
|
|
37
|
+
type Category = "auto" | "clothing" | "eyewear" | "footwear" | "headwear" | "jewelry" | "accessories" | "others";
|
|
38
38
|
type Mode = "performance" | "balanced" | "quality";
|
|
39
39
|
type OutputFormat = "png" | "jpeg";
|
|
40
40
|
type ModerationLevel = "conservative" | "permissive" | "none";
|
package/package.json
CHANGED