batchedits 1.6.0 → 1.7.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 +1 -1
- package/dist/cli.js +6 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ Needs Node.js 18.17+ and a [BatchEdits](https://batchedits.com) account (7-day f
|
|
|
19
19
|
| `login` / `logout` / `whoami` | Sign in through your browser; check the connection |
|
|
20
20
|
| `styles` | List your styles |
|
|
21
21
|
| `actions` | List editing actions and their settings |
|
|
22
|
-
| `style create <name> [--captions] [--emojis] [--silence] [--repeats] [--crop 9:16] [--zoom] [--clips [n]] [--hook] [--hook-clip <id or words>] [--broll] [--cta [text]] [--sfx] [--set action.setting=value…]` | Create a style from flags |
|
|
22
|
+
| `style create <name> [--captions] [--emojis] [--silence] [--repeats] [--fillers] [--crop 9:16] [--zoom] [--clips [n]] [--hook] [--hook-clip <id or words>] [--broll] [--cta [text]] [--sfx] [--set action.setting=value…]` | Create a style from flags |
|
|
23
23
|
| `hooks [words]` | Find intro clips for a video hook |
|
|
24
24
|
| `style edit <name> [same flags] [--set …] [--remove <action>…] [--name <new>]` | Change a saved style's edits and settings |
|
|
25
25
|
| `style copy <link\|file\|video id> [--name <name>]` | Create a style copying a reference video's captions, zooms and crop |
|
package/dist/cli.js
CHANGED
|
@@ -398,7 +398,7 @@ var ACTION_ALIASES = {
|
|
|
398
398
|
var SET_HELP = [
|
|
399
399
|
" --set <action.setting=value> Any setting from `batchedits actions` (repeatable). Adds the edit if missing.",
|
|
400
400
|
" captions.position=top|center|bottom captions.fontColor=#FFFFFF captions.highlightColor=#FF6B00",
|
|
401
|
-
" captions.fontSize=64 silence.silentThreshold=0.06 zoom.zoomPercent=125 clips.maxSeconds=60",
|
|
401
|
+
" captions.fontSize=64 silence.silentThreshold=0.06 silence.fillerWords=true zoom.zoomPercent=125 clips.maxSeconds=60",
|
|
402
402
|
" hook.position=top|center|bottom hook.y=0.3 hook.duration=auto|3 hook.source=ai|manual hook.animation=fade|pop|none hook.backgroundColor=#FF6B00",
|
|
403
403
|
' cta.text="Link in bio" cta.duration=auto|5 cta.position=center|top|bottom cta.animation=pop|fade|none',
|
|
404
404
|
" broll.seconds=auto|3 broll.source=mine_first|mine|stock",
|
|
@@ -415,7 +415,7 @@ function upsert(actions, name, params) {
|
|
|
415
415
|
function applyFlagActions(actions, flags) {
|
|
416
416
|
let out = actions;
|
|
417
417
|
if (typeof flags.crop === "string") out = upsert(out, "crop_video", { aspectRatio: flags.crop });
|
|
418
|
-
if (flags.silence) out = upsert(out, "remove_silence");
|
|
418
|
+
if (flags.silence || flags.fillers) out = upsert(out, "remove_silence", flags.fillers ? { fillerWords: true } : void 0);
|
|
419
419
|
if (flags.repeats) out = upsert(out, "remove_repeated_sentences");
|
|
420
420
|
if (flags.captions || flags.emojis) out = upsert(out, "add_captions", flags.emojis ? { emojis: true } : void 0);
|
|
421
421
|
if (flags.zoom) out = upsert(out, "punch_zoom");
|
|
@@ -596,13 +596,14 @@ var commands = {
|
|
|
596
596
|
},
|
|
597
597
|
"style create": {
|
|
598
598
|
summary: "Create a style from simple flags",
|
|
599
|
-
usage: "batchedits style create <name> [--captions] [--emojis] [--silence] [--crop 9:16] [--zoom] [--clips [n]] [--repeats] [--hook] [--broll] [--cta [text]] [--sfx] [--set action.setting=value\u2026]",
|
|
599
|
+
usage: "batchedits style create <name> [--captions] [--emojis] [--silence] [--crop 9:16] [--zoom] [--clips [n]] [--repeats] [--fillers] [--hook] [--broll] [--cta [text]] [--sfx] [--set action.setting=value\u2026]",
|
|
600
600
|
help: [
|
|
601
601
|
"Creates a reusable style. Order of edits: crop, silence, repeats, captions, zoom, AI clips.",
|
|
602
602
|
" --captions Auto captions (word-by-word highlight)",
|
|
603
603
|
" --emojis Add AI-picked emojis to the captions",
|
|
604
604
|
" --silence Remove silences and dead air",
|
|
605
605
|
" --repeats Remove repeated takes of the same sentence",
|
|
606
|
+
' --fillers Also cut filler words (um, uh, filler "like" / "you know"); turns on --silence',
|
|
606
607
|
" --crop <ratio> Crop every video, e.g. 9:16, 1:1, 4:5",
|
|
607
608
|
" --zoom Zoom in on key moments",
|
|
608
609
|
" --clips [n] Cut long videos into n short clips (default 10; 1 credit per clip)",
|
|
@@ -817,7 +818,7 @@ Next: batchedits status ${positionals.join(" ")} --watch`);
|
|
|
817
818
|
};
|
|
818
819
|
|
|
819
820
|
// src/cli.ts
|
|
820
|
-
var VERSION = true ? "1.
|
|
821
|
+
var VERSION = true ? "1.7.0" : "dev";
|
|
821
822
|
var FLAG_OPTIONS = {
|
|
822
823
|
help: { type: "boolean", short: "h" },
|
|
823
824
|
version: { type: "boolean", short: "v" },
|
|
@@ -832,6 +833,7 @@ var FLAG_OPTIONS = {
|
|
|
832
833
|
emojis: { type: "boolean" },
|
|
833
834
|
silence: { type: "boolean" },
|
|
834
835
|
repeats: { type: "boolean" },
|
|
836
|
+
fillers: { type: "boolean" },
|
|
835
837
|
crop: { type: "string" },
|
|
836
838
|
zoom: { type: "boolean" },
|
|
837
839
|
clips: { type: "string" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "batchedits",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "BatchEdits CLI, SDK and React widgets: edit up to 50 videos at once from your terminal or AI agent (Claude Code, OpenClaw, Hermes)",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|