@unityclaw/skills 1.1.0 → 1.1.2

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 CHANGED
@@ -58,7 +58,7 @@ This list is aligned with `~/moox/field-feishu` shortcuts and `server` `Paramete
58
58
  ### Image
59
59
 
60
60
  - [unityclaw-image-generation](./unityclaw-image-generation/SKILL.md)
61
- : Covers `gemini/image/v2` + `jimeng/image` (unified)
61
+ : Covers `jimeng/image` (primary) + `jimeng/image/v3` (compat)
62
62
  - [unityclaw-image-compress](./unityclaw-image-compress/SKILL.md)
63
63
  : Covers `image/compress`
64
64
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unityclaw/skills",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "UnityClaw Skills - Claude Code and OpenClaw skill definitions for AI-powered image/video generation, media analysis, and more",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: unityclaw-document-convert
3
3
  description: Convert documents between formats (PDF, Word, PPT, Excel, Image)
4
- version: 1.1.0
4
+ version: 1.1.2
5
5
  metadata:
6
6
  openclaw:
7
7
  requires:
@@ -418,7 +418,7 @@ console.log('Downloaded Files:', result.attachments);
418
418
  ## SDK Version Check Rule
419
419
 
420
420
  - Before invoking this skill, check local `@unityclaw/sdk` version.
421
- - Required minimum SDK version: `1.1.0`
421
+ - Required minimum SDK version: `1.1.2`
422
422
  - If local SDK version is lower than this skill version, stop and prompt user to upgrade SDK first.
423
423
  - Suggested command: `npm i @unityclaw/sdk@latest`
424
424
  <!-- SDK_VERSION_RULE_END -->
@@ -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.0
4
+ version: 1.1.2
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.0`
315
+ - Required minimum SDK version: `1.1.2`
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 -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: unityclaw-idp-business-extraction
3
3
  description: Extract fields from business documents (business license, business card)
4
- version: 1.1.0
4
+ version: 1.1.2
5
5
  metadata:
6
6
  openclaw:
7
7
  requires:
@@ -57,7 +57,7 @@ await client.idp.extract('business_license', {
57
57
  ## SDK Version Check Rule
58
58
 
59
59
  - Before invoking this skill, check local `@unityclaw/sdk` version.
60
- - Required minimum SDK version: `1.1.0`
60
+ - Required minimum SDK version: `1.1.2`
61
61
  - If local SDK version is lower than this skill version, stop and prompt user to upgrade SDK first.
62
62
  - Suggested command: `npm i @unityclaw/sdk@latest`
63
63
  <!-- SDK_VERSION_RULE_END -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: unityclaw-idp-contract-extraction
3
3
  description: Extract structured fields from contract files
4
- version: 1.1.0
4
+ version: 1.1.2
5
5
  metadata:
6
6
  openclaw:
7
7
  requires:
@@ -57,7 +57,7 @@ await client.idp.extract('contract', {
57
57
  ## SDK Version Check Rule
58
58
 
59
59
  - Before invoking this skill, check local `@unityclaw/sdk` version.
60
- - Required minimum SDK version: `1.1.0`
60
+ - Required minimum SDK version: `1.1.2`
61
61
  - If local SDK version is lower than this skill version, stop and prompt user to upgrade SDK first.
62
62
  - Suggested command: `npm i @unityclaw/sdk@latest`
63
63
  <!-- SDK_VERSION_RULE_END -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: unityclaw-idp-invoice-extraction
3
3
  description: Extract fields from invoice and ticket documents (VAT, train, taxi)
4
- version: 1.1.0
4
+ version: 1.1.2
5
5
  metadata:
6
6
  openclaw:
7
7
  requires:
@@ -59,7 +59,7 @@ await client.idp.extract('vat_invoice', {
59
59
  ## SDK Version Check Rule
60
60
 
61
61
  - Before invoking this skill, check local `@unityclaw/sdk` version.
62
- - Required minimum SDK version: `1.1.0`
62
+ - Required minimum SDK version: `1.1.2`
63
63
  - If local SDK version is lower than this skill version, stop and prompt user to upgrade SDK first.
64
64
  - Suggested command: `npm i @unityclaw/sdk@latest`
65
65
  <!-- SDK_VERSION_RULE_END -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: unityclaw-idp-personal-documents
3
3
  description: Extract structured fields from personal identity documents (ID card, vehicle license, bank card)
4
- version: 1.1.0
4
+ version: 1.1.2
5
5
  metadata:
6
6
  openclaw:
7
7
  requires:
@@ -63,7 +63,7 @@ await client.idp.extract('id_card', {
63
63
  ## SDK Version Check Rule
64
64
 
65
65
  - Before invoking this skill, check local `@unityclaw/sdk` version.
66
- - Required minimum SDK version: `1.1.0`
66
+ - Required minimum SDK version: `1.1.2`
67
67
  - If local SDK version is lower than this skill version, stop and prompt user to upgrade SDK first.
68
68
  - Suggested command: `npm i @unityclaw/sdk@latest`
69
69
  <!-- SDK_VERSION_RULE_END -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: unityclaw-image-compress
3
3
  description: Compress images with quality control to reduce file size
4
- version: 1.1.0
4
+ version: 1.1.2
5
5
  metadata:
6
6
  openclaw:
7
7
  requires:
@@ -179,8 +179,9 @@ const result = await client.image.compress({
179
179
 
180
180
  ```typescript
181
181
  // Generate then compress
182
- const generated = await client.image.gemini({
183
- prompt: 'A beautiful landscape'
182
+ const generated = await client.image.jimeng({
183
+ prompt: 'A beautiful landscape',
184
+ size: '2048x2048'
184
185
  });
185
186
 
186
187
  if (generated.success && generated.response?.data) {
@@ -201,7 +202,7 @@ if (generated.success && generated.response?.data) {
201
202
  ```typescript
202
203
  interface AttachmentResult {
203
204
  name: string;
204
- contentType: 'attachment/url';
205
+ contentType: string;
205
206
  content: string; // URL to compressed image
206
207
  }
207
208
  ```
@@ -268,7 +269,7 @@ console.log('Local Attachments:', result.attachments);
268
269
  ## SDK Version Check Rule
269
270
 
270
271
  - Before invoking this skill, check local `@unityclaw/sdk` version.
271
- - Required minimum SDK version: `1.1.0`
272
+ - Required minimum SDK version: `1.1.2`
272
273
  - If local SDK version is lower than this skill version, stop and prompt user to upgrade SDK first.
273
274
  - Suggested command: `npm i @unityclaw/sdk@latest`
274
275
  <!-- SDK_VERSION_RULE_END -->
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: unityclaw-image-generation
3
- description: Generate high-quality images using Gemini or JiMeng (Doubao) models
4
- version: 1.1.0
3
+ description: Generate high-quality images using JiMeng (Doubao) models
4
+ version: 1.1.2
5
5
  metadata:
6
6
  openclaw:
7
7
  requires:
@@ -21,53 +21,7 @@ metadata:
21
21
 
22
22
  # UnityClaw Image Generation
23
23
 
24
- Generate high-quality images using Gemini or JiMeng (Doubao) AI models.
25
- This skill keeps JiMeng as one unified entry (no separate v3 skill).
26
-
27
- ## Installation
28
-
29
- ```bash
30
- npm install @unityclaw/sdk
31
- ```
32
-
33
- ## Configuration
34
-
35
- Set your API key using one of these methods:
36
-
37
- ```bash
38
- # Method 1: Use SDK CLI (recommended - persists across sessions)
39
- npx @unityclaw/sdk config set apiKey your-api-key
40
-
41
- # Method 2: Environment variable
42
- export UNITYCLAW_API_KEY=your-api-key
43
- ```
44
-
45
- ## Response Structure
46
-
47
- > **IMPORTANT:** The result has a nested structure. Use `result.success` to check overall success, and access image data via `result.response.data`.
48
-
49
- ```typescript
50
- interface ImageGenerationResult {
51
- success: boolean; // ✅ Use this to check if SDK call succeeded
52
- taskId: string; // Task identifier (e.g., "b7b613d1")
53
- taskFolder: string; // Path to task folder with logs
54
- duration: number; // Request duration in ms
55
- response: { // API response object
56
- code: number; // 0 = success
57
- data: Array<{ // ✅ Generated images here
58
- name: string; // File name
59
- contentType: string; // "attachment/url"
60
- content: string; // Image URL
61
- }> | null;
62
- };
63
- logs: Array<{ // Execution logs
64
- timestamp: string;
65
- level: string;
66
- message: string;
67
- }>;
68
- attachments: any[]; // Downloaded attachments
69
- }
70
- ```
24
+ Generate images with JiMeng (Doubao) models.
71
25
 
72
26
  ## Quick Start
73
27
 
@@ -76,238 +30,49 @@ import { UnityClawClient } from '@unityclaw/sdk';
76
30
 
77
31
  const client = new UnityClawClient();
78
32
 
79
- // Generate image with Gemini
80
- const result = await client.image.gemini({
81
- prompt: 'A beautiful sunset over mountains',
82
- aspect_ratio: { value: '16:9', label: '16:9' }
83
- });
84
-
85
- // ✅ Correct: Check result.success, access data via result.response.data
86
- if (result.success && result.response?.data) {
87
- console.log('Generated images:', result.response.data);
88
- } else {
89
- console.error('Error:', result.response);
90
- }
91
- ```
92
-
93
- You can pass local files directly and SDK will auto-upload them:
94
-
95
- ```typescript
96
- attachment: [{ path: './files/reference.jpg' }]
97
- ```
98
-
99
- ## Available APIs
100
-
101
- ### Gemini Image Generation
102
-
103
- ```typescript
104
- // Basic usage
105
- const result = await client.image.gemini({
106
- prompt: 'A beautiful sunset over mountains'
107
- });
108
-
109
- // With all options
110
- const result = await client.image.gemini({
111
- prompt: 'A futuristic city at night',
112
- attachment: [{ tmp_url: 'https://...', name: 'reference.jpg' }],
113
- model: { value: 'gemini-2.0-flash-exp', label: 'Gemini 2.0 Flash' },
114
- aspect_ratio: { value: '16:9', label: '16:9' },
115
- size: { value: '2K', label: '2K' }
116
- });
117
-
118
- // Gemini V2
119
- const result = await client.image.geminiV2({
120
- prompt: 'An abstract digital art piece',
121
- aspect_ratio: { value: '1:1', label: '1:1' }
122
- });
123
- ```
124
-
125
- ### JiMeng Image Generation
126
-
127
- > **IMPORTANT:** JiMeng uses different parameters than Gemini. Pay attention to the `size` and `model_selector` values.
128
-
129
- ```typescript
130
- // Basic usage (defaults to Seedream 5.0 Lite model)
131
33
  const result = await client.image.jimeng({
132
- prompt: '一只可爱的猫咪在花园里玩耍',
133
- size: { value: '2048x2048', label: '2K 1:1' }
134
- });
135
-
136
- // With Seedream 5.0 Lite (supports web_search, 2K and 3K resolutions)
137
- const result = await client.image.jimeng({
138
- prompt: 'A serene Japanese garden in autumn',
139
- attachment: [{ tmp_url: 'https://...', name: 'style.jpg' }],
34
+ prompt: 'A beautiful sunset over mountains',
140
35
  size: { value: '2048x2048', label: '2K 1:1' },
141
36
  model_selector: { value: 'doubao-seedream-5-0-260128', label: 'Seedream 5.0 Lite' },
142
- web_search: { value: 'true', label: 'Enable' },
143
- image_count: { value: 4, label: '4 images' }
144
- });
145
-
146
- // With Seedream 4.5 (supports 4K resolution, no web_search)
147
- const result = await client.image.jimeng({
148
- prompt: 'A mystical forest with glowing mushrooms',
149
- size: { value: '4096x4096', label: '4K 1:1' },
150
- model_selector: { value: 'doubao-seedream-4-5-251128', label: 'Seedream 4.5' }
151
- });
152
-
153
- ```
154
-
155
- #### JiMeng Size Options
156
-
157
- | Resolution | 5.0 Lite | 4.5 | Size Values |
158
- |------------|----------|-----|-------------|
159
- | 2K | ✅ | ✅ | `2048x2048`, `1728x2304`, `2304x1728`, `2848x1600`, `1600x2848`, `2496x1664`, `1664x2496`, `3136x1344` |
160
- | 3K | ✅ | ❌ | `3072x3072`, `2592x3456`, `3456x2592`, `4096x2304`, `2304x4096`, `3744x2496`, `2496x3744`, `4704x2016` |
161
- | 4K | ❌ | ✅ | `4096x4096`, `3520x4704`, `4704x3520`, `5504x3040`, `3040x5504`, `4992x3328`, `3328x4992`, `6240x2656` |
162
-
163
- > **Note:** `web_search` only works with Seedream 5.0 Lite model.
164
-
165
- ## Troubleshooting (`/api/jimeng/image`)
166
-
167
- If you see backend errors like `{"code":1254500}`, check these first:
168
-
169
- - Do not use `jimeng/image/v3` size values (for example `1152x896`) on `/api/jimeng/image`.
170
- - For `/api/jimeng/image`, use 2K/3K/4K size values such as:
171
- `2048x2048`, `3072x3072`, `4096x4096`.
172
- - Model and size must match:
173
- - `doubao-seedream-5-0-260128` does **not** support 4K.
174
- - `doubao-seedream-4-5-251128` does **not** support 3K.
175
- - `web_search=true` only works with `doubao-seedream-5-0-260128`.
176
-
177
- ## Parameter Types
178
-
179
- ### GeminiImageParams
180
-
181
- | Parameter | Type | Required | Description |
182
- |-----------|------|----------|-------------|
183
- | `prompt` | `string \| TextFieldItem[]` | Yes | Text description of the image |
184
- | `attachment` | `AttachmentFieldItem[]` | No | Reference images for style transfer |
185
- | `model` | `LabelFieldItem` | No | Model selection (default: gemini-2.0-flash-exp) |
186
- | `aspect_ratio` | `LabelFieldItem` | No | Aspect ratio: `'1:1'`, `'9:16'`, `'16:9'` |
187
- | `size` | `LabelFieldItem` | No | Resolution: `'1K'`, `'2K'`, `'4K'` |
188
-
189
- ### JiMengImageParams
190
-
191
- | Parameter | Type | Required | Description |
192
- |-----------|------|----------|-------------|
193
- | `prompt` | `string \| TextFieldItem[]` | Yes | Text description (supports Chinese) |
194
- | `attachment` | `AttachmentFieldItem[]` | No | Reference images for style transfer |
195
- | `size` | `LabelFieldItem` | Yes | Size: `'2048x2048'` (2K), `'3072x3072'` (3K), `'4096x4096'` (4K) and more |
196
- | `model_selector` | `LabelFieldItem` | No | Model: `'doubao-seedream-5-0-260128'` (5.0 Lite) or `'doubao-seedream-4-5-251128'` (4.5) |
197
- | `web_search` | `LabelFieldItem` | No | Enable web search (5.0 Lite only): `'true'` or `'false'` |
198
- | `image_count` | `LabelFieldItem \| number` | No | Number of images to generate (0-5) |
199
- | `model` | `string` | No | Direct model override |
200
-
201
- ## Examples
202
-
203
- ### Text-to-Image
204
-
205
- ```typescript
206
- const client = new UnityClawClient();
207
-
208
- const result = await client.image.gemini({
209
- prompt: 'A cyberpunk cityscape with neon lights reflecting on wet streets',
210
- aspect_ratio: { value: '16:9', label: '16:9' },
211
- size: { value: '2K', label: '2K' }
212
37
  });
213
38
 
214
39
  if (result.success && result.response?.data) {
215
- result.response.data.forEach((img, i) => {
216
- console.log(`Image ${i + 1}: ${img.content}`);
217
- });
40
+ console.log(result.response.data[0].content);
218
41
  }
219
42
  ```
220
43
 
221
- ### Image-to-Image (Style Transfer)
44
+ ## API Map
222
45
 
223
- ```typescript
224
- const result = await client.image.gemini({
225
- prompt: 'Transform this photo into a watercolor painting style',
226
- attachment: [
227
- { tmp_url: 'https://example.com/photo.jpg', name: 'photo.jpg' }
228
- ],
229
- aspect_ratio: { value: '1:1', label: '1:1' }
230
- });
46
+ - `client.image.jimeng(...)`
47
+ - `client.image.jimengV3(...)` (compatibility endpoint)
231
48
 
232
- if (result.success) {
233
- console.log('Style transfer complete:', result.response.data);
234
- }
235
- ```
236
-
237
- ### Batch Generation
238
-
239
- ```typescript
240
- const prompts = [
241
- 'A serene mountain lake at dawn',
242
- 'A bustling Tokyo street at night',
243
- 'An underwater coral reef scene'
244
- ];
245
-
246
- const results = await Promise.all(
247
- prompts.map(prompt => client.image.gemini({ prompt }))
248
- );
249
-
250
- results.forEach((result, i) => {
251
- if (result.success) {
252
- console.log(`Prompt ${i + 1}: Success`);
253
- }
254
- });
255
- ```
256
-
257
- ## Error Handling
258
-
259
- > **IMPORTANT:** Always check `result.success` first, then access data via `result.response.data`.
260
-
261
- ```typescript
262
- const result = await client.image.gemini({ prompt: 'test' });
263
-
264
- if (!result.success) {
265
- console.error('Request failed');
266
- console.log('Check logs:', result.logs);
267
- return;
268
- }
49
+ ## Required Fields
269
50
 
270
- // Check API response code
271
- if (result.response?.code !== 0) {
272
- console.error('API error:', result.response);
273
- return;
274
- }
275
-
276
- // Success - access result.response.data
277
- console.log('Success:', result.response.data);
278
- console.log('Task ID:', result.taskId);
279
- ```
51
+ - `prompt`: `string | TextFieldItem[]`
52
+ - `size`: `LabelFieldItem | string`
280
53
 
281
- ## Task Folders
54
+ ## Optional Fields
282
55
 
283
- Each execution creates a task folder with detailed logs:
284
-
285
- ```typescript
286
- const result = await client.image.gemini({ prompt: 'test' });
287
-
288
- console.log('Task ID:', result.taskId); // e.g., "609600db"
289
- console.log('Task Folder:', result.taskFolder); // e.g., "~/Documents/tasks/20260312_202723_609600db/"
290
-
291
- // Task folder structure:
292
- // ├── attachments/ - Generated images
293
- // │ └── xxx.png
294
- // └── logs/
295
- // ├── execution.log
296
- // ├── request.json - API request payload
297
- // ├── response.json - Raw API response
298
- // └── summary.json - Task summary with success status
299
- ```
56
+ - `attachment`
57
+ - `model_selector`
58
+ - `web_search`
59
+ - `image_count`
60
+ - `model`
300
61
 
301
- ## Related Skills
62
+ ## Notes For Agent
302
63
 
303
- - [unityclaw-image-compress](../unityclaw-image-compress/SKILL.md) - Compress generated images
304
- - [unityclaw-video-generation-kling](../unityclaw-video-generation-kling/SKILL.md) - Generate videos
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`.
305
70
 
306
71
  <!-- SDK_VERSION_RULE_START -->
307
72
  ## SDK Version Check Rule
308
73
 
309
74
  - Before invoking this skill, check local `@unityclaw/sdk` version.
310
- - Required minimum SDK version: `1.1.0`
75
+ - Required minimum SDK version: `1.1.2`
311
76
  - If local SDK version is lower than this skill version, stop and prompt user to upgrade SDK first.
312
77
  - Suggested command: `npm i @unityclaw/sdk@latest`
313
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.0
4
+ version: 1.1.2
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.0`
355
+ - Required minimum SDK version: `1.1.2`
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.0
4
+ version: 1.1.2
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.0`
46
+ - Required minimum SDK version: `1.1.2`
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.0
4
+ version: 1.1.2
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.0`
46
+ - Required minimum SDK version: `1.1.2`
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.0
4
+ version: 1.1.2
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.0`
46
+ - Required minimum SDK version: `1.1.2`
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-frame-extract
3
3
  description: Extract first/last/specified-time frame from video attachments
4
- version: 1.1.0
4
+ version: 1.1.2
5
5
  metadata:
6
6
  openclaw:
7
7
  requires:
@@ -44,7 +44,7 @@ if (result.success && result.response?.data?.[0]) {
44
44
  ## SDK Version Check Rule
45
45
 
46
46
  - Before invoking this skill, check local `@unityclaw/sdk` version.
47
- - Required minimum SDK version: `1.1.0`
47
+ - Required minimum SDK version: `1.1.2`
48
48
  - If local SDK version is lower than this skill version, stop and prompt user to upgrade SDK first.
49
49
  - Suggested command: `npm i @unityclaw/sdk@latest`
50
50
  <!-- 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.0
4
+ version: 1.1.2
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.0`
79
+ - Required minimum SDK version: `1.1.2`
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.0
4
+ version: 1.1.2
5
5
  metadata:
6
6
  openclaw:
7
7
  requires:
@@ -23,6 +23,12 @@ metadata:
23
23
 
24
24
  Generate AI videos using the Kling model with support for multiple versions and flexible configuration.
25
25
 
26
+ ## Runtime Note
27
+
28
+ - Kling generation is a long-running task and can often take more than 5 minutes.
29
+ - During this period, keep waiting for task completion and do not treat it as immediate failure.
30
+ - SDK default timeout is 15 minutes (`900000ms`) to support this workflow.
31
+
26
32
  ## Installation
27
33
 
28
34
  ```bash
@@ -271,7 +277,7 @@ console.log('Downloaded Videos:', result.attachments);
271
277
  ## SDK Version Check Rule
272
278
 
273
279
  - Before invoking this skill, check local `@unityclaw/sdk` version.
274
- - Required minimum SDK version: `1.1.0`
280
+ - Required minimum SDK version: `1.1.2`
275
281
  - If local SDK version is lower than this skill version, stop and prompt user to upgrade SDK first.
276
282
  - Suggested command: `npm i @unityclaw/sdk@latest`
277
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.0
4
+ version: 1.1.2
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.0`
76
+ - Required minimum SDK version: `1.1.2`
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 -->