folio-gen-studio 0.0.0-stage → 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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 CheehooLabs
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
+ # folio-gen-studio
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 videos and pictures with [Folio Gen Studio](https://gen.stagecontinuity.com) from your
4
+ terminal, and let Claude Code make them for you.
5
+
6
+ ## Set up
7
+
8
+ ```bash
9
+ npm i -g folio-gen-studio
10
+ folio-gen-studio login
11
+ npx skills add CheehooLabs/folio-gen-studio-skills
12
+ ```
13
+
14
+ 1. Installs the `folio-gen-studio` command. It needs Node.js 22 or later.
15
+ 2. Opens your browser to sign in with Google. There is no key to copy.
16
+ 3. Teaches Claude Code to use the command: short dramas, product ads, the same characters in every
17
+ scene, and always telling you the price before spending.
18
+
19
+ New accounts start with no credits: start the free trial or a plan at
20
+ https://gen.stagecontinuity.com/app/billing.
21
+
22
+ ## Make a video
23
+
24
+ Every video and picture costs credits. `price` shows the cost and starts nothing; `video` and
25
+ `image` start only with `--max-credits`, the most you agree to spend.
26
+
27
+ ```bash
28
+ folio-gen-studio price video "A lighthouse in a storm, waves over the rocks" --duration 5 --resolution 480p
29
+ # Price: 15 credits (480p, no video supplied: 5 s at 3 credits a second).
30
+
31
+ folio-gen-studio video "A lighthouse in a storm, waves over the rocks" --duration 5 --resolution 480p \
32
+ --max-credits 15 --idempotency-key lighthouse-1 --download
33
+ # Saves ./folio-gen-studio/<job ID>.mp4 when it is done.
34
+ ```
35
+
36
+ If the price went up after you saw it, nothing is started or charged. Run the same command with the same
37
+ `--idempotency-key` after a lost answer, and nothing is started or charged twice.
38
+
39
+ ## Commands
40
+
41
+ | Command | What it does |
42
+ |---|---|
43
+ | `login`, `logout`, `whoami` | Sign in with Google in your browser, sign out, or show how you are signed in. |
44
+ | `balance` | Your credits and plan. |
45
+ | `models` | The models, their modes, settings and prices. |
46
+ | `price video ...`, `price image ...` | What a video or picture costs. Starts nothing. |
47
+ | `video ...`, `image ...` | Make a video or pictures. Needs `--max-credits`. |
48
+ | `jobs`, `jobs status <job ID>`, `jobs wait <job ID>...` | Your jobs, one job, or wait for some to finish. |
49
+ | `download <job ID>...` | Save results into `./folio-gen-studio/` (or `--to <folder>`). |
50
+ | `upload <file>...` | Send pictures, clips or sounds to use as references. |
51
+ | `projects`, `projects create <name>` | Your projects, or make one. |
52
+ | `elements`, `elements save <med_...> --name <name> --type character` | Saved characters, places and props. |
53
+ | `skills`, `skills show <name>` | The Claude Code skills for this tool. |
54
+
55
+ Every command has `--help` and `--json`.
56
+
57
+ ## Settings
58
+
59
+ | Variable | What it does |
60
+ |---|---|
61
+ | `FOLIO_GEN_STUDIO_URL` | The app's address. Default: `https://gen.stagecontinuity.com`. |
62
+ | `FOLIO_GEN_STUDIO_API_KEY` | An API key (`fgs_...`) made in the web studio, used instead of `login`. For scripts and servers. |
63
+ | `FOLIO_GEN_STUDIO_CONFIG_DIR` | Where the sign-in is kept. Default: `~/.config/folio-gen-studio`. |
64
+
65
+ The sign-in is kept in `credentials.json` in that folder, readable only by you (mode 600). It is
66
+ renewed by itself and never printed. `folio-gen-studio logout` ends it on the app and deletes it here.
@@ -0,0 +1,51 @@
1
+ folio-gen-studio bundles these libraries. Their licences follow.
2
+
3
+ ulid 3.0.2 (MIT)
4
+
5
+ The MIT License (MIT)
6
+
7
+ Copyright (c) 2017 Alizain Feerasta
8
+
9
+ Permission is hereby granted, free of charge, to any person obtaining a copy
10
+ of this software and associated documentation files (the "Software"), to deal
11
+ in the Software without restriction, including without limitation the rights
12
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13
+ copies of the Software, and to permit persons to whom the Software is
14
+ furnished to do so, subject to the following conditions:
15
+
16
+ The above copyright notice and this permission notice shall be included in all
17
+ copies or substantial portions of the Software.
18
+
19
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25
+ SOFTWARE.
26
+
27
+ ------------------------------------------------------------------------
28
+
29
+ zod 4.6.7 (MIT)
30
+
31
+ MIT License
32
+
33
+ Copyright (c) 2025 Colin McDonnell
34
+
35
+ Permission is hereby granted, free of charge, to any person obtaining a copy
36
+ of this software and associated documentation files (the "Software"), to deal
37
+ in the Software without restriction, including without limitation the rights
38
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
39
+ copies of the Software, and to permit persons to whom the Software is
40
+ furnished to do so, subject to the following conditions:
41
+
42
+ The above copyright notice and this permission notice shall be included in all
43
+ copies or substantial portions of the Software.
44
+
45
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
46
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
47
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
48
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
49
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
50
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
51
+ SOFTWARE.