@nolgia/cli 0.2.2 → 0.2.4
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 +65 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,72 @@
|
|
|
1
1
|
# @nolgia/cli
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Command line interface for the [Nolgia](https://nolgia.ai) generative media platform: images, video (including native multi-shot sequences), and audio from your terminal or from AI agents
|
|
4
|
+
|
|
5
|
+
This package downloads the prebuilt `nolgia` binary for your platform during postinstall (macOS universal, Linux x86_64, Windows x86_64) and exposes it as `nolgia` on your PATH. The binary is the same one attached to each [GitHub release](https://github.com/nolgiacorp/nolgia-cli/releases)
|
|
6
|
+
|
|
7
|
+
## Install
|
|
4
8
|
|
|
5
9
|
```bash
|
|
6
10
|
npm install -g @nolgia/cli
|
|
7
|
-
nolgia auth login
|
|
8
11
|
```
|
|
9
12
|
|
|
10
|
-
|
|
13
|
+
Other install paths (Homebrew, cargo, curl installer, raw binaries) are covered in the [repository README](https://github.com/nolgiacorp/nolgia-cli#installation)
|
|
14
|
+
|
|
15
|
+
## Quick start
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
nolgia auth login # device-code sign-in via your browser
|
|
19
|
+
nolgia models list # live model catalog with capabilities and credit pricing
|
|
20
|
+
|
|
21
|
+
nolgia gen image --model flux-pro --prompt "A futuristic city at sunset" --out city.png
|
|
22
|
+
|
|
23
|
+
nolgia gen video --model veo-3.1 --prompt "A slow dolly through a neon atelier" \
|
|
24
|
+
--duration-seconds 8 --out clip.mp4
|
|
25
|
+
|
|
26
|
+
nolgia gen video --model fal-ai/bytedance/seedance/v2/pro/text-to-video \
|
|
27
|
+
--prompt "Gritty 35mm film look" \
|
|
28
|
+
--shot "8:WIDE SHOT. Rural highway, a single car heading south|engine, wind" \
|
|
29
|
+
--shot "4:MCU. The driver glances at the dead radio|AM static cuts out" \
|
|
30
|
+
--generate-audio true --out sequence.mp4
|
|
31
|
+
|
|
32
|
+
nolgia gen audio --model fal-ai/elevenlabs/tts/eleven-v3 --prompt "Welcome to Nolgia" --out hello.mp3
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Highlights
|
|
36
|
+
|
|
37
|
+
`nolgia gen video` supports text-to-video and image-to-video; pass `--input` with a local file or an asset UUID. Models with native image input like Veo and Omni Flash take it directly, while Kling and Seedance switch to their image-to-video variants. Multi-shot sequences are first class through repeated `--shot SECONDS:PROMPT|AUDIO` flags; the platform composes the cut natively
|
|
38
|
+
|
|
39
|
+
Costs are transparent: `nolgia gen video --cost-only` prints the credit estimate from the live catalog before you spend anything, and `nolgia models list` shows per-model pricing and capabilities
|
|
40
|
+
|
|
41
|
+
Every command takes `--json` for machine-readable output, which is how agent pipelines drive the CLI. Authentication accepts a browser device-code flow (`nolgia auth login`) or a personal access token via `--token` / `NOLGIA_TOKEN`
|
|
42
|
+
|
|
43
|
+
## Command overview
|
|
44
|
+
|
|
45
|
+
| Command | Purpose |
|
|
46
|
+
|---|---|
|
|
47
|
+
| `nolgia auth login` / `status` / `logout` | Device-code sign-in, token storage in the system keyring |
|
|
48
|
+
| `nolgia gen image` / `video` / `audio` | Submit generations, wait, and download results |
|
|
49
|
+
| `nolgia status` / `wait` | Inspect or block on a job |
|
|
50
|
+
| `nolgia assets list` / `get` / `upload` / `delete` / `tag` | Manage generated and uploaded assets, including tags |
|
|
51
|
+
| `nolgia characters list` / `get` / `create` / `update` / `delete` | Reusable characters with reference images |
|
|
52
|
+
| `nolgia projects list` / `get` / `create` / `update` / `delete` / `add-assets` / `remove-asset` | Group assets into projects |
|
|
53
|
+
| `nolgia models list` / `get` | Live model catalog, capabilities, credit pricing |
|
|
54
|
+
| `nolgia account` / `billing` | Usage, credits, and billing portal links |
|
|
55
|
+
| `nolgia pat create` / `list` / `revoke` | Personal access tokens for API use |
|
|
56
|
+
| `nolgia skills list` / `show` / `install` | Bundled skills for Claude Code and other agents |
|
|
57
|
+
| `nolgia completion <shell>` | Shell completions |
|
|
58
|
+
|
|
59
|
+
## Environment
|
|
60
|
+
|
|
61
|
+
| Variable | Effect |
|
|
62
|
+
|---|---|
|
|
63
|
+
| `NOLGIA_TOKEN` | PAT (`nol_...`) or JWT used instead of the keyring |
|
|
64
|
+
| `NOLGIA_API_URL` | Override the API base URL |
|
|
65
|
+
| `NOLGIA_NO_UPDATE_CHECK` | Disable the once-daily update hint |
|
|
66
|
+
| `NOLGIA_SURFACE` | Self-identify agent traffic |
|
|
67
|
+
|
|
68
|
+
Full documentation, the OpenAPI-generated client, and the development guide live in the [repository](https://github.com/nolgiacorp/nolgia-cli). The platform itself is documented at [nolgia.ai](https://nolgia.ai)
|
|
69
|
+
|
|
70
|
+
## License
|
|
71
|
+
|
|
72
|
+
MIT
|