pixverse-ai-cli 1.4.4 → 1.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.
- package/README.md +31 -25
- package/dist/capabilities.json +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -382,6 +382,22 @@ pixverse canvas project create \
|
|
|
382
382
|
--json
|
|
383
383
|
```
|
|
384
384
|
|
|
385
|
+
Pass the project ID after the command:
|
|
386
|
+
|
|
387
|
+
```bash
|
|
388
|
+
pixverse canvas graph get 123456789 --json
|
|
389
|
+
pixverse canvas node get 123456789 --node-id image_01 --json
|
|
390
|
+
```
|
|
391
|
+
|
|
392
|
+
To automatically arrange and save the entire project's layout:
|
|
393
|
+
|
|
394
|
+
```bash
|
|
395
|
+
pixverse canvas arrange "$PROJECT_ID" --json
|
|
396
|
+
pixverse canvas graph get "$PROJECT_ID" --json
|
|
397
|
+
```
|
|
398
|
+
|
|
399
|
+
Read the graph after arranging to get the updated positions and `edit_version`.
|
|
400
|
+
|
|
385
401
|
For reliable automation, inspect capabilities → read the project → validate the
|
|
386
402
|
patch → apply the patch → dispatch generated nodes → check node status:
|
|
387
403
|
|
|
@@ -398,22 +414,20 @@ pixverse capabilities canvas \
|
|
|
398
414
|
pixverse canvas node schema --node-type image_generate --json
|
|
399
415
|
|
|
400
416
|
# 3. Read the project and retain edit_version
|
|
401
|
-
pixverse canvas graph get
|
|
417
|
+
pixverse canvas graph get "$PROJECT_ID" --json
|
|
402
418
|
|
|
403
419
|
# 4. Validate and apply the same patch input
|
|
404
|
-
pixverse canvas patch dry-run
|
|
405
|
-
pixverse canvas patch apply
|
|
420
|
+
pixverse canvas patch dry-run "$PROJECT_ID" --patch patch.json --json
|
|
421
|
+
pixverse canvas patch apply "$PROJECT_ID" --patch patch.json --json
|
|
406
422
|
|
|
407
423
|
# 5. Start generation only for diff.executable_node_ids from patch apply
|
|
408
|
-
pixverse canvas dispatch \
|
|
409
|
-
--project-id "$PROJECT_ID" \
|
|
424
|
+
pixverse canvas dispatch "$PROJECT_ID" \
|
|
410
425
|
--node-ids image_01,video_01 \
|
|
411
426
|
--edit-version 13 \
|
|
412
427
|
--json
|
|
413
428
|
|
|
414
429
|
# 6. Check only the nodes involved in this workflow
|
|
415
|
-
pixverse canvas graph status \
|
|
416
|
-
--project-id "$PROJECT_ID" \
|
|
430
|
+
pixverse canvas graph status "$PROJECT_ID" \
|
|
417
431
|
--node-ids image_01,video_01 \
|
|
418
432
|
--json
|
|
419
433
|
```
|
|
@@ -437,10 +451,8 @@ contains a `graph_patch` object without an outer request wrapper. For example,
|
|
|
437
451
|
}
|
|
438
452
|
```
|
|
439
453
|
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
IDs as strings. If the edit version has changed, read the project again and
|
|
443
|
-
rebuild the patch instead of replacing only `base_edit_version`.
|
|
454
|
+
Keep all IDs as strings. If the edit version has changed, read the
|
|
455
|
+
project again and rebuild the patch instead of replacing only `base_edit_version`.
|
|
444
456
|
|
|
445
457
|
For the same project and unchanged patch file, `dry-run` and `apply`
|
|
446
458
|
automatically derive the same stable idempotency key. Use
|
|
@@ -450,39 +462,32 @@ Additional Canvas operations:
|
|
|
450
462
|
|
|
451
463
|
```bash
|
|
452
464
|
# Bind a specific batch of ready nodes to a dispatch plan
|
|
453
|
-
pixverse canvas dispatch rebind \
|
|
454
|
-
--project-id "$PROJECT_ID" \
|
|
465
|
+
pixverse canvas dispatch rebind "$PROJECT_ID" \
|
|
455
466
|
--dispatch-plan-id plan-20260817-001 \
|
|
456
467
|
--node-ids image_01,video_01 \
|
|
457
468
|
--json
|
|
458
469
|
|
|
459
470
|
# After confirmation, dispatch the same nodes with rebind's edit_version
|
|
460
|
-
pixverse canvas dispatch \
|
|
461
|
-
--project-id "$PROJECT_ID" \
|
|
471
|
+
pixverse canvas dispatch "$PROJECT_ID" \
|
|
462
472
|
--dispatch-plan-id plan-20260817-001 \
|
|
463
473
|
--node-ids image_01,video_01 \
|
|
464
474
|
--edit-version "$REBIND_EDIT_VERSION" \
|
|
465
475
|
--json
|
|
466
476
|
|
|
467
477
|
# List, inspect, and apply saved node versions
|
|
468
|
-
pixverse canvas node versions \
|
|
469
|
-
--project-id "$PROJECT_ID" --node-id video_01 \
|
|
478
|
+
pixverse canvas node versions "$PROJECT_ID" --node-id video_01 \
|
|
470
479
|
--page 1 --page-size 20 --json
|
|
471
|
-
pixverse canvas node version \
|
|
472
|
-
--project-id "$PROJECT_ID" --node-id video_01 \
|
|
480
|
+
pixverse canvas node version "$PROJECT_ID" --node-id video_01 \
|
|
473
481
|
--history-id "$HISTORY_ID" --json
|
|
474
|
-
pixverse canvas node version apply \
|
|
475
|
-
--project-id "$PROJECT_ID" --node-id video_01 \
|
|
482
|
+
pixverse canvas node version apply "$PROJECT_ID" --node-id video_01 \
|
|
476
483
|
--history-id "$HISTORY_ID" --json
|
|
477
484
|
|
|
478
485
|
# Run generation again for a specific failed node
|
|
479
|
-
pixverse canvas node rerun \
|
|
480
|
-
--project-id "$PROJECT_ID" --node-id video_01 \
|
|
486
|
+
pixverse canvas node rerun "$PROJECT_ID" --node-id video_01 \
|
|
481
487
|
--edit-version 13 --json
|
|
482
488
|
|
|
483
489
|
# Extract the full audio track from a video node
|
|
484
|
-
pixverse canvas node extract-audio \
|
|
485
|
-
--project-id "$PROJECT_ID" \
|
|
490
|
+
pixverse canvas node extract-audio "$PROJECT_ID" \
|
|
486
491
|
--node-id audio_extract_01 \
|
|
487
492
|
--source-node-id video_01 \
|
|
488
493
|
--json
|
|
@@ -761,6 +766,7 @@ pixverse asset download "$VID" --dest ./output/
|
|
|
761
766
|
| `config path` | Show config file path |
|
|
762
767
|
| `config defaults` | Manage per-mode creation defaults |
|
|
763
768
|
| `canvas project create` | Create an empty Canvas project with an optional name and description |
|
|
769
|
+
| `canvas arrange` | Automatically arrange and save all nodes in a Canvas project |
|
|
764
770
|
| `canvas graph get` | Get a Canvas project's nodes, connections, and edit version |
|
|
765
771
|
| `canvas graph status` | Get the generation status of Canvas nodes |
|
|
766
772
|
| `canvas graph invalid-nodes` | Show Canvas validation issues and invalid node details |
|