@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.
Files changed (54) hide show
  1. package/README.md +46 -0
  2. package/README.zh-CN.md +22 -0
  3. package/dist/auth/auth-lock.d.ts +26 -0
  4. package/dist/auth/auth-lock.js +100 -0
  5. package/dist/auth/auto-login.d.ts +20 -0
  6. package/dist/auth/auto-login.js +66 -0
  7. package/dist/auth/commands.d.ts +8 -0
  8. package/dist/auth/commands.js +130 -0
  9. package/dist/auth/credential-store.d.ts +44 -0
  10. package/dist/auth/credential-store.js +126 -0
  11. package/dist/auth/device-flow-runner.d.ts +43 -0
  12. package/dist/auth/device-flow-runner.js +62 -0
  13. package/dist/auth/device-flow.d.ts +52 -0
  14. package/dist/auth/device-flow.js +115 -0
  15. package/dist/auth/environment.d.ts +25 -0
  16. package/dist/auth/environment.js +48 -0
  17. package/dist/auth/resolve.d.ts +30 -0
  18. package/dist/auth/resolve.js +44 -0
  19. package/dist/cli.js +11 -0
  20. package/dist/handlers/gen-digital-human.js +1 -1
  21. package/dist/handlers/gen-image.js +1 -1
  22. package/dist/handlers/gen-video.js +1 -1
  23. package/dist/handlers/gen-voice.js +2 -2
  24. package/dist/http.d.ts +9 -5
  25. package/dist/http.js +24 -10
  26. package/dist/manifest.json +3 -3
  27. package/dist/runner.d.ts +1 -1
  28. package/package.json +1 -1
  29. package/skills/export-jianying/SKILL.md +9 -3
  30. package/skills/export-jianying/version.json +1 -1
  31. package/skills/gen-digital-human/SKILL.md +11 -11
  32. package/skills/gen-digital-human/version.json +1 -1
  33. package/skills/gen-image/SKILL.md +6 -6
  34. package/skills/gen-image/version.json +1 -1
  35. package/skills/gen-script/scripts/gen_script.py +211 -140
  36. package/skills/gen-script/skill.json +1 -1
  37. package/skills/gen-script/version.json +1 -1
  38. package/skills/gen-video/SKILL.md +6 -6
  39. package/skills/gen-video/version.json +1 -1
  40. package/skills/gen-voice/SKILL.md +6 -6
  41. package/skills/gen-voice/version.json +1 -1
  42. package/skills/render-video/SKILL.md +20 -1
  43. package/skills/render-video/scripts/remote_renderer_client.py +9 -7
  44. package/skills/render-video/scripts/render_video.py +119 -15
  45. package/skills/render-video/version.json +1 -1
  46. package/skills/template-registry/README.md +12 -13
  47. package/skills/template-registry/SKILL.md +11 -12
  48. package/skills/template-registry/scripts/registry_loader.py +117 -96
  49. package/skills/template-registry/scripts/render_job_client.py +12 -0
  50. package/skills/template-registry/skill.json +1 -1
  51. package/skills/template-registry/version.json +1 -1
  52. package/skills/template-registry/video_dsl/runtime/dsl_validator.py +2 -2
  53. package/skills/web-capture/skill.json +0 -1
  54. 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 ab-skill 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 `ab-skill gen-digital-human ...`.
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
- ab-skill gen-digital-human --list-avatars
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
- ab-skill gen-digital-human --list-avatars --source jimeng
65
- ab-skill gen-digital-human --list-avatars --source hifly
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
- ab-skill gen-digital-human --list-avatars --gender female
68
+ remixmate gen-digital-human --list-avatars --gender female
69
69
 
70
70
  # Show your custom avatars
71
- ab-skill gen-digital-human --list-avatars --mine
71
+ remixmate gen-digital-human --list-avatars --mine
72
72
 
73
73
  # Filter by name
74
- ab-skill gen-digital-human --list-avatars --name "alice"
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
- ab-skill gen-digital-human \
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
- ab-skill gen-digital-human \
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
- ab-skill gen-digital-human \
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
- ab-skill gen-digital-human --check-status --generation-id 123
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": "V7",
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 ab-skill 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 `ab-skill gen-image ...`.
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
- ab-skill gen-image \
62
+ remixmate gen-image \
63
63
  --prompt "<image description>" \
64
64
  --size "9:16"
65
65
  ```
66
66
 
67
67
  ```bash
68
- ab-skill gen-image \
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
- ab-skill gen-image \
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
- ab-skill gen-image \
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
- ab-skill gen-image \
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": "V8",
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
  }