@remixmate/cli 0.1.2 → 0.9.5
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 +46 -0
- package/README.zh-CN.md +22 -0
- package/dist/auth/auth-lock.d.ts +26 -0
- package/dist/auth/auth-lock.js +100 -0
- package/dist/auth/auto-login.d.ts +20 -0
- package/dist/auth/auto-login.js +66 -0
- package/dist/auth/commands.d.ts +8 -0
- package/dist/auth/commands.js +130 -0
- package/dist/auth/credential-store.d.ts +44 -0
- package/dist/auth/credential-store.js +126 -0
- package/dist/auth/device-flow-runner.d.ts +43 -0
- package/dist/auth/device-flow-runner.js +62 -0
- package/dist/auth/device-flow.d.ts +52 -0
- package/dist/auth/device-flow.js +115 -0
- package/dist/auth/environment.d.ts +25 -0
- package/dist/auth/environment.js +48 -0
- package/dist/auth/resolve.d.ts +30 -0
- package/dist/auth/resolve.js +44 -0
- package/dist/cli.js +11 -0
- package/dist/handlers/gen-digital-human.js +1 -1
- package/dist/handlers/gen-image.js +1 -1
- package/dist/handlers/gen-video.js +1 -1
- package/dist/handlers/gen-voice.js +2 -2
- package/dist/http.d.ts +9 -5
- package/dist/http.js +24 -10
- package/dist/manifest.json +3 -3
- package/dist/runner.d.ts +1 -1
- package/package.json +1 -1
- package/skills/export-jianying/SKILL.md +9 -3
- package/skills/export-jianying/version.json +1 -1
- package/skills/gen-digital-human/SKILL.md +11 -11
- package/skills/gen-digital-human/version.json +1 -1
- package/skills/gen-image/SKILL.md +6 -6
- package/skills/gen-image/version.json +1 -1
- package/skills/gen-script/scripts/gen_script.py +211 -140
- package/skills/gen-script/skill.json +1 -1
- package/skills/gen-script/version.json +1 -1
- package/skills/gen-video/SKILL.md +6 -6
- package/skills/gen-video/version.json +1 -1
- package/skills/gen-voice/SKILL.md +6 -6
- package/skills/gen-voice/version.json +1 -1
- package/skills/render-video/SKILL.md +20 -1
- package/skills/render-video/scripts/remote_renderer_client.py +9 -7
- package/skills/render-video/scripts/render_video.py +119 -15
- package/skills/render-video/version.json +1 -1
- package/skills/template-registry/README.md +12 -13
- package/skills/template-registry/SKILL.md +11 -12
- package/skills/template-registry/scripts/registry_loader.py +117 -96
- package/skills/template-registry/scripts/render_job_client.py +12 -0
- package/skills/template-registry/skill.json +1 -1
- package/skills/template-registry/version.json +1 -1
- package/skills/template-registry/video_dsl/runtime/dsl_validator.py +2 -2
- package/skills/web-capture/skill.json +0 -1
- package/skills/web-capture/version.json +1 -1
|
@@ -21,7 +21,7 @@ triggers:
|
|
|
21
21
|
|
|
22
22
|
Wraps ab-api's digital-human endpoints (the same ones the web studio uses), authenticated with the **Tianyan privateToken**. Two providers: **Jimeng** (image-driven) and **HiFly** (video-driven). Generation is async — the handler submits the task and polls `/digital-human/video/status` until completion.
|
|
23
23
|
|
|
24
|
-
> This skill was migrated from a Python script to an
|
|
24
|
+
> This skill was migrated from a Python script to an remixmate CLI HTTP handler (`entry.type: http`). The agent invocation is unchanged (same tool name `gen_digital_human`, same params as in `skill.json`); local repro goes through `remixmate gen-digital-human ...`.
|
|
25
25
|
|
|
26
26
|
## Capabilities
|
|
27
27
|
|
|
@@ -54,24 +54,24 @@ By default only the URL is printed; generation is async and the handler polls un
|
|
|
54
54
|
### 1. List avatars
|
|
55
55
|
|
|
56
56
|
```bash
|
|
57
|
-
|
|
57
|
+
remixmate gen-digital-human --list-avatars
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
Optional filters:
|
|
61
61
|
|
|
62
62
|
```bash
|
|
63
63
|
# Filter by source (jimeng = image-driven, hifly = video-driven)
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
remixmate gen-digital-human --list-avatars --source jimeng
|
|
65
|
+
remixmate gen-digital-human --list-avatars --source hifly
|
|
66
66
|
|
|
67
67
|
# Filter by gender
|
|
68
|
-
|
|
68
|
+
remixmate gen-digital-human --list-avatars --gender female
|
|
69
69
|
|
|
70
70
|
# Show your custom avatars
|
|
71
|
-
|
|
71
|
+
remixmate gen-digital-human --list-avatars --mine
|
|
72
72
|
|
|
73
73
|
# Filter by name
|
|
74
|
-
|
|
74
|
+
remixmate gen-digital-human --list-avatars --name "alice"
|
|
75
75
|
```
|
|
76
76
|
|
|
77
77
|
> Custom avatars require `--mine`. When generating a video the handler auto-falls back from the public list to `mine: true` if needed.
|
|
@@ -81,7 +81,7 @@ ab-skill gen-digital-human --list-avatars --name "alice"
|
|
|
81
81
|
#### TTS mode
|
|
82
82
|
|
|
83
83
|
```bash
|
|
84
|
-
|
|
84
|
+
remixmate gen-digital-human \
|
|
85
85
|
--avatar-id 7 \
|
|
86
86
|
--text "Hi everyone, welcome to the live stream — today I'll introduce a new product." \
|
|
87
87
|
--voice-id "male-qn-qingse"
|
|
@@ -90,7 +90,7 @@ ab-skill gen-digital-human \
|
|
|
90
90
|
#### TTS + custom voice + aspect ratio
|
|
91
91
|
|
|
92
92
|
```bash
|
|
93
|
-
|
|
93
|
+
remixmate gen-digital-human \
|
|
94
94
|
--avatar-id 7 \
|
|
95
95
|
--text "Hi class, here's our brand-new course." \
|
|
96
96
|
--voice-id "female-shaonv" \
|
|
@@ -100,7 +100,7 @@ ab-skill gen-digital-human \
|
|
|
100
100
|
#### Audio-driven mode
|
|
101
101
|
|
|
102
102
|
```bash
|
|
103
|
-
|
|
103
|
+
remixmate gen-digital-human \
|
|
104
104
|
--avatar-id 39 \
|
|
105
105
|
--source hifly \
|
|
106
106
|
--audio-url "https://example.com/voice.mp3" \
|
|
@@ -110,7 +110,7 @@ ab-skill gen-digital-human \
|
|
|
110
110
|
### 3. Check job status
|
|
111
111
|
|
|
112
112
|
```bash
|
|
113
|
-
|
|
113
|
+
remixmate gen-digital-human --check-status --generation-id 123
|
|
114
114
|
```
|
|
115
115
|
|
|
116
116
|
## Common CLI flags
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"skillName": "gen-digital-human",
|
|
3
3
|
"repoName": "agent-skill-media-maker",
|
|
4
4
|
"skillId": "336",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "V8",
|
|
6
6
|
"skillDescription": "数字人口播视频技能,支持查询形象、TTS 口播、音频驱动口播和查询生成状态(调用 ab-api 数字人接口,即梦 / 飞影)。\n\n当用户提到以下任何需求时,立即使用本 skill:\n- 数字人、数字人视频、数字人口播、生成数字人视频\n- 用户提供已有音频 URL(MP3 等)、用外链音频驱动数字人口型\n- AI 主播、虚拟主播、虚拟人物视频、口播视频\n- 让数字人说话、让虚拟人说一段话、让 AI 人物播报\n- 查看/列出数字人形象、有哪些数字人可以用\n- 使用即梦/飞影数字人\n\n即使用户没有明确说「使用 AI」,只要他们想要让一个虚拟人物朗读/播报一段文字并生成视频,也要使用本 skill。"
|
|
7
7
|
}
|
|
@@ -51,7 +51,7 @@ No skill-local env file — the executing process inherits the system environmen
|
|
|
51
51
|
|
|
52
52
|
## Operations
|
|
53
53
|
|
|
54
|
-
> This skill was migrated from a Python script to an
|
|
54
|
+
> This skill was migrated from a Python script to an remixmate CLI HTTP handler (`entry.type: http`). The agent invocation is unchanged (same tool name `gen_image`, same params as in `skill.json`); local repro goes through `remixmate gen-image ...`.
|
|
55
55
|
|
|
56
56
|
1. **Prompt**: be specific about subject, style, lighting, composition. Either English or Chinese works.
|
|
57
57
|
2. By default only the URL is printed (good for showing to the user); the legacy local-download flag has been dropped — image URLs are persisted in the cloud.
|
|
@@ -59,13 +59,13 @@ No skill-local env file — the executing process inherits the system environmen
|
|
|
59
59
|
### Text-to-image
|
|
60
60
|
|
|
61
61
|
```bash
|
|
62
|
-
|
|
62
|
+
remixmate gen-image \
|
|
63
63
|
--prompt "<image description>" \
|
|
64
64
|
--size "9:16"
|
|
65
65
|
```
|
|
66
66
|
|
|
67
67
|
```bash
|
|
68
|
-
|
|
68
|
+
remixmate gen-image \
|
|
69
69
|
--prompt "<image description>" \
|
|
70
70
|
--model gemini-3-pro-image \
|
|
71
71
|
--size "16:9" \
|
|
@@ -81,14 +81,14 @@ Reference images accept local file paths, HTTPS URLs, or data URIs. Pass `--refe
|
|
|
81
81
|
|
|
82
82
|
```bash
|
|
83
83
|
# URL reference
|
|
84
|
-
|
|
84
|
+
remixmate gen-image \
|
|
85
85
|
--prompt "Convert this photo to an oil-painting style" \
|
|
86
86
|
--reference "https://example.com/photo.jpg"
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
```bash
|
|
90
90
|
# Local-file reference + reference strength
|
|
91
|
-
|
|
91
|
+
remixmate gen-image \
|
|
92
92
|
--prompt "Match the style of this reference" \
|
|
93
93
|
--reference ./ref.png \
|
|
94
94
|
--image-strength 0.6
|
|
@@ -96,7 +96,7 @@ ab-skill gen-image \
|
|
|
96
96
|
|
|
97
97
|
```bash
|
|
98
98
|
# Multiple references
|
|
99
|
-
|
|
99
|
+
remixmate gen-image \
|
|
100
100
|
--prompt "Blend these styles" \
|
|
101
101
|
--reference ./a.png \
|
|
102
102
|
--reference ./b.png
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"skillName": "gen-image",
|
|
3
3
|
"repoName": "agent-skill-media-maker",
|
|
4
4
|
"skillId": "337",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "V9",
|
|
6
6
|
"skillDescription": "AI 生图技能,根据文字描述生成图片,也支持参考图进行图生图(调用 ab-api /model/genImg,支持 Seedream 与 Gemini)。\n\n当用户提到以下任何需求时,立即使用本 skill:\n- AI 生图、AI 画图、文生图、文字生成图片、生成图像、帮我画、生成一张图\n- 图生图、以图生图、参考图、风格迁移、图片变体\n- 使用 doubao / 豆包 / seedream、Gemini 等生成图片\n- 用户提供图片提示词并希望生成图片\n\n即使用户没有明确说「使用 AI」,只要他们想要根据描述生成图片,也要使用本 skill。"
|
|
7
7
|
}
|