reelforge 1.19.1 → 1.20.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/dist/commands/create.js +3 -6
- package/package.json +1 -1
package/dist/commands/create.js
CHANGED
|
@@ -194,10 +194,8 @@ function optsToBody(opts) {
|
|
|
194
194
|
out.subtitle_background = opts.subtitleBackground;
|
|
195
195
|
if (opts.subtitleBottom !== undefined && Number.isFinite(opts.subtitleBottom))
|
|
196
196
|
out.subtitle_bottom_px = opts.subtitleBottom;
|
|
197
|
-
if (opts.
|
|
198
|
-
out.
|
|
199
|
-
if (opts.theme !== undefined && opts.theme.trim())
|
|
200
|
-
out.theme = opts.theme.trim();
|
|
197
|
+
if (opts.profile !== undefined && opts.profile.trim())
|
|
198
|
+
out.profile = opts.profile.trim();
|
|
201
199
|
if (opts.subtitleTranslate !== undefined) {
|
|
202
200
|
const v = opts.subtitleTranslate.trim();
|
|
203
201
|
out.subtitle_translate_to = /^(off|none|no)$/i.test(v) ? "" : v;
|
|
@@ -299,8 +297,7 @@ export function registerCreate(program) {
|
|
|
299
297
|
.option("--subtitle-color <css>", "override subtitle text color, e.g. '#ffeb3b'. Omit for preset default.")
|
|
300
298
|
.option("--subtitle-background <css>", "override plate-preset background, e.g. 'rgba(20,30,80,0.75)'. Other presets ignore.")
|
|
301
299
|
.option("--subtitle-bottom <px>", "override the subtitle bottom offset in px (default 400, the lower-third position). blur-bg/letterbox images move up to clear it.", (v) => parseInt(v, 10))
|
|
302
|
-
.option("--
|
|
303
|
-
.option("--theme <id>", "single visual theme for the whole video: neo-brutal | bloomberg | editorial | terminal | swiss | liquid-glass | y2k | neon | bauhaus | ios | prime (财经/金融). Only used with --components. Omit → inferred from the script.")
|
|
300
|
+
.option("--profile <id>", "视频的「场景」(垂类):plain(默认,纯 AI 图,无组件)| finance(财经/金融,数据组件 + 鎏金深蓝)| mindset(财商认知,认知组件 + 暖纸黏土)| general(通用组件,中性皮)。选了 profile 即带出它的组件、配色、配图风、封面与字幕默认,可被其他 flag 覆盖。")
|
|
304
301
|
.option("--subtitle-translate <lang>", "双语字幕:把每条字幕翻译成指定语言,以小一号文字显示在主字幕下方,如 'en'(英文)/ 'ja'(日文)。开启后字幕分段自动变短(主字幕保持单行)。默认:开(en);传 'off' 关闭(也可覆盖 recipe 设置)")
|
|
305
302
|
.option("--cover", "给视频加一张设计封面图作为首帧。抖音/TikTok/视频号默认抓取首帧当 9 宫格缩略图——加了 cover 在 feed 里更出挑;不加则首帧是 scene-01 + 字幕。也可由 recipe 自动启用(cover.enabled=true)。")
|
|
306
303
|
.option("--no-cover", "强制关闭封面,无视 recipe 设置")
|