reelforge 1.18.2 → 1.19.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.
@@ -228,6 +228,8 @@ function optsToBody(opts) {
228
228
  cover.subtitle = opts.coverSubtitle;
229
229
  if (opts.coverBadge !== undefined)
230
230
  cover.badge = opts.coverBadge;
231
+ if (opts.coverBase !== undefined)
232
+ cover.base = opts.coverBase;
231
233
  if (Object.keys(cover).length > 0)
232
234
  out.cover = cover;
233
235
  if (opts.segmentMinChars !== undefined)
@@ -298,7 +300,7 @@ export function registerCreate(program) {
298
300
  .option("--subtitle-background <css>", "override plate-preset background, e.g. 'rgba(20,30,80,0.75)'. Other presets ignore.")
299
301
  .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))
300
302
  .option("--components", "render data COMPONENTS (charts / cards / terminals / kinetic numbers) for suitable scenes instead of only AI images (default: image-only). Pair with --theme to pick the look.")
301
- .option("--theme <id>", "single visual theme for the whole video: neo-brutal | bloomberg | editorial | terminal | swiss | liquid-glass | y2k | neon | bauhaus | ios. Only used with --components. Omit → inferred from the script.")
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.")
302
304
  .option("--subtitle-translate <lang>", "双语字幕:把每条字幕翻译成指定语言,以小一号文字显示在主字幕下方,如 'en'(英文)/ 'ja'(日文)。开启后字幕分段自动变短(主字幕保持单行)。默认:开(en);传 'off' 关闭(也可覆盖 recipe 设置)")
303
305
  .option("--cover", "给视频加一张设计封面图作为首帧。抖音/TikTok/视频号默认抓取首帧当 9 宫格缩略图——加了 cover 在 feed 里更出挑;不加则首帧是 scene-01 + 字幕。也可由 recipe 自动启用(cover.enabled=true)。")
304
306
  .option("--no-cover", "强制关闭封面,无视 recipe 设置")
@@ -307,6 +309,7 @@ export function registerCreate(program) {
307
309
  .option("--cover-title <text>", "封面大标题(短句更佳,12 字内最稳)。不指定则用 --title 或 AI 自动生成的视频标题")
308
310
  .option("--cover-subtitle <text>", "副标题/一句话标语。不是所有模板都显示 — 看 `rf cover templates --id <id>` 的 supports.subtitle 字段确认 (= true 才会渲染,否则静默忽略)")
309
311
  .option("--cover-badge <text>", "角标/期号/紧急标,如 'EP.012' / '突发' / 'FLASH'。同样看 `rf cover templates --id <id>` 的 supports.badge 字段确认")
312
+ .option("--cover-base <path|url>", "封面底图(模板在其上绘制 title/纸带)。覆盖默认行为——默认按分镜1 自动取底图(AI图→该图 / 用户素材→图或视频首帧 / 组件→组件定格帧)。注意:这是底图,不是成品封面;想直接用一张成品封面请改用 `rf cover prepend`")
310
313
  .option("--brand-handle <text>", "creator handle shown in corner, e.g. '@大灰狼'")
311
314
  .option("--brand-slogan <text>", "creator slogan/tagline shown under handle")
312
315
  .option("--brand-logo <urlOrPath>", "logo/avatar URL or local file path (PNG/JPG/WebP)")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reelforge",
3
- "version": "1.18.2",
3
+ "version": "1.19.1",
4
4
  "description": "AI 视频生成 CLI。一句话主题或自己的脚本 → 自动出抖音/TikTok/视频号竖屏 MP4。安装即用:`reelforge` 或短别名 `rf`。",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",