@vibedev-si/dsh-vibedev 0.11.3 → 0.11.6
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 +46 -0
- package/THIRD-PARTY-NOTICES.txt +1 -1
- package/client/client.account-center.js +496 -184
- package/client/client.js +36 -2
- package/lib/audio/request.d.ts +18 -0
- package/lib/audio/voice-profiles.d.ts +23 -0
- package/lib/index.js +108 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,6 +10,31 @@
|
|
|
10
10
|
|
|
11
11
|
本插件由 `dsh-media` 改名而来,见下面的「从 dsh-media 升级」。
|
|
12
12
|
|
|
13
|
+
## 0.11.6 用户可见更新
|
|
14
|
+
|
|
15
|
+
**配音尽量一次生成**:实测同一模型读同一句话,两次生成的时长可以差 2 秒(3.3 秒对 5.3 秒),语速和停顿波动很大。用多次独立调用拼接长旁白时,即使音色一致,节奏也会一段一段不一样。`audio_generate` 的说明(英文,给模型看)现在提醒 Agent:
|
|
16
|
+
|
|
17
|
+
> 同一批配音请尽量一次性连续生成,避免拆成多次独立调用:同一模型对同一段文本的语速和停顿波动较大(实测两次可相差 2 秒),多次调用拼接会导致节奏不一致。确需分段时,请保持相同的参考音频、相同的格式与采样率,并把各段放在同一次任务里连续提交。
|
|
18
|
+
|
|
19
|
+
`prompt`(语音)参数也加了一句:长旁白优先一次生成;必须分段时保持同一组 references 与相同格式。0.11.5 的 `@AudioN` 自动标记已在真机验证:不会念出标记、内容完整,行为不变。
|
|
20
|
+
|
|
21
|
+
## 0.11.5 用户可见更新
|
|
22
|
+
|
|
23
|
+
**语音合成的参考音频终于生效了**:之前传了参考音频,生成出来却总是默认音色,分段生成时每段听起来像不同的人。原因是 Seed Audio 1.0 只认文本里用 `@Audio1` / `@Audio2` / `@Audio3` 点名的参考音频(`references[0]` 对应 `@Audio1`,按上传顺序,最多 3 个),网关不会替我们加这些标记。
|
|
24
|
+
|
|
25
|
+
- **自动加标记**:语音请求带了参考音频、而文本里没有任何 `@AudioN` 时,插件会在发出的文本开头加上 `@Audio1 @Audio2 …`(有几个参考加几个,最多 3 个)。文本里已经写了标记就原样发送。只改发给网关的请求体,你写的原文、会话记录都不变。音乐和播客不受影响。
|
|
26
|
+
- **多角色对白**:每个角色传一个参考音频,在文本里用标记指定谁读哪段,例如 `@Audio1 今天天气真好。@Audio2 是啊,出去走走吧。`。传了多个参考音频却没写标记时,插件仍会在开头加标记,并在日志里提醒「多个参考音频建议在文本中用 @Audio1/@Audio2 指定各自朗读的段落」。
|
|
27
|
+
- **每次建议不超过 400 字**:模型上限 3000 字,但文本越长语速越快。超过 400 字(含加上的标记)时工具结果里会提醒一句,不会拒绝或截断。长旁白请分段生成,**每段都带同一组参考音频**,音色才不会变。加上标记后超过模型上限的,会在提交前直接拒绝。
|
|
28
|
+
- **工具说明重写**:`audio_generate` 的描述里写明:要固定音色就必须提供参考音频;插件会自动加 `@AudioN`;分段生成时每段都要传同一组参考音频;多角色对白怎么用标记。
|
|
29
|
+
|
|
30
|
+
## 0.11.4 用户可见更新
|
|
31
|
+
|
|
32
|
+
**较长的音色样本不再被误判失败,「我的音色」页面重新排版。**
|
|
33
|
+
|
|
34
|
+
- **创建最长可能需要 2–3 分钟,超时后会继续确认**:创建音色的请求单独给了 3 分钟超时(其它请求不变)。如果网关仍没有及时回复(超时、504 或网络中断),插件不会直接报失败,而是继续读音色列表最多 3 分钟,找创建前没有的新音色;找到就当作创建成功。3 分钟内仍没出现,提示「网关处理超时。可能已在网关侧创建,请稍后刷新列表确认;若列表没有,再重试。」(错误码 `VOICE_PROFILE_UNCONFIRMED`,可重试、未扣费)。真正的参数错误(4xx)照旧立即报出。
|
|
35
|
+
- **重试不重复创建**:创建请求的 `Idempotency-Key` 改由样本内容和名称算出(同一份样本 + 同一名称始终相同,换名称就不同)。是否真的去重取决于网关;网关不去重时,靠上面的列表确认兜底。
|
|
36
|
+
- **「我的音色」页面**:页面收窄到和「兑换」页一致的宽度;文件选择改成虚线拖拽区(点击或拖入),选中后显示文件名、时长、大小和「重新选择」;「创建音色」是主色按钮,不能点时在下方说明原因;列表改成标准行(图标、名称、状态胶囊、「时长 · 创建时间」、删除);空列表、读取中、读取失败、网关未开放都有完整的占位。创建等待超过 15 秒会切到「网关处理中」并显示已等待秒数;超时转入「可能已创建,正在确认」,不再直接显示红色报错。
|
|
37
|
+
|
|
13
38
|
## 0.11.3 用户可见更新
|
|
14
39
|
|
|
15
40
|
**音色管理与 Suno 翻唱**:可以用自己的人声建「音色」,再用它做音色翻唱;也可以上传一首歌做翻唱。
|
|
@@ -487,6 +512,27 @@ npm run build
|
|
|
487
512
|
|
|
488
513
|
## English
|
|
489
514
|
|
|
515
|
+
### What changes in 0.11.6
|
|
516
|
+
|
|
517
|
+
**Generate a voice-over in one go**: the same model reading the same sentence twice came out 2 s apart (3.3 s against 5.3 s), so pace and pauses vary a lot from call to call, and a long narration stitched from separate calls changes rhythm part by part even when the voice stays the same. The `audio_generate` description now tells the agent to generate one batch of voice-over in one continuous call where it can, rather than many separate calls; when it must be split, to keep the same references, the same format and sample rate, and to submit the parts one after another in the same piece of work. The `@AudioN` markers of 0.11.5 were checked on the real gateway (no markers read aloud, nothing left out) and are unchanged.
|
|
518
|
+
|
|
519
|
+
### What changes in 0.11.5
|
|
520
|
+
|
|
521
|
+
**Speech reference audio now takes effect**: until now a reference audio was uploaded but the result came out in the default voice, and speech made in parts sounded like a different person in every part. Seed Audio 1.0 uses a reference only where the text names it with `@Audio1` / `@Audio2` / `@Audio3` (`references[0]` is `@Audio1`, in upload order, at most three), and the gateway adds no markers.
|
|
522
|
+
|
|
523
|
+
- **Markers are added for you**: when a speech request carries reference audio and its text names none, the plugin puts `@Audio1 @Audio2 …` (one per reference, at most three) in front of the text it sends. A text that already holds a marker is sent as written. Only the request body changes; the text you wrote and the conversation keep the original. Music and podcasts are not affected.
|
|
524
|
+
- **Dialogues with several characters**: pass one reference audio per character and mark in the text who reads which passage, for example `@Audio1 Lovely weather today. @Audio2 It is, let's go for a walk.`. Several references without markers still get markers in front, with a log warning that several reference audios should name the passage each one reads with @Audio1/@Audio2.
|
|
525
|
+
- **Up to about 400 characters per call**: the model takes up to 3000, but reads longer texts faster. Over 400 characters (markers included) the tool result says so; nothing is refused or cut. Split long narration into parts and **pass the same references with every part**, or the voice changes. A text that exceeds the model's limit only once the markers are added is refused before it is submitted.
|
|
526
|
+
- **Clearer tool description**: `audio_generate` now says that a fixed voice needs references, that the plugin adds `@AudioN`, that every part of speech made in parts needs the same references, and how to mark a dialogue.
|
|
527
|
+
|
|
528
|
+
### What changes in 0.11.4
|
|
529
|
+
|
|
530
|
+
**Longer voice samples are no longer reported as failed, and 「我的音色」 (My voices) has a new layout.**
|
|
531
|
+
|
|
532
|
+
- **Creation can take up to 2–3 minutes, and a timeout is followed by a check**: the voice-profile creation request has its own 3-minute timeout (other requests are unchanged). When the gateway still does not answer in time (a timeout, a 504 or a lost connection), the plugin does not report a failure: it reads the voice list for up to 3 more minutes for a profile that was not there before and, when one appears, returns it as created. When none appears it reports "The gateway timed out. The voice may have been created there: refresh the list in a little while to check, and try again only if it is not there." (`VOICE_PROFILE_UNCONFIRMED`, retryable, nothing charged). Real input errors (4xx) still fail at once.
|
|
533
|
+
- **Retrying does not create twice**: the creation's `Idempotency-Key` is now derived from the sample and the name (the same sample under the same name always sends the same key; another name sends another). Whether it deduplicates is up to the gateway; when it does not, the list check above is the fallback.
|
|
534
|
+
- **「我的音色」 page**: narrowed to the width of the Redeem page; the file picker is a dashed drop area (click or drop), showing the file name, length, size and "Choose another" once chosen; "Create voice" is the primary button and says why it is disabled; the list is made of standard rows (icon, name, status pill, "length · created", delete); the empty, loading, failed and unsupported states all have proper placeholders. After 15 s a creation shows "processing" with the seconds waited; a timeout turns into "may already exist, checking" instead of a red error.
|
|
535
|
+
|
|
490
536
|
### What changes in 0.11.3
|
|
491
537
|
|
|
492
538
|
**Voice profiles and Suno covers**: make a voice profile from your own singing voice and use it for voice covers, or cover an uploaded song.
|
package/THIRD-PARTY-NOTICES.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
THIRD-PARTY NOTICES · @vibedev-si/dsh-vibedev 0.11.
|
|
1
|
+
THIRD-PARTY NOTICES · @vibedev-si/dsh-vibedev 0.11.6
|
|
2
2
|
|
|
3
3
|
This package bundles code from the projects below. Each is used under the licence that
|
|
4
4
|
follows its name; the licence texts are reproduced as the projects ship them.
|