pixverse-ai-cli 1.1.10 → 1.1.12
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 +20 -0
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -129,6 +129,16 @@ Local image inputs larger than `1920x1920` or `5MB` are automatically resized/co
|
|
|
129
129
|
pixverse create video --prompt "A cat walking on Mars" --model v6 --quality 720p --aspect-ratio 16:9
|
|
130
130
|
```
|
|
131
131
|
|
|
132
|
+
### Prompts from stdin
|
|
133
|
+
|
|
134
|
+
Pass `-` to `--prompt` (or `--tts-text`) to read the value from stdin. Handy for long or multi-line prompts and for piping output from another tool without fighting shell quoting:
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
echo "A neon city skyline at dusk, slow drone shot" | pixverse create video --prompt -
|
|
138
|
+
cat scene.txt | pixverse create image --prompt - --json
|
|
139
|
+
some-prompt-generator | pixverse create speech --video <id> --tts-text -
|
|
140
|
+
```
|
|
141
|
+
|
|
132
142
|
### Image to Video
|
|
133
143
|
|
|
134
144
|
```bash
|
|
@@ -304,6 +314,15 @@ pixverse account slots --json
|
|
|
304
314
|
pixverse subscribe
|
|
305
315
|
```
|
|
306
316
|
|
|
317
|
+
### Keeping the CLI up to date
|
|
318
|
+
|
|
319
|
+
```bash
|
|
320
|
+
# Update to the latest published version
|
|
321
|
+
pixverse update
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
When run interactively, the CLI checks the npm registry at most once per day and prints a one-line "update available" notice to **stderr** (never to stdout, so `--json` output stays clean). The check is skipped in `--json`/`-p` mode, in CI, and when stdout/stderr is piped.
|
|
325
|
+
|
|
307
326
|
### Configuration
|
|
308
327
|
|
|
309
328
|
```bash
|
|
@@ -396,6 +415,7 @@ pixverse asset download "$VID" --dest ./output/
|
|
|
396
415
|
| `account usage` | View credit usage |
|
|
397
416
|
| `account slots` | View current concurrent generation slots (image / video) |
|
|
398
417
|
| `subscribe` | Open subscription page |
|
|
418
|
+
| `update` | Update the CLI to the latest version (`npm i -g pixverse@latest`) |
|
|
399
419
|
| `config set` | Set a config value |
|
|
400
420
|
| `config get` | Get a config value |
|
|
401
421
|
| `config list` | List all config values |
|