@aswless_854771076/ai_short_studio_cli 0.1.172 → 0.1.173

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.
@@ -1,5 +1,6 @@
1
1
  import { BaseCommand } from '../../../base-command.js';
2
2
  export default class CanvasNodeAdd extends BaseCommand {
3
+ static examples: string[];
3
4
  static args: {
4
5
  kind: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
5
6
  };
@@ -2,11 +2,14 @@ import { Args, Flags } from '@oclif/core';
2
2
  import { BaseCommand } from '../../../base-command.js';
3
3
  import { commandApi, projectFlag, readJsonInput } from '../../../command-helpers.js';
4
4
  export default class CanvasNodeAdd extends BaseCommand {
5
+ static examples = [
6
+ '<%= config.bin %> canvas node add recreation-transcribe --project PROJECT_ID --config asr.json --json',
7
+ ];
5
8
  static args = { kind: Args.string({ required: true }) };
6
9
  static flags = {
7
10
  ...BaseCommand.baseFlags, project: projectFlag, x: Flags.integer({ default: 0 }), y: Flags.integer({ default: 0 }), title: Flags.string(),
8
11
  'asset-id': Flags.string({ description: '绑定已有媒体资产 ID,仅用于 image、video、audio 节点' }),
9
- config: Flags.string({ description: '配置 JSON 文件,例如 video-frame-extract 使用 {"position":"first"}' }),
12
+ config: Flags.string({ description: '配置 JSON 文件;字幕 ASR 使用 {"task":"transcription","responseFormat":"verbose_json","language":"auto"},创建后连接一个 video 或 audio 来源' }),
10
13
  'source-format': Flags.string({ description: '手写分镜来源格式;仅用于 storyboard-resource', options: ['screenplay-json.v1', 'screenplay-markdown.v1'] }),
11
14
  platform: Flags.string({ description: '专业拆镜发布平台,默认 short-drama', dependsOn: ['source-format'] }),
12
15
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aswless_854771076/ai_short_studio_cli",
3
- "version": "0.1.172",
3
+ "version": "0.1.173",
4
4
  "description": "VVICAT 无限画布项目命令行工具",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -61,6 +61,10 @@ ai-short-studio canvas workflow status --project <projectId> --json
61
61
 
62
62
  音乐节点使用 `music-generate`,输出 AUDIO。`prompt` 必填,可配置 `model`、`title`、`tags`、`lyrics` 和 `makeInstrumental`;`lyrics` 与 `makeInstrumental: true` 不能同时提交。`--config` 读取 JSON 文件,不接受内联 JSON 字符串。
63
63
 
64
+ 首次制作先询问是否需要独立配乐,沿用用户已确认的选择并记录到声音计划 `music`;需要时真正执行 Suno 纯音乐节点,再把已选 AUDIO 接入混音,不只提供配乐文字方案。
65
+
66
+ 字幕转写可创建 `recreation-transcribe`,config 使用 `task=transcription`、`responseFormat=verbose_json`、`language=auto`,只连接一个 `video` 或 `audio` 来源。视频会提取真实整轨,最长 180 秒,超限明确失败;保留上游原文和分段时间,不能从剧本或字数补时间。该节点是媒体工具,不是旧分析流水线入口。内置剪辑链将已完成转写的 `text` 接到 `drama-edit-plan.captions`,捕获来源精确版本与 SHA;翻译字幕通过 effects.subtitle_language 和 subtitle_translations 逐条绑定 asr_version_id、cue_index、language、text,沿用原声时间,每次渲染一个语言的 SRT/烧录。CLI 自有初剪按 editing-delivery 的真实音轨流程处理,不把该内置合同当成任意本地工程入口。
67
+
64
68
  ```json
65
69
  {
66
70
  "model": "starrouter::suno_music",