@unityclaw/skills 1.1.1 → 1.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/README.md +11 -20
- package/package.json +1 -1
- package/unityclaw-document-translation/SKILL.md +2 -2
- package/unityclaw-image-generation-jimeng/SKILL.md +78 -0
- package/unityclaw-media-analysis/SKILL.md +2 -2
- package/unityclaw-media-download-xhs/SKILL.md +2 -2
- package/unityclaw-media-stats/SKILL.md +2 -2
- package/unityclaw-media-user-info/SKILL.md +2 -2
- package/unityclaw-video-generation-jimeng-doubao/SKILL.md +2 -2
- package/unityclaw-video-generation-kling/SKILL.md +2 -2
- package/unityclaw-video-generation-wan-minimax/SKILL.md +2 -2
- package/unityclaw-document-convert/SKILL.md +0 -424
- package/unityclaw-idp-business-extraction/SKILL.md +0 -63
- package/unityclaw-idp-contract-extraction/SKILL.md +0 -63
- package/unityclaw-idp-invoice-extraction/SKILL.md +0 -65
- package/unityclaw-idp-personal-documents/SKILL.md +0 -69
- package/unityclaw-image-compress/SKILL.md +0 -274
- package/unityclaw-image-generation/SKILL.md +0 -313
- package/unityclaw-video-frame-extract/SKILL.md +0 -50
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ export UNITYCLAW_API_KEY=your-api-key
|
|
|
35
35
|
npx @unityclaw/skills install
|
|
36
36
|
|
|
37
37
|
# Install specific skills
|
|
38
|
-
npx @unityclaw/skills install unityclaw-image-generation unityclaw-video-generation-kling
|
|
38
|
+
npx @unityclaw/skills install unityclaw-image-generation-jimeng unityclaw-video-generation-kling
|
|
39
39
|
|
|
40
40
|
# Install to OpenClaw
|
|
41
41
|
npx @unityclaw/skills install --target openclaw
|
|
@@ -57,10 +57,8 @@ This list is aligned with `~/moox/field-feishu` shortcuts and `server` `Paramete
|
|
|
57
57
|
|
|
58
58
|
### Image
|
|
59
59
|
|
|
60
|
-
- [unityclaw-image-generation](./unityclaw-image-generation/SKILL.md)
|
|
61
|
-
: Covers `
|
|
62
|
-
- [unityclaw-image-compress](./unityclaw-image-compress/SKILL.md)
|
|
63
|
-
: Covers `image/compress`
|
|
60
|
+
- [unityclaw-image-generation-jimeng](./unityclaw-image-generation-jimeng/SKILL.md)
|
|
61
|
+
: Covers `jimeng/image` (primary) + `jimeng/image/v3` (compat)
|
|
64
62
|
|
|
65
63
|
### Video
|
|
66
64
|
|
|
@@ -75,8 +73,6 @@ This list is aligned with `~/moox/field-feishu` shortcuts and `server` `Paramete
|
|
|
75
73
|
|
|
76
74
|
- [unityclaw-document-translation](./unityclaw-document-translation/SKILL.md)
|
|
77
75
|
: Covers `doc/translate`
|
|
78
|
-
- [unityclaw-document-convert](./unityclaw-document-convert/SKILL.md)
|
|
79
|
-
: Covers generic `doc_convert/image` + `doc_convert/pdf`
|
|
80
76
|
|
|
81
77
|
### Media
|
|
82
78
|
|
|
@@ -88,21 +84,16 @@ This list is aligned with `~/moox/field-feishu` shortcuts and `server` `Paramete
|
|
|
88
84
|
: Covers `media_user_info`
|
|
89
85
|
- [unityclaw-media-download-xhs](./unityclaw-media-download-xhs/SKILL.md)
|
|
90
86
|
: Covers `xiaohongshu/download`
|
|
91
|
-
- [unityclaw-video-frame-extract](./unityclaw-video-frame-extract/SKILL.md)
|
|
92
|
-
: Covers `video/frame`
|
|
93
87
|
|
|
94
|
-
|
|
88
|
+
## Temporarily Removed Skills
|
|
95
89
|
|
|
96
|
-
-
|
|
97
|
-
|
|
98
|
-
-
|
|
99
|
-
|
|
100
|
-
-
|
|
101
|
-
|
|
102
|
-
-
|
|
103
|
-
: Covers `idp/contract`
|
|
104
|
-
|
|
105
|
-
IDP is intentionally split by scenario (personal/invoice/business/contract), instead of one generic skill, to improve skill routing accuracy and parameter selection success.
|
|
90
|
+
- `unityclaw-document-convert`
|
|
91
|
+
- `unityclaw-image-compress`
|
|
92
|
+
- `unityclaw-video-frame-extract`
|
|
93
|
+
- `unityclaw-idp-personal-documents`
|
|
94
|
+
- `unityclaw-idp-invoice-extraction`
|
|
95
|
+
- `unityclaw-idp-business-extraction`
|
|
96
|
+
- `unityclaw-idp-contract-extraction`
|
|
106
97
|
|
|
107
98
|
## Local File Input Support
|
|
108
99
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: unityclaw-document-translation
|
|
3
3
|
description: Translate documents between multiple languages while preserving formatting
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.3
|
|
5
5
|
metadata:
|
|
6
6
|
openclaw:
|
|
7
7
|
requires:
|
|
@@ -312,7 +312,7 @@ console.log('Downloaded Files:', result.attachments);
|
|
|
312
312
|
## SDK Version Check Rule
|
|
313
313
|
|
|
314
314
|
- Before invoking this skill, check local `@unityclaw/sdk` version.
|
|
315
|
-
- Required minimum SDK version: `1.1.
|
|
315
|
+
- Required minimum SDK version: `1.1.3`
|
|
316
316
|
- If local SDK version is lower than this skill version, stop and prompt user to upgrade SDK first.
|
|
317
317
|
- Suggested command: `npm i @unityclaw/sdk@latest`
|
|
318
318
|
<!-- SDK_VERSION_RULE_END -->
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: unityclaw-image-generation-jimeng
|
|
3
|
+
description: Generate high-quality images using JiMeng (Doubao) models
|
|
4
|
+
version: 1.1.3
|
|
5
|
+
metadata:
|
|
6
|
+
openclaw:
|
|
7
|
+
requires:
|
|
8
|
+
env:
|
|
9
|
+
- UNITYCLAW_API_KEY
|
|
10
|
+
bins:
|
|
11
|
+
- node
|
|
12
|
+
- npm
|
|
13
|
+
primaryEnv: UNITYCLAW_API_KEY
|
|
14
|
+
emoji: "🎨"
|
|
15
|
+
homepage: https://unityclaw.com
|
|
16
|
+
install:
|
|
17
|
+
- kind: node
|
|
18
|
+
package: "@unityclaw/sdk"
|
|
19
|
+
bins: []
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
# UnityClaw Image Generation
|
|
23
|
+
|
|
24
|
+
Generate images with JiMeng (Doubao) models.
|
|
25
|
+
|
|
26
|
+
## Quick Start
|
|
27
|
+
|
|
28
|
+
```typescript
|
|
29
|
+
import { UnityClawClient } from '@unityclaw/sdk';
|
|
30
|
+
|
|
31
|
+
const client = new UnityClawClient();
|
|
32
|
+
|
|
33
|
+
const result = await client.image.jimeng({
|
|
34
|
+
prompt: 'A beautiful sunset over mountains',
|
|
35
|
+
size: { value: '2048x2048', label: '2K 1:1' },
|
|
36
|
+
model_selector: { value: 'doubao-seedream-5-0-260128', label: 'Seedream 5.0 Lite' },
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
if (result.success && result.response?.data) {
|
|
40
|
+
console.log(result.response.data[0].content);
|
|
41
|
+
}
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## API Map
|
|
45
|
+
|
|
46
|
+
- `client.image.jimeng(...)`
|
|
47
|
+
- `client.image.jimengV3(...)` (compatibility endpoint)
|
|
48
|
+
|
|
49
|
+
## Required Fields
|
|
50
|
+
|
|
51
|
+
- `prompt`: `string | TextFieldItem[]`
|
|
52
|
+
- `size`: `LabelFieldItem | string`
|
|
53
|
+
|
|
54
|
+
## Optional Fields
|
|
55
|
+
|
|
56
|
+
- `attachment`
|
|
57
|
+
- `model_selector`
|
|
58
|
+
- `web_search`
|
|
59
|
+
- `image_count`
|
|
60
|
+
- `model`
|
|
61
|
+
|
|
62
|
+
## Notes For Agent
|
|
63
|
+
|
|
64
|
+
- For `/api/jimeng/image`, pass 2K/3K/4K size values (`2048x2048`, `3072x3072`, `4096x4096`, etc.).
|
|
65
|
+
- Keep model-size compatibility:
|
|
66
|
+
- `doubao-seedream-5-0-260128` does not support 4K.
|
|
67
|
+
- `doubao-seedream-4-5-251128` does not support 3K.
|
|
68
|
+
- If `web_search=true`, use model `doubao-seedream-5-0-260128`.
|
|
69
|
+
- Always check `result.success` first, then read `result.response.data`.
|
|
70
|
+
|
|
71
|
+
<!-- SDK_VERSION_RULE_START -->
|
|
72
|
+
## SDK Version Check Rule
|
|
73
|
+
|
|
74
|
+
- Before invoking this skill, check local `@unityclaw/sdk` version.
|
|
75
|
+
- Required minimum SDK version: `1.1.3`
|
|
76
|
+
- If local SDK version is lower than this skill version, stop and prompt user to upgrade SDK first.
|
|
77
|
+
- Suggested command: `npm i @unityclaw/sdk@latest`
|
|
78
|
+
<!-- SDK_VERSION_RULE_END -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: unityclaw-media-analysis
|
|
3
3
|
description: Analyze video and audio content to extract subtitles, summaries, and insights
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.3
|
|
5
5
|
metadata:
|
|
6
6
|
openclaw:
|
|
7
7
|
requires:
|
|
@@ -352,7 +352,7 @@ console.log('Task Folder:', result.taskFolder);
|
|
|
352
352
|
## SDK Version Check Rule
|
|
353
353
|
|
|
354
354
|
- Before invoking this skill, check local `@unityclaw/sdk` version.
|
|
355
|
-
- Required minimum SDK version: `1.1.
|
|
355
|
+
- Required minimum SDK version: `1.1.3`
|
|
356
356
|
- If local SDK version is lower than this skill version, stop and prompt user to upgrade SDK first.
|
|
357
357
|
- Suggested command: `npm i @unityclaw/sdk@latest`
|
|
358
358
|
<!-- SDK_VERSION_RULE_END -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: unityclaw-media-download-xhs
|
|
3
3
|
description: Download Xiaohongshu media and return cover/video URLs
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.3
|
|
5
5
|
metadata:
|
|
6
6
|
openclaw:
|
|
7
7
|
requires:
|
|
@@ -43,7 +43,7 @@ if (result.success && result.response?.data) {
|
|
|
43
43
|
## SDK Version Check Rule
|
|
44
44
|
|
|
45
45
|
- Before invoking this skill, check local `@unityclaw/sdk` version.
|
|
46
|
-
- Required minimum SDK version: `1.1.
|
|
46
|
+
- Required minimum SDK version: `1.1.3`
|
|
47
47
|
- If local SDK version is lower than this skill version, stop and prompt user to upgrade SDK first.
|
|
48
48
|
- Suggested command: `npm i @unityclaw/sdk@latest`
|
|
49
49
|
<!-- SDK_VERSION_RULE_END -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: unityclaw-media-stats
|
|
3
3
|
description: Extract social media post metrics (play, like, comment, share, etc.) from links
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.3
|
|
5
5
|
metadata:
|
|
6
6
|
openclaw:
|
|
7
7
|
requires:
|
|
@@ -43,7 +43,7 @@ if (result.success && result.response?.data) {
|
|
|
43
43
|
## SDK Version Check Rule
|
|
44
44
|
|
|
45
45
|
- Before invoking this skill, check local `@unityclaw/sdk` version.
|
|
46
|
-
- Required minimum SDK version: `1.1.
|
|
46
|
+
- Required minimum SDK version: `1.1.3`
|
|
47
47
|
- If local SDK version is lower than this skill version, stop and prompt user to upgrade SDK first.
|
|
48
48
|
- Suggested command: `npm i @unityclaw/sdk@latest`
|
|
49
49
|
<!-- SDK_VERSION_RULE_END -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: unityclaw-media-user-info
|
|
3
3
|
description: Extract social media user profile metrics from homepage links
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.3
|
|
5
5
|
metadata:
|
|
6
6
|
openclaw:
|
|
7
7
|
requires:
|
|
@@ -43,7 +43,7 @@ if (result.success && result.response?.data) {
|
|
|
43
43
|
## SDK Version Check Rule
|
|
44
44
|
|
|
45
45
|
- Before invoking this skill, check local `@unityclaw/sdk` version.
|
|
46
|
-
- Required minimum SDK version: `1.1.
|
|
46
|
+
- Required minimum SDK version: `1.1.3`
|
|
47
47
|
- If local SDK version is lower than this skill version, stop and prompt user to upgrade SDK first.
|
|
48
48
|
- Suggested command: `npm i @unityclaw/sdk@latest`
|
|
49
49
|
<!-- SDK_VERSION_RULE_END -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: unityclaw-video-generation-jimeng-doubao
|
|
3
3
|
description: Generate videos with JiMeng or Doubao models (text-to-video and image-to-video)
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.3
|
|
5
5
|
metadata:
|
|
6
6
|
openclaw:
|
|
7
7
|
requires:
|
|
@@ -76,7 +76,7 @@ SDK will auto-upload local files and fill `tmp_url`.
|
|
|
76
76
|
## SDK Version Check Rule
|
|
77
77
|
|
|
78
78
|
- Before invoking this skill, check local `@unityclaw/sdk` version.
|
|
79
|
-
- Required minimum SDK version: `1.1.
|
|
79
|
+
- Required minimum SDK version: `1.1.3`
|
|
80
80
|
- If local SDK version is lower than this skill version, stop and prompt user to upgrade SDK first.
|
|
81
81
|
- Suggested command: `npm i @unityclaw/sdk@latest`
|
|
82
82
|
<!-- SDK_VERSION_RULE_END -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: unityclaw-video-generation-kling
|
|
3
3
|
description: Generate AI videos using Kling model with multi-version support
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.3
|
|
5
5
|
metadata:
|
|
6
6
|
openclaw:
|
|
7
7
|
requires:
|
|
@@ -277,7 +277,7 @@ console.log('Downloaded Videos:', result.attachments);
|
|
|
277
277
|
## SDK Version Check Rule
|
|
278
278
|
|
|
279
279
|
- Before invoking this skill, check local `@unityclaw/sdk` version.
|
|
280
|
-
- Required minimum SDK version: `1.1.
|
|
280
|
+
- Required minimum SDK version: `1.1.3`
|
|
281
281
|
- If local SDK version is lower than this skill version, stop and prompt user to upgrade SDK first.
|
|
282
282
|
- Suggested command: `npm i @unityclaw/sdk@latest`
|
|
283
283
|
<!-- SDK_VERSION_RULE_END -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: unityclaw-video-generation-wan-minimax
|
|
3
3
|
description: Generate videos with Wan and MiniMax models for cinematic or controllable workflows
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.3
|
|
5
5
|
metadata:
|
|
6
6
|
openclaw:
|
|
7
7
|
requires:
|
|
@@ -73,7 +73,7 @@ SDK will auto-upload local files and fill `tmp_url`.
|
|
|
73
73
|
## SDK Version Check Rule
|
|
74
74
|
|
|
75
75
|
- Before invoking this skill, check local `@unityclaw/sdk` version.
|
|
76
|
-
- Required minimum SDK version: `1.1.
|
|
76
|
+
- Required minimum SDK version: `1.1.3`
|
|
77
77
|
- If local SDK version is lower than this skill version, stop and prompt user to upgrade SDK first.
|
|
78
78
|
- Suggested command: `npm i @unityclaw/sdk@latest`
|
|
79
79
|
<!-- SDK_VERSION_RULE_END -->
|