@celljs/ta-creator 4.34.0 → 4.35.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.en.md +2 -2
- package/README.md +2 -2
- package/bin/render.mjs +284 -149
- package/host/index.mjs +303 -161
- package/package.json +3 -3
- package/skills/creator-make/SKILL.md +8 -4
- package/web/index.js +691 -27
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/ta-creator",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.35.0",
|
|
4
4
|
"description": "A pi package for Ta: a channel of content without showing your face, hot topics of your field found three times a day, videos and posts made for each platform, reviewed on your phone and published for you once passed",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"watch": "tsc -b -w --preserveWatchOutput"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@celljs/ta-protocol": "4.
|
|
33
|
-
"@celljs/ta-web": "4.
|
|
32
|
+
"@celljs/ta-protocol": "4.35.0",
|
|
33
|
+
"@celljs/ta-web": "4.35.0",
|
|
34
34
|
"@types/react": "^19.3.0"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
@@ -77,8 +77,11 @@ people in the news, films and shows of others, or anything of the user's employe
|
|
|
77
77
|
`episode.json` of that series. A title scene is the
|
|
78
78
|
host speaking it in bubbles (a title as `第一步`, `窍门二` is a badge); `code` is a terminal typed a line at a time
|
|
79
79
|
(at most 14 lines, 22 when tall, 60 columns; a line starting `$ ` is a command); `phone` is a phone showing a
|
|
80
|
-
terminal, its `notify` coming in at the end; `points` are written in a notebook by hand
|
|
81
|
-
|
|
80
|
+
terminal, its `notify` coming in at the end; `points` are written in a notebook by hand; `flow` is boxes joined by
|
|
81
|
+
arrows under its `title`, coming in one at a time (`["模型", "搜索", "模型", "读取", "模型"]`: a box named more than
|
|
82
|
+
once is green, so a loop shows its round trips; keep a flow of 2–4 boxes for what goes in and what comes out). `note`
|
|
83
|
+
puts a short line beside the terminal or the phone, or under the flow. Mix them: never two scenes alike in a row, a
|
|
84
|
+
device or a flow every other scene or so; a concept worth a picture is a `flow`, not the host talking for 20 seconds.
|
|
82
85
|
`look` (`paper`, `ink`, `sketch`) changes the background of one scene or, on the piece, of all. Each scene lasts as
|
|
83
86
|
long as its `say`. The voice is the neural voice Xiaoxiao (`zh-CN-XiaoxiaoNeural`, read online by edge-tts, from a Python that has
|
|
84
87
|
it: `TA_CREATOR_PYTHON`, `~/lemo-opuscar/.venv/bin/python` or `python3`), unless `settings` or `voice` names
|
|
@@ -97,7 +100,7 @@ people in the news, films and shows of others, or anything of the user's employe
|
|
|
97
100
|
ask the user to install it. It draws the pictures with the browser of this computer (Chrome, Edge, Brave or
|
|
98
101
|
Chromium, without a window; `TA_CREATOR_CHROME` names another); without one it draws them plainly, without the host,
|
|
99
102
|
and you tell the user so. It writes `<shape>.mp4` (`16x9.mp4`, `9x16.mp4`, `3x4.mp4`), `cover-<shape>.png`,
|
|
100
|
-
`captions.srt` and `voice.m4a`; with `--post`, `post-<shape>-01.png`… Every picture carries the label "AI 合成";
|
|
103
|
+
`captions.srt` and `voice.m4a`; with `--post`, `post-<shape>-01.png`… Every picture but the cover carries the label "AI 合成";
|
|
101
104
|
the captions are burned in. Look at a few frames (`ffmpeg -ss <s> -i 16x9.mp4 -frames:v 1 f.png`) before going on.
|
|
102
105
|
A screen recording may stand for a scene when the user made one; never record their screen yourself.
|
|
103
106
|
3. **Versions.** One for each platform of `brief make`, in its form there: a video or the pictures of a post in its
|
|
@@ -105,8 +108,9 @@ people in the news, films and shows of others, or anything of the user's employe
|
|
|
105
108
|
figures, the source linked; its words also in `text`); a note as a few lines in `text` (files optional, a picture or
|
|
106
109
|
two). A title and words in the platform's voice (B站 a title that says what one learns; 小红书 a title with a number and
|
|
107
110
|
a feeling, words short with line breaks; 视频号 one plain line; an article a title that says what one gets), 3–6 tags.
|
|
111
|
+
No line in the words saying it was made with AI ("本视频画面、配音与字幕由 AI 生成"): the platform's declaration says it.
|
|
108
112
|
Keep them with `update <id> '{"versions": [{ "platform", "form", "title", "text", "tags", "files", "cover" }]}'`.
|
|
109
|
-
4. **Checks.** Before review check, and keep each as `{ text, ok }` with `update`: the AI label is on every picture;
|
|
113
|
+
4. **Checks.** Before review check, and keep each as `{ text, ok }` with `update`: the AI label is on every picture but the cover;
|
|
110
114
|
the declaration of AI content each platform asks for will be ticked (its `declare` in settings); nothing private
|
|
111
115
|
(names, paths, tokens, a private repository); nothing of the user's company in a public piece (else internal, as
|
|
112
116
|
above); each version fits its platform (length, number of pictures); a work explained names its source; no version
|