@genex-ai/cli-demo 0.53.0-dev.121 → 0.54.0-dev.123

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 CHANGED
@@ -16,8 +16,12 @@ genex sfx "<prompt>" # generate a sound fx → prints an asset URL
16
16
  genex texture "<prompt>" # generate a texture → prints an asset URL
17
17
  genex image "<prompt>" # generate an image → prints an asset URL
18
18
  genex video "<prompt>" # generate a video → prints an asset URL
19
+ genex character "<prompt>" # generate a controller-ready Meshy humanoid
20
+ genex character animate <id> --action <action-id> # add a same-rig Meshy action
21
+ genex animations search "<intent>" --json # search the committed Meshy catalog locally
19
22
  genex wait <id> # attach to a --no-wait generation and print its URL(s) when done
20
23
  genex controller <type> # character|car|drone|networked-physics → src/controllers/
24
+ genex controller character --character <id> # install the Meshy-native adapter + manifest
21
25
  genex controller anims <sel…> # download extra character animation clips (by tag or name) → public/assets/anims/
22
26
  genex ui <tool> # local pixel toolbox for generated UI art: extract | masks | text-color | trim
23
27
  genex explore ["<query>"] # search the curated community gallery (no query lists the whole catalog)
@@ -123,7 +127,8 @@ Three.js loader code.
123
127
 
124
128
  Auth reuses the existing `GENEX_TOKEN` (run `genex init` first). Server-side, each
125
129
  provider is keyed by an env var (`TRIPO_API_KEY`, `BLOCKADE_LABS_API_KEY`,
126
- `ELEVENLABS_API_KEY`, `GEMINI_API_KEY`, and `FAL_KEY` for image + video); when a key
130
+ `ELEVENLABS_API_KEY`, `GEMINI_API_KEY`, `MESHY_API_KEY` for characters, and
131
+ `FAL_KEY` for image + video); when a key
127
132
  is unset that kind falls back to a built-in **mock** provider that returns sample
128
133
  assets, so the flow runs keyless. `--no-wait` enqueues and prints the generation id;
129
134
  `genex wait <id>` attaches to it later and prints the asset URL(s) when it finishes —
@@ -131,6 +136,32 @@ safe to re-run, it never creates a new generation (re-running the *generate* com
131
136
  does, and bills it). `genex image --candidates <2-4>` returns several variants from
132
137
  one call (`image-main` + `image-alt-N` URLs) — pick the best instead of re-rolling.
133
138
 
139
+ ## Meshy characters and animations
140
+
141
+ `genex character "<prompt>"` runs a controller-ready Meshy workflow through the
142
+ same authenticated credit, BullMQ/Redis, and R2 generation pipeline. It defaults
143
+ to a Meshy 6 textured A-pose humanoid with browser-oriented remeshing, rigging, and the
144
+ validated idle/walk/run/jump pack. `--animation <id-or-query>` is repeatable;
145
+ `--height`, `--polycount`, `--no-controller-pack`, and `--no-wait` adjust the
146
+ request. The CLI prints an atomic component quote before enqueueing.
147
+
148
+ Search before spending:
149
+
150
+ ```bash
151
+ genex animations search "rifle reload" --json
152
+ genex character animate <character-id> --action <action-id>
153
+ genex controller character --character <character-id>
154
+ ```
155
+
156
+ Search is deterministic and local. Results include numeric action IDs, stable
157
+ keys, previews, motion policy, controller suitability, requirements, review
158
+ status, and estimated cost. Ambiguous text queries return ranked candidates;
159
+ already-installed actions are not charged again. The controller command writes
160
+ `public/assets/meshy-character.json`, whose permanent R2 URLs point at the
161
+ current rigged model and compact same-signature animation GLBs. Re-run it after
162
+ adding actions to refresh the manifest without overwriting existing controller
163
+ source. The default `genex controller character` behavior remains VRM + UAL.
164
+
134
165
  ## Install / run
135
166
 
136
167
  From the monorepo root (the CLI runs directly via Node — no build step):