@shotstack/cli 0.8.4 → 0.10.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 +23 -0
- package/dist/shotstack.js +53 -51
- package/package.json +2 -2
- package/skills/shotstack/SKILL.md +38 -3
- package/skills/shotstack/references/caption.md +1 -1
- package/skills/shotstack/references/generation.md +100 -0
- package/skills/shotstack/references/troubleshooting.md +1 -1
- package/skills/shotstack/shared/agent-core.md +14 -8
package/README.md
CHANGED
|
@@ -141,6 +141,29 @@ shotstack template update <id> my-template.json --name "Promo v2"
|
|
|
141
141
|
shotstack template delete <id>
|
|
142
142
|
```
|
|
143
143
|
|
|
144
|
+
### `shotstack models [id]`
|
|
145
|
+
|
|
146
|
+
Lists the generation models for prompt-driven image, video and audio assets, with whether your API key can use each one. A model your plan doesn't include shows why. Pass a model id to see the options it accepts.
|
|
147
|
+
|
|
148
|
+
```sh
|
|
149
|
+
shotstack models
|
|
150
|
+
# → nano-banana-2 image unavailable: AiCapabilityNotIncluded
|
|
151
|
+
shotstack models seedance-2.0-text-to-video # the JSON Schema for its options
|
|
152
|
+
shotstack models --output json
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
### `shotstack generate <model> <prompt>`
|
|
156
|
+
|
|
157
|
+
Generates one image, video or audio asset from a prompt and prints its URL, without rendering an edit. `--options` takes the model's options as a JSON object (see `shotstack models <model>`). `--length` sets the clip length in seconds for models that generate to a duration. Generation is billed in credits on stage as well as v1; `--quote` prints what that exact request would cost, without generating or charging. Identical requests share one job and its cached result, so repeating a request returns the same job instead of generating and charging again.
|
|
158
|
+
|
|
159
|
+
```sh
|
|
160
|
+
shotstack generate nano-banana-2 "A ceramic mug on a walnut desk, soft window light" --watch
|
|
161
|
+
# → processing 8a1f2c3d-…
|
|
162
|
+
# → done https://…/8a1f2c3d.png
|
|
163
|
+
shotstack generate seedance-2.0-text-to-video "Waves break over black sand at dusk" \
|
|
164
|
+
--options '{"resolution":"480p"}' --length 5 --watch --output json
|
|
165
|
+
```
|
|
166
|
+
|
|
144
167
|
### `shotstack login` / `shotstack logout`
|
|
145
168
|
|
|
146
169
|
Saves (or removes) your API key so it persists across shell sessions. Keys are stored per environment in `~/.shotstack/credentials.json`.
|