@genex-ai/cli-demo 1.33.0-dev.684 → 1.33.0-dev.686
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/dist/index.js
CHANGED
|
@@ -23660,10 +23660,12 @@ ${c.bold("Options for the generators (`model` `sfx` `music` `voice` `texture` `i
|
|
|
23660
23660
|
matte (BiRefNet soft alpha \u2014 hair/glow/smoke edges).
|
|
23661
23661
|
--loop (video) generate a seamless loop; (sfx) an ambient bed
|
|
23662
23662
|
generated to close on itself, for setLoop(true).
|
|
23663
|
-
--resolution <r> (video) 480p | 768p | 2k | 4k (default
|
|
23664
|
-
|
|
23665
|
-
|
|
23666
|
-
it
|
|
23663
|
+
--resolution <r> (video) 480p | 768p | 1080p-native | 2k | 4k (default
|
|
23664
|
+
768p; 1080p-native is a true 1920x1080 render at twice
|
|
23665
|
+
768p's price, for a clip the player really looks at,
|
|
23666
|
+
and it is not available with --frame; 2k/4k are
|
|
23667
|
+
upscales of the same base and cost more; 480p is the
|
|
23668
|
+
cost opt-down; loop clips ignore it, model default).
|
|
23667
23669
|
--frame <url|file> (video) animate from THIS frame back to itself (seamless
|
|
23668
23670
|
loop) \u2014 an asset URL or a local image file (\u22644 MB).
|
|
23669
23671
|
--start-frame <url|file> (video) continue from this exact frame, no end
|
|
@@ -24648,8 +24650,8 @@ function applyValueFlag(options, flag, value) {
|
|
|
24648
24650
|
options.bgMode = value;
|
|
24649
24651
|
break;
|
|
24650
24652
|
case "--resolution":
|
|
24651
|
-
if (!["480p", "768p", "2k", "4k", "720p", "1080p"].includes(value)) {
|
|
24652
|
-
throw new Error(`Invalid --resolution value: ${value} (expected 480p|768p|2k|4k)`);
|
|
24653
|
+
if (!["480p", "768p", "1080p-native", "2k", "4k", "720p", "1080p"].includes(value)) {
|
|
24654
|
+
throw new Error(`Invalid --resolution value: ${value} (expected 480p|768p|1080p-native|2k|4k)`);
|
|
24653
24655
|
}
|
|
24654
24656
|
options.resolution = value;
|
|
24655
24657
|
break;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genex-ai/cli-demo",
|
|
3
|
-
"version": "1.33.0-dev.
|
|
3
|
+
"version": "1.33.0-dev.686",
|
|
4
4
|
"description": "Set up your project's agent workspace (.claude/.codex/.cursor in the game folder), authorize, create a game project, generate AI assets, and publish (genex CLI).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -15,7 +15,7 @@ still reads as a tech demo.
|
|
|
15
15
|
theme, a menu theme. Tracks are instrumental by design (the API enforces it —
|
|
16
16
|
vocals under gameplay read as karaoke).
|
|
17
17
|
- **Use `$genex-ai-sfx`** for event sounds — impacts, pickups, UI ticks. The
|
|
18
|
-
0.5–
|
|
18
|
+
0.5–30 s sfx lane cannot produce a music bed; don't try.
|
|
19
19
|
|
|
20
20
|
**The default plan is ONE track:** a ~90 s loopable gameplay track, reused on
|
|
21
21
|
the menu (same URL, lower volume). Propose extra tracks (boss/menu-specific) as
|
|
@@ -14,7 +14,7 @@ npx genex sfx "<prompt>"
|
|
|
14
14
|
npx genex sfx "punchy laser zap, short and dry" --duration 2
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
`--duration <sec>` (0.5–
|
|
17
|
+
`--duration <sec>` (0.5–30) sets a target length; omit it to let the model pick.
|
|
18
18
|
Describe ONE sound, concretely, in the vendor's own vocabulary where it fits:
|
|
19
19
|
"impact" for a hit, "whoosh" for movement through air, "ambience" for a room
|
|
20
20
|
or weather bed, "drone" for a continuous suspense texture. A sequence is
|
|
@@ -168,7 +168,7 @@ To silence a loop, ride the volume to 0 and leave it running — never `stop()`/
|
|
|
168
168
|
|
|
169
169
|
## Options
|
|
170
170
|
|
|
171
|
-
- `--duration <sec>` — target length 0.5–
|
|
171
|
+
- `--duration <sec>` — target length 0.5–30 (shown in Run above); omit to let
|
|
172
172
|
the model pick.
|
|
173
173
|
- `--no-wait` — enqueue and return immediately (the file won't be downloaded;
|
|
174
174
|
re-run without `--no-wait` to fetch it).
|
|
@@ -140,8 +140,12 @@ See `$genex-threejs-multiplayer` for the `shared` channel rules and the room API
|
|
|
140
140
|
- `--loop` — a seamless loop (for screens, ambient backdrops, video decals).
|
|
141
141
|
- `--duration <sec>` — clip length 5–15; default 5. Only raise it when the content
|
|
142
142
|
genuinely needs more — clips bill per second.
|
|
143
|
-
- `--resolution 480p|768p|2k|4k` — output resolution (default **768p**, the top
|
|
144
|
-
native mode). `
|
|
143
|
+
- `--resolution 480p|768p|1080p-native|2k|4k` — output resolution (default **768p**, the top
|
|
144
|
+
native mode). `1080p-native` is a true 1920×1080 render at **twice** 768p's
|
|
145
|
+
price — worth it for a clip the player really looks at (a cutscene, a menu
|
|
146
|
+
backdrop), wasted on anything small or incidental; it is refused with
|
|
147
|
+
`--frame`, whose seamless loop runs on a model that has no such tier.
|
|
148
|
+
`2k`/`4k` upscale the same base for hero shots at ~2–3× the
|
|
145
149
|
cost; `480p` is the cost opt-down for genuinely incidental clips. `--loop`
|
|
146
150
|
clips ignore it (model default).
|
|
147
151
|
- `--frame <url|file>` — one generated image (or a local file ≤4 MB) as BOTH
|
|
@@ -55,7 +55,7 @@ else. Cut clip-to-clip, or crossfade ~200 ms to hide the residual repaint.
|
|
|
55
55
|
- `--duration <sec>` — target clip length, 5–15 seconds (default 5; clips bill
|
|
56
56
|
per second).
|
|
57
57
|
- `--loop` — a seamless loop.
|
|
58
|
-
- `--resolution <480p|768p|2k|4k>` — default 768p
|
|
58
|
+
- `--resolution <480p|768p|1080p-native|2k|4k>` — default 768p. `1080p-native` renders a true 1920×1080 at twice the price, for a clip the player really looks at (not with `--frame`). `2k`/`4k` upscale the same base at ~2–3× the cost; `480p` is the opt-down for clips where fidelity genuinely does not matter. Loop clips ignore it.
|
|
59
59
|
- `--ref <path|url>` — repeatable, up to 9 subject/style reference images, cited in the prompt as "Image 1"…"Image N" — the way one character or art style holds across many clips. Cannot combine with `--frame`/`--loop`.
|
|
60
60
|
- `--open` — also open it in a browser, for something the user must approve.
|
|
61
61
|
- `--out-dir <dir>` — where the file lands (default `./assets`).
|