@cozeclaw/coze-openclaw-plugin 0.1.2 → 0.1.3
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/package.json
CHANGED
package/skills/coze-asr/SKILL.md
CHANGED
|
@@ -12,8 +12,8 @@ Transcribe audio from a URL or local file using Coze ASR.
|
|
|
12
12
|
## Quick start
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
node {
|
|
16
|
-
node {
|
|
15
|
+
node {skillDir}/scripts/asr.mjs --url "https://example.com/audio.mp3"
|
|
16
|
+
node {skillDir}/scripts/asr.mjs --file ./recording.mp3
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Options
|
|
@@ -24,4 +24,5 @@ node {baseDir}/scripts/asr.mjs --file ./recording.mp3
|
|
|
24
24
|
## Notes
|
|
25
25
|
|
|
26
26
|
- The skill runtime requires `plugins.entries.coze-openclaw-plugin.config.apiKey`.
|
|
27
|
+
- `{skillDir}` means the directory containing this `SKILL.md`.
|
|
27
28
|
- Local files are read and uploaded as base64 audio content.
|
|
@@ -12,9 +12,9 @@ Generate one or more images from a prompt using Coze.
|
|
|
12
12
|
## Quick start
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
node {
|
|
16
|
-
node {
|
|
17
|
-
node {
|
|
15
|
+
node {skillDir}/scripts/gen.mjs --prompt "A futuristic city at sunset"
|
|
16
|
+
node {skillDir}/scripts/gen.mjs --prompt "A serene mountain landscape" --count 2 --size 4K
|
|
17
|
+
node {skillDir}/scripts/gen.mjs --prompt "A hero's journey through magical lands" --sequential --max-sequential 5
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
## Options
|
|
@@ -28,4 +28,5 @@ node {baseDir}/scripts/gen.mjs --prompt "A hero's journey through magical lands"
|
|
|
28
28
|
## Notes
|
|
29
29
|
|
|
30
30
|
- The skill runtime requires `plugins.entries.coze-openclaw-plugin.config.apiKey`.
|
|
31
|
+
- `{skillDir}` means the directory containing this `SKILL.md`.
|
|
31
32
|
- URLs are printed directly and are suitable for immediate use.
|
package/skills/coze-tts/SKILL.md
CHANGED
|
@@ -12,9 +12,9 @@ Generate speech audio URLs from text using Coze TTS.
|
|
|
12
12
|
## Quick start
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
node {
|
|
16
|
-
node {
|
|
17
|
-
node {
|
|
15
|
+
node {skillDir}/scripts/tts.mjs --text "Hello, welcome to our service"
|
|
16
|
+
node {skillDir}/scripts/tts.mjs --texts "Chapter 1" "Chapter 2" --speaker zh_male_m191_uranus_bigtts
|
|
17
|
+
node {skillDir}/scripts/tts.mjs --text "Fast announcement" --speech-rate 30 --format mp3 --sample-rate 48000
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
## Options
|
|
@@ -30,4 +30,5 @@ node {baseDir}/scripts/tts.mjs --text "Fast announcement" --speech-rate 30 --for
|
|
|
30
30
|
## Notes
|
|
31
31
|
|
|
32
32
|
- The skill runtime requires `plugins.entries.coze-openclaw-plugin.config.apiKey`.
|
|
33
|
+
- `{skillDir}` means the directory containing this `SKILL.md`.
|
|
33
34
|
- The script prints one audio URL per generated segment.
|