@remixmate/cli 0.9.18 → 0.9.20
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 +6 -6
- package/README.zh-CN.md +6 -6
- package/dist/handlers/gen-image.d.ts +2 -1
- package/dist/handlers/gen-image.js +4 -5
- package/dist/manifest.json +953 -18
- package/dist/project/host.d.ts +15 -1
- package/dist/project/host.js +47 -2
- package/dist/skill-schema.d.ts +31 -0
- package/dist/skill-schema.js +92 -0
- package/package.json +1 -1
- package/skills/export-jianying/skill.json +62 -10
- package/skills/gen-digital-human/skill.json +23 -0
- package/skills/gen-image/SKILL.md +9 -20
- package/skills/gen-image/skill.json +24 -4
- package/skills/gen-image/version.json +2 -2
- package/skills/gen-script/SKILL.md +25 -6
- package/skills/gen-script/scripts/gen_script.py +103 -5
- package/skills/gen-script/skill.json +95 -18
- package/skills/gen-video/SKILL.md +47 -50
- package/skills/gen-video/skill.json +26 -4
- package/skills/gen-video/version.json +2 -2
- package/skills/gen-voice/skill.json +14 -0
- package/skills/template-registry/scripts/match_template.py +14 -0
- package/skills/template-registry/video_dsl/schema/video-dsl-v1alpha1.json +11 -0
- package/skills/video-parser/skill.json +13 -0
- package/skills/web-record/skill.json +38 -0
- package/skills/web-screenshot/skill.json +21 -0
package/README.md
CHANGED
|
@@ -165,8 +165,8 @@ This project contains 11 AI media generation skills covering the full pipeline f
|
|
|
165
165
|
│ export-jianying Assets → Jianying draft ZIP │
|
|
166
166
|
├─────────────────────────────────────────────────────────────┤
|
|
167
167
|
│ Atomic Skills │
|
|
168
|
-
│ gen-image Text/Image-to-image (Seedream
|
|
169
|
-
│ gen-video Text-to-video (Seedance
|
|
168
|
+
│ gen-image Text/Image-to-image (Seedream 5.0) │
|
|
169
|
+
│ gen-video Text-to-video (Seedance 2.0) │
|
|
170
170
|
│ gen-voice Text-to-speech (Minimax TTS) │
|
|
171
171
|
│ gen-digital-human Talking-head (Jimeng / Feiying) │
|
|
172
172
|
├─────────────────────────────────────────────────────────────┤
|
|
@@ -203,8 +203,8 @@ This project contains 11 AI media generation skills covering the full pipeline f
|
|
|
203
203
|
|
|
204
204
|
| Skill | Type | Description | Runtime / entry |
|
|
205
205
|
|-------|------|-------------|-----------------|
|
|
206
|
-
| gen-image | atomic | Text/Image-to-image (Seedream
|
|
207
|
-
| gen-video | atomic | Text-to-video (Seedance,
|
|
206
|
+
| gen-image | atomic | Text/Image-to-image (Seedream 5.0 Lite / Pro) | http handler |
|
|
207
|
+
| gen-video | atomic | Text-to-video (Seedance 2.0, three tiers) | http handler |
|
|
208
208
|
| gen-voice | atomic | Text-to-speech (Minimax TTS) | http handler |
|
|
209
209
|
| gen-digital-human | atomic | Talking-head (Jimeng / Feiying) | http handler |
|
|
210
210
|
| gen-script | orchestration | Topic → Video DSL JSON | python `scripts/gen_script.py` |
|
|
@@ -296,8 +296,8 @@ remixmate template-registry --list-templates
|
|
|
296
296
|
### Quick start
|
|
297
297
|
|
|
298
298
|
```
|
|
299
|
-
@skills/gen-image/SKILL.md Generate an image of a panda, 9:16, using
|
|
300
|
-
@skills/gen-video/SKILL.md Generate a video of a panda running in a bamboo forest, 9:16, 6 seconds, using
|
|
299
|
+
@skills/gen-image/SKILL.md Generate an image of a panda, 9:16, using seedream-pro, Chinese-painting style + follow this doc strictly
|
|
300
|
+
@skills/gen-video/SKILL.md Generate a video of a panda running in a bamboo forest, 9:16, 6 seconds, using seedance-mini + follow this doc strictly
|
|
301
301
|
@skills/gen-voice/SKILL.md Generate a voiceover introducing panda habits, around 100 words + follow this doc strictly
|
|
302
302
|
@skills/gen-digital-human/SKILL.md Get the digital human list + follow this doc strictly
|
|
303
303
|
@skills/template-registry/SKILL.md Get the template list + follow this doc strictly
|
package/README.zh-CN.md
CHANGED
|
@@ -124,8 +124,8 @@ Python 技能(12 个中的 8 个)需要 `python3 >= 3.10`。`web-screenshot`
|
|
|
124
124
|
│ export-jianying 素材 → 剪映草稿 ZIP │
|
|
125
125
|
├─────────────────────────────────────────────────────────────┤
|
|
126
126
|
│ 原子层 Skills │
|
|
127
|
-
│ gen-image 文生图 / 图生图(Seedream
|
|
128
|
-
│ gen-video 文生视频(Seedance
|
|
127
|
+
│ gen-image 文生图 / 图生图(Seedream 5.0) │
|
|
128
|
+
│ gen-video 文生视频(Seedance 2.0) │
|
|
129
129
|
│ gen-voice 语音合成(Minimax TTS) │
|
|
130
130
|
│ gen-digital-human 数字人口播(即梦 / 飞影) │
|
|
131
131
|
├─────────────────────────────────────────────────────────────┤
|
|
@@ -162,8 +162,8 @@ Python 技能(12 个中的 8 个)需要 `python3 >= 3.10`。`web-screenshot`
|
|
|
162
162
|
|
|
163
163
|
| 技能 | 类型 | 说明 | 运行方式 / entry |
|
|
164
164
|
|------|------|------|------------------|
|
|
165
|
-
| gen-image | 原子 | 文生图 / 图生图(Seedream
|
|
166
|
-
| gen-video | 原子 | 文生视频(Seedance
|
|
165
|
+
| gen-image | 原子 | 文生图 / 图生图(Seedream 5.0 Lite / Pro) | http handler |
|
|
166
|
+
| gen-video | 原子 | 文生视频(Seedance 2.0 三档) | http handler |
|
|
167
167
|
| gen-voice | 原子 | 语音合成(Minimax TTS) | http handler |
|
|
168
168
|
| gen-digital-human | 原子 | 数字人口播(即梦 / 飞影) | http handler |
|
|
169
169
|
| gen-script | 编排 | 主题 → Video DSL JSON | python `scripts/gen_script.py` |
|
|
@@ -232,8 +232,8 @@ remixmate template-registry --list-templates
|
|
|
232
232
|
### 快速体验
|
|
233
233
|
|
|
234
234
|
```
|
|
235
|
-
@skills/gen-image/SKILL.md 生成一张熊猫的图片,9:16,调用
|
|
236
|
-
@skills/gen-video/SKILL.md 生成一段熊猫在竹林奔跑的视频,9:16,长度6
|
|
235
|
+
@skills/gen-image/SKILL.md 生成一张熊猫的图片,9:16,调用 seedream-pro,国画风 + 严格按该文档执行
|
|
236
|
+
@skills/gen-video/SKILL.md 生成一段熊猫在竹林奔跑的视频,9:16,长度6秒,用 seedance-mini + 严格按该文档执行
|
|
237
237
|
@skills/gen-voice/SKILL.md 生成一段语音,介绍熊猫的习性,大概100字左右 + 严格按该文档执行
|
|
238
238
|
@skills/gen-digital-human/SKILL.md 获取数字人列表 + 严格按该文档执行
|
|
239
239
|
@skills/template-registry/SKILL.md 获取模版列表 + 严格按该文档执行
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
* through and is validated by the backend).
|
|
10
10
|
* - --size accepts a WxH string (→ width/height) or an aspect-ratio preset key
|
|
11
11
|
* (→ aspectRatio; for Seedream models ab-api maps the preset to pixels).
|
|
12
|
-
* - --resolution
|
|
12
|
+
* - --resolution is accepted but inert: it only ever fed the Gemini `size` tier,
|
|
13
|
+
* and Gemini is not wired up on the gateway, so we no longer send it.
|
|
13
14
|
* - Reference images: HTTPS URLs and data: URIs pass through; local paths are
|
|
14
15
|
* read and base64-encoded into a data: URI.
|
|
15
16
|
* - Async response (generationId + status:'generating'/'pending') is polled
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
* through and is validated by the backend).
|
|
10
10
|
* - --size accepts a WxH string (→ width/height) or an aspect-ratio preset key
|
|
11
11
|
* (→ aspectRatio; for Seedream models ab-api maps the preset to pixels).
|
|
12
|
-
* - --resolution
|
|
12
|
+
* - --resolution is accepted but inert: it only ever fed the Gemini `size` tier,
|
|
13
|
+
* and Gemini is not wired up on the gateway, so we no longer send it.
|
|
13
14
|
* - Reference images: HTTPS URLs and data: URIs pass through; local paths are
|
|
14
15
|
* read and base64-encoded into a data: URI.
|
|
15
16
|
* - Async response (generationId + status:'generating'/'pending') is polled
|
|
@@ -48,7 +49,6 @@ export async function genImage(input, ctxIn) {
|
|
|
48
49
|
const model = descriptor?.id ?? requested ?? defaultModel(caps.image)?.id ?? '';
|
|
49
50
|
const size = input.size ?? '1:1';
|
|
50
51
|
const n = toNumber(input.n, 'n') ?? 1;
|
|
51
|
-
const resolution = input.resolution ?? '1K';
|
|
52
52
|
const seed = toNumber(input.seed, 'seed');
|
|
53
53
|
const imageStrength = toNumber(input.image_strength, 'image_strength');
|
|
54
54
|
const guidanceScale = toNumber(input.guidance_scale, 'guidance_scale');
|
|
@@ -76,8 +76,8 @@ export async function genImage(input, ctxIn) {
|
|
|
76
76
|
if (watermark !== undefined)
|
|
77
77
|
payload.watermark = watermark;
|
|
78
78
|
// --size as WxH → explicit pixels; otherwise treat as an aspect-ratio preset.
|
|
79
|
-
// ab-api maps an aspect-ratio preset to
|
|
80
|
-
//
|
|
79
|
+
// ab-api maps an aspect-ratio preset to that model's pixel table, so the CLI
|
|
80
|
+
// carries no per-model size table.
|
|
81
81
|
if (/^\d+x\d+$/i.test(size)) {
|
|
82
82
|
const [w, h] = size.toLowerCase().split('x').map((v) => parseInt(v, 10));
|
|
83
83
|
payload.width = w;
|
|
@@ -86,7 +86,6 @@ export async function genImage(input, ctxIn) {
|
|
|
86
86
|
else {
|
|
87
87
|
payload.aspectRatio = size;
|
|
88
88
|
}
|
|
89
|
-
payload.size = resolution;
|
|
90
89
|
const ctx = await resolveHttpContext(ctxIn.skillName, {
|
|
91
90
|
apiBaseUrl,
|
|
92
91
|
privateToken: input.priv_token,
|