dsh-audiogen 0.4.12 โ 0.4.13
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 +18 -18
- package/lib/client.js +344 -344
- package/lib/client.js.map +1 -1
- package/package.json +1 -1
- package/src/protocol.ts +3 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ๐ง dsh-audiogen
|
|
2
2
|
|
|
3
|
-
**AI audio generation for DeepSeek Harness (DSH)** โ turn your DSH web GUI into an audio studio: text-to-speech, music, sound effects and voice design, from
|
|
3
|
+
**AI audio generation for DeepSeek Harness (DSH)** โ turn your DSH web GUI into an audio studio: text-to-speech, music, sound effects and voice design, from the sidebar panel or straight from the Agent.
|
|
4
4
|
|
|
5
5
|
[English](README.md) | [็ฎไฝไธญๆ](README.zh-CN.md)
|
|
6
6
|
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
## โจ Features
|
|
15
15
|
|
|
16
|
-
- **Four generation modes**:
|
|
16
|
+
- **Four generation modes**: text-to-speech, music, sound effects, and voice design
|
|
17
17
|
- **Multi-vendor channels in one place**: OpenAI-compatible TTS, MiniMax, ElevenLabs, Stability AI, or any custom OpenAI-compatible / generic POST endpoint
|
|
18
|
-
- **Per-channel model & voice catalogs** with one-click discovery, aliases, capability categories and per-model advanced fields (duration, seed, steps, cfg_scale, loop, prompt influence, โฆ)
|
|
19
|
-
- **Model comparison**: same prompt across 2โ4 models with per-model parameter overrides โ results grouped side by side
|
|
20
|
-
-
|
|
18
|
+
- **Per-channel model & voice catalogs** with one-click discovery, display aliases, capability categories, and per-model advanced fields (duration, seed, steps, cfg_scale, loop, prompt influence, โฆ)
|
|
19
|
+
- **Model comparison**: run the same prompt across 2โ4 models at once with per-model parameter overrides โ results are grouped side by side
|
|
20
|
+
- **Prompt enhancement**: rewrite a rough idea into a ready-to-generate description with an LLM (pick any model from *Settings โ Models*; falls back to the agent default model)
|
|
21
21
|
- **History with one-click restore**: prompt, config, model set *and the original audio* come back into the panel โ no regeneration, no extra cost
|
|
22
|
-
- **Resource library**: auto-save generated audio (or opt
|
|
22
|
+
- **Resource library**: auto-save generated audio (or opt in per run), organized by type โ voices / music / SFX / TTS โ with search, tags, rename, category moves, and full provenance (channel, model, voice id, prompt, params snapshot). Reuse a voice or music bed instead of regenerating
|
|
23
23
|
- **Agent tools**: `generate_audio` and `search_audio_library`, plus bundled session skills โ the Agent can generate and find audio on demand
|
|
24
24
|
- **Keys stay local**: API keys live in the local DSH settings document and generation is proxied by the local host; the browser and the Agent never touch plaintext credentials
|
|
25
25
|
|
|
@@ -51,18 +51,18 @@ Local development install:
|
|
|
51
51
|
dsh plugin --profile web add /path/to/dsh-audiogen
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
Restart `dsh web` after install โ the sidebar will show **AI
|
|
54
|
+
Restart `dsh web` after install โ the sidebar will show the **AI Audio** entry.
|
|
55
55
|
|
|
56
56
|
## ๐ Quick start
|
|
57
57
|
|
|
58
|
-
1. Open **Settings โ Plugins โ AI
|
|
58
|
+
1. Open **Settings โ Plugins โ AI Audio**
|
|
59
59
|
2. Add a channel: pick a preset provider (+ Add provider) or a custom endpoint (+ Add custom provider)
|
|
60
60
|
3. Fill in the API URL, API key, and the model/voice catalog (use *Fetch available models* to import them)
|
|
61
|
-
4. Save, then open the **AI
|
|
62
|
-
- choose a mode (
|
|
63
|
-
- type your text or prompt (optional: โจ
|
|
64
|
-
- pick a model โ or tick
|
|
65
|
-
-
|
|
61
|
+
4. Save, then open the **AI Audio** sidebar panel:
|
|
62
|
+
- choose a mode (Speech / Music / Sound effects / Voice design)
|
|
63
|
+
- type your text or prompt (optional: โจ Enhance prompt)
|
|
64
|
+
- pick a model โ or tick **Model comparison** for 2โ4 models at once
|
|
65
|
+
- press **Start generation** and play the results, download them, or add them to the resource library
|
|
66
66
|
|
|
67
67
|
## ๐ Modes supported by each vendor
|
|
68
68
|
|
|
@@ -70,7 +70,7 @@ Restart `dsh web` after install โ the sidebar will show **AI ้ณ้ข**.
|
|
|
70
70
|
| --- | --- | --- | --- | --- |
|
|
71
71
|
| TTS | โ
(8 voices) | โ
(voices + streams) | โ | โ
|
|
|
72
72
|
| Music | โ
(`music-3.0` / `music-2.6` / `music-cover`) | โ
(`music_v2`) | โ
(`stable-audio-*`) | โ
(generic POST) |
|
|
73
|
-
| Sound effects | โ | โ
(`eleven_text_to_sound_v2`, loop /
|
|
73
|
+
| Sound effects | โ | โ
(`eleven_text_to_sound_v2`, loop / prompt influence) | โ
(`stable-audio-*` โ same text-to-audio protocol; auto-detected in both Music and SFX) | โ
(generic POST) |
|
|
74
74
|
| Voice design | โ
(`/v1/voice_design`) | โ
(`/v1/text-to-voice/design`) | โ | โ |
|
|
75
75
|
|
|
76
76
|
## ๐ค Agent usage
|
|
@@ -83,10 +83,10 @@ Restart `dsh web` after install โ the sidebar will show **AI ้ณ้ข**.
|
|
|
83
83
|
Typical session commands (skills bundled with the plugin):
|
|
84
84
|
|
|
85
85
|
```text
|
|
86
|
-
/audio:tts
|
|
87
|
-
/audio:music
|
|
88
|
-
/audio:sfx
|
|
89
|
-
/audio:design
|
|
86
|
+
/audio:tts Read this sentence with a warm voice
|
|
87
|
+
/audio:music Generate a 30-second lo-fi background track
|
|
88
|
+
/audio:sfx Create a sci-fi UI cue
|
|
89
|
+
/audio:design Craft a warm retro synth voice
|
|
90
90
|
```
|
|
91
91
|
|
|
92
92
|
## ๐ Security & data notes
|