@spatius/cli 0.1.0-beta.1 → 0.1.0
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 +1 -37
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,51 +17,15 @@ spatius auth login
|
|
|
17
17
|
spatius setup
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
Approve login
|
|
21
|
-
requests use `https://api.studio.spatius.ai`; development origin settings are
|
|
22
|
-
documented in the [workflow guide](docs/workflows.md). Credentials stay in private user configuration
|
|
23
|
-
storage; commands never print API keys. Setup reuses a dedicated `Spatius CLI` app.
|
|
24
|
-
Use `spatius setup --app-id <id>` to select another app you own.
|
|
25
|
-
|
|
26
|
-
```sh
|
|
27
|
-
spatius avatars create --image ./portrait.png --name Presenter
|
|
28
|
-
spatius avatars jobs wait <avatar-job-id>
|
|
29
|
-
spatius videos create --avatar-id <avatar-id> --audio ./speech.wav --background ./background.png
|
|
30
|
-
spatius videos wait <video-job-id>
|
|
31
|
-
spatius videos download <video-job-id> --output ./video.mp4
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
Inputs accept local files or public HTTP(S) URLs. Local files are uploaded to
|
|
35
|
-
temporary storage and remain available for 24 hours after upload completion.
|
|
36
|
-
Video output follows the service's retention deadline, currently seven days
|
|
37
|
-
after render submission. Save your MP4 before it expires.
|
|
38
|
-
|
|
39
|
-
Commands return JSON on stdout; progress and errors go to stderr. Save the
|
|
40
|
-
`operationId` and `jobId` returned by creation. Resume an interrupted creation with
|
|
41
|
-
`spatius videos create --resume <operation-id>` or
|
|
42
|
-
`spatius avatars create --resume <operation-id>`; do not start a fresh creation
|
|
43
|
-
just because a command timed out.
|
|
20
|
+
Approve login in your local browser.
|
|
44
21
|
|
|
45
22
|
## Use with coding agents
|
|
46
23
|
|
|
47
24
|
```sh
|
|
48
25
|
npx skills add spatius-ai/spatius-cli --skill spatius-shared spatius-avatar spatius-video
|
|
49
|
-
spatius schema
|
|
50
|
-
spatius schema videos create
|
|
51
26
|
```
|
|
52
27
|
|
|
53
|
-
The three skills cover setup, avatar creation, and video generation. The npm
|
|
54
|
-
package includes the matching skills under `skills/`; use those files when an
|
|
55
|
-
exact version match is needed. The GitHub installer above follows the repository
|
|
56
|
-
default branch. Skills and CLI behavior ship together. `--dry-run` previews a
|
|
57
|
-
creation without uploading or submitting it. `--help` describes the installed CLI's options.
|
|
58
|
-
|
|
59
28
|
See the [workflow guide](docs/workflows.md) for input requirements and recovery,
|
|
60
29
|
and the [Spatius API documentation](https://docs.spatius.ai/api-reference/video-generation)
|
|
61
30
|
for service behavior. Repository development instructions are in
|
|
62
31
|
[CONTRIBUTING.md](CONTRIBUTING.md).
|
|
63
|
-
|
|
64
|
-
Prereleases use the npm `beta` channel. After a stable release, install it with
|
|
65
|
-
`npm install -g @spatius/cli`. The executable is always `spatius`. Maintainers can
|
|
66
|
-
find the release workflow and first-time setup in the
|
|
67
|
-
[deployment guide](docs/deployment.md).
|
package/dist/cli.js
CHANGED
|
@@ -2419,7 +2419,7 @@ function readConfig(env = process.env) {
|
|
|
2419
2419
|
// package.json
|
|
2420
2420
|
var package_default = {
|
|
2421
2421
|
name: "@spatius/cli",
|
|
2422
|
-
version: "0.1.0
|
|
2422
|
+
version: "0.1.0",
|
|
2423
2423
|
description: "Spatius avatar and video workflows for coding agents",
|
|
2424
2424
|
type: "module",
|
|
2425
2425
|
license: "MIT",
|