aicut-cli 0.0.0-stage → 0.1.1

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.
Files changed (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +65 -2
  3. package/dist/aicut.mjs +3428 -0
  4. package/package.json +42 -4
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 aicut
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,66 @@
1
- # Temporary Holding Version
1
+ # aicut
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Make AI video, images and audio from your terminal or your coding agent. `aicut` is the command line for [aicut](https://www.aicut.pro), an AI short-form video platform: text to video, image to video, image generation, voiceovers, story episodes and posting, on models like Kling, Veo, Seedance, Wan, Flux and Nano Banana.
4
+
5
+ Every job is priced before it runs. A person in a terminal is asked y/N; an agent or a script without a terminal is refused unless it passes `--max-tokens`. Nothing is spent by surprise.
6
+
7
+ ## Install
8
+
9
+ ```
10
+ npm i -g aicut-cli
11
+ aicut login
12
+ ```
13
+
14
+ Needs Node 20 or later. `aicut login` opens your browser to sign in to aicut and approve the CLI; on a machine with no browser, `aicut login --no-browser` prints the address to open elsewhere. `aicut account` shows who you are and your token balance.
15
+
16
+ ## Five commands to start
17
+
18
+ ```
19
+ # 1. See what you can make, and what it costs
20
+ aicut models list --type video
21
+
22
+ # 2. A picture: --estimate prints the price and charges nothing
23
+ aicut generate image --model flux-2-pro --prompt "a lighthouse in a storm, film still" \
24
+ --aspect-ratio 9:16 --resolution 1k --estimate
25
+
26
+ # 3. Text to video: run it, wait for the result and save it
27
+ aicut generate video --model veo-3.1-fast --prompt "a fox running through snow at dawn" \
28
+ --aspect-ratio 9:16 --resolution 720p --duration 4 --wait -o fox.mp4
29
+
30
+ # 4. Image to video: a local file is uploaded for you
31
+ aicut generate video --model seedance-2.0-fast --prompt "the camera slowly pushes in" \
32
+ --start-image ./photo.png --aspect-ratio 9:16 --resolution 720p --duration 5 --wait -o push-in.mp4
33
+
34
+ # 5. A voiceover
35
+ aicut voices --usable-for audio --limit 5
36
+ aicut generate audio --model elevenlabs-tts-v3 --text "Welcome to the channel." --voice <voice-id> --wait -o intro.mp3
37
+ ```
38
+
39
+ Fields are the model's own published names (`aicut models get <model>` lists them, with the media flags and prices), so a new model needs no new release of the CLI. The full catalogue is in [MODELS.md](https://github.com/aicut-pro/cli/blob/main/MODELS.md). `aicut --help` lists everything else: story episodes, cast and characters, trend formats (`niche`), fake-text chat videos, image stories, upscaling and other transforms, video analysis, trends, and posting to TikTok, YouTube and Instagram.
40
+
41
+ ## How spending works
42
+
43
+ Creating anything costs tokens from your aicut balance. Every create is quoted first.
44
+
45
+ - In a terminal you see the price and your balance and answer y/N. `--max-tokens N --yes` skips the question and refuses a quote above N.
46
+ - Without a terminal (an agent, a script, CI) the CLI refuses unless you pass `--max-tokens N`; `--yes` counts only together with it. Run with `--estimate` first, read the price, then pass that price as `--max-tokens`.
47
+ - Firing a story episode needs `--confirm-fire`, and publishing a post needs `--confirm-publish`.
48
+
49
+ Top up at https://www.aicut.pro/billing. Add `--json` to any command for the raw API response on stdout; prices and progress go to stderr.
50
+
51
+ ## For coding agents
52
+
53
+ - Skills for Claude Code, Codex, Cursor and other agents that drive this CLI: `npx skills add aicut-pro/skills` ([aicut-pro/skills](https://github.com/aicut-pro/skills)). They teach the agent to estimate, tell you the price and wait for your go.
54
+ - Prefer a hosted connection to a CLI? aicut is also an MCP server: https://www.aicut.pro/mcp
55
+
56
+ For CI and headless machines, set `AICUT_API_KEY` instead of running `aicut login`. `aicut logout` removes the saved session on this machine only; to sign the CLI out everywhere, remove it under Connected apps at https://www.aicut.pro/account/settings.
57
+
58
+ ## Links
59
+
60
+ - aicut: https://www.aicut.pro
61
+ - Models and prices: [MODELS.md](https://github.com/aicut-pro/cli/blob/main/MODELS.md)
62
+ - Skills: https://github.com/aicut-pro/skills
63
+ - MCP server: https://www.aicut.pro/mcp
64
+ - Issues: https://github.com/aicut-pro/cli/issues
65
+
66
+ MIT licensed.