@meshy-ai/cli 0.4.4 → 0.4.5
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rigging.d.ts","sourceRoot":"","sources":["../../src/cmd/rigging.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"rigging.d.ts","sourceRoot":"","sources":["../../src/cmd/rigging.ts"],"names":[],"mappings":"AAAA;;GAEG;AAiDH,eAAO,MAAM,cAAc,6BAA6B,CAAC"}
|
package/dist/cmd/rigging.js
CHANGED
|
@@ -16,7 +16,9 @@ const spec = {
|
|
|
16
16
|
return cmd
|
|
17
17
|
.option("--input-task-id <id>", "source Meshy task id (takes priority over --model-url)")
|
|
18
18
|
.option("--model-url <src>", "textured humanoid .glb as http(s) URL or local file path")
|
|
19
|
-
.option("--texture-image-url <src>", "
|
|
19
|
+
.option("--texture-image-url <src>", "deprecated; leave it out when the model has its own textures, which the rig keeps. " +
|
|
20
|
+
"Sending it makes this image the only texture and drops the PBR maps. " +
|
|
21
|
+
"Only for a --model-url .glb without textures: its UV-unwrapped base color (.png; URL or local file)")
|
|
20
22
|
.option("--height-meters <m>", "approximate character height in meters (default: 1.7) — drives bone proportions", parseNumber);
|
|
21
23
|
},
|
|
22
24
|
toPayload(opts) {
|
package/dist/cmd/rigging.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rigging.js","sourceRoot":"","sources":["../../src/cmd/rigging.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAA4B,MAAM,6BAA6B,CAAC;AAE7F,MAAM,IAAI,GAAwB;IAChC,IAAI,EAAE,SAAS;IACf,WAAW,EACT,0FAA0F;QAC1F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AAQ;gBACxB,iBAAiB,EAAE,IAAI,CAAC,eAAe;gBACvC,aAAa,EAAE,IAAI,CAAC,YAAY;aACjC,CAAC;QACJ,CAAC;QACD,UAAU;YACR,OAAO,EAAE,aAAa,EAAE,GAAG,EAAE,CAAC;QAChC,CAAC;KACF;IACD,UAAU,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO;CAC7B,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,oBAAoB,CAAC,IAAI,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meshy-ai/cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"description": "Official command-line interface for the Meshy AI API — text-to-3D, image-to-3D, text-to-motion, remesh, UV unwrap, rigging, animate, retexture, 2D images, printability, auto split, multi-color print, Creative Lab, balance and usage — plus selective downloads, project folders, face checks, OBJ print preparation and slicer launch.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -142,6 +142,8 @@ These are API rules, not preferences — ignoring them produces failed tasks:
|
|
|
142
142
|
not props, quadrupeds or untextured drafts. Too dense? `remesh` first. A
|
|
143
143
|
successful rigging task already bundles walking and running clips
|
|
144
144
|
(`result.basic_animations.*`), so check its result before calling `animate`.
|
|
145
|
+
Leave out `--texture-image-url`: the rig keeps the model's own textures, and
|
|
146
|
+
the flag replaces them with one image and drops the PBR maps.
|
|
145
147
|
- **`animate` takes a rigging task id**, not a model task id, plus exactly one
|
|
146
148
|
of: an integer `--action-id` from the catalog, `--action-ids` (up to 10, one
|
|
147
149
|
file with one clip each, billed per action) or a text-to-motion
|