@mrgoonie/multix 0.12.0 → 0.14.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mrgoonie/multix",
3
- "version": "0.12.0",
4
- "description": "AI multimodal CLI — OpenAI, Gemini, MiniMax, OpenRouter, Leonardo, BytePlus, ElevenLabs, fal.ai, Atlas Cloud, Replicate, ffmpeg, ImageMagick, doc-to-md",
3
+ "version": "0.14.0",
4
+ "description": "AI multimodal CLI — OpenAI, Gemini, MiniMax, OpenRouter, Leonardo, BytePlus, ElevenLabs, fal.ai, Atlas Cloud, Replicate, HeyGen, ffmpeg, ImageMagick, doc-to-md",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "multix": "./dist/cli.js"
@@ -51,6 +51,9 @@
51
51
  "fal-ai",
52
52
  "atlascloud",
53
53
  "replicate",
54
+ "heygen",
55
+ "ai-avatar",
56
+ "video-translation",
54
57
  "ffmpeg",
55
58
  "imagemagick",
56
59
  "media",
package/skill/SKILL.md CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multix
3
- description: AI multimodal CLI — generate and edit images (OpenAI, Codex driver, Gemini Nano Banana, Imagen, MiniMax, OpenRouter, Leonardo, BytePlus Seedream, Cloudflare Workers AI FLUX.1 Schnell, fal.ai FLUX, Replicate FLUX), generate video (Gemini Veo, MiniMax Hailuo, OpenRouter via Veo/Seedance/Kling, Leonardo via Motion/Veo/Kling/Hailuo/Seedance/LTX, BytePlus Seedance, Cloudflare AI Gateway via Replicate, fal.ai queue models, Replicate direct API models incl. P-Video), TTS/STT/music (OpenAI, Gemini Flash TTS incl. Gemini 3.8 with delivery-style control, MiniMax, Cloudflare Workers AI MeloTTS, ElevenLabs), 3D models (BytePlus Hyper3D/Hitem3d), analyze/transcribe media, convert documents to Markdown, optimize media via ffmpeg/ImageMagick, and self-update the CLI. Use whenever the user wants to create, edit, or transform images/video/audio/3D/documents from a CLI, mentions any of: OpenAI, Codex image driver, image-to-image, i2i, image edit, watercolor/cyberpunk style transfer, reference image, OpenRouter, Nano Banana, Flux, Seedream, Veo, Hailuo, Seedance, Kling, Cloudflare Workers AI, AI Gateway, fal.ai, Atlas Cloud, Replicate, replicate.com models, Replicate predictions, video generation, text-to-video, image-to-video, i2v, ElevenLabs voice cloning, updating/upgrading multix, or asks for batch media optimization.
4
- version: 0.12.0 # x-release-please-version
3
+ description: AI multimodal CLI — generate and edit images (OpenAI, Codex driver, Gemini Nano Banana, Imagen, MiniMax, OpenRouter, Leonardo, BytePlus Seedream, Cloudflare Workers AI FLUX.1 Schnell, fal.ai FLUX, Replicate FLUX), generate video (Gemini Veo, MiniMax Hailuo, OpenRouter via Veo/Seedance/Kling, Leonardo via Motion/Veo/Kling/Hailuo/Seedance/LTX, BytePlus Seedance, Cloudflare AI Gateway via Replicate, fal.ai queue models, Replicate direct API models incl. P-Video, HeyGen Video Agent and scripted avatar videos), video translation and lipsync (HeyGen), TTS/STT/music (OpenAI, Gemini Flash TTS incl. Gemini 3.8 with delivery-style control, MiniMax, Cloudflare Workers AI MeloTTS, ElevenLabs), 3D models (BytePlus Hyper3D/Hitem3d), analyze/transcribe media, convert documents to Markdown, optimize media via ffmpeg/ImageMagick, and self-update the CLI. Use whenever the user wants to create, edit, or transform images/video/audio/3D/documents from a CLI, mentions any of: OpenAI, Codex image driver, image-to-image, i2i, image edit, watercolor/cyberpunk style transfer, reference image, OpenRouter, Nano Banana, Flux, Seedream, Veo, Hailuo, Seedance, Kling, Cloudflare Workers AI, AI Gateway, fal.ai, Atlas Cloud, Replicate, replicate.com models, Replicate predictions, HeyGen, avatar video, talking head, Video Agent, video translation, dubbing, lipsync, video generation, text-to-video, image-to-video, i2v, ElevenLabs voice cloning, updating/upgrading multix, or asks for batch media optimization.
4
+ version: 0.14.0 # x-release-please-version
5
5
  ---
6
6
 
7
7
  # multix — AI Multimodal CLI
@@ -24,6 +24,7 @@ Activate this skill when the user asks to:
24
24
  - Run any fal.ai model (generic queue-API runner), or fal.ai's default image/video models
25
25
  - Run any Atlas Cloud model (image, image edit, video, TTS/STT, 3D) with schema-validated inputs and resumable async predictions
26
26
  - Run any Replicate model (official or versioned) via the direct API, generate Replicate images/video, or resume/cancel a Replicate prediction by id
27
+ - Make HeyGen avatar videos from a prompt (Video Agent) or an exact script, translate/lipsync videos, HeyGen TTS
27
28
  - Update multix itself to the latest (or a given dist-tag) npm version
28
29
 
29
30
  ## Self-update
@@ -47,6 +48,7 @@ ELEVENLABS_API_KEY # ElevenLabs (TTS, cloning, STT, music, dubbing)
47
48
  FAL_KEY # fal.ai (generic queue-API model runner, image/video)
48
49
  ATLASCLOUD_API_KEY # Atlas Cloud (any model: image, edit, video, audio, 3D)
49
50
  REPLICATE_API_TOKEN # Replicate direct API (REPLICATE_API_KEY accepted as fallback)
51
+ HEYGEN_API_KEY # HeyGen v3 (avatar video, Video Agent, translation); API billed separately from web plans
50
52
  CLOUDFLARE_ACCOUNT_ID # Cloudflare Workers AI / AI Gateway account
51
53
  CLOUDFLARE_API_TOKEN # Cloudflare Workers AI / AI Gateway token
52
54
  # Video additionally requires CLOUDFLARE_AI_GATEWAY_ID and REPLICATE_API_TOKEN.
@@ -178,6 +180,32 @@ multix replicate cancel <prediction-id>
178
180
 
179
181
  Shared flags: `--async`, `--wait`, `--prefer-wait [seconds]` (sends `Prefer: wait=N`, still polls if unfinished), `--wait-timeout <ms>`, `--no-download` (print URLs), `--output <path|dir/>`. `failed`/`canceled`/`aborted` predictions exit non-zero. Local files up to 256 KB are inlined as data URIs; larger files (< 100 MB) go through the Replicate Files API.
180
182
 
183
+ ## HeyGen
184
+
185
+ Auth is `X-Api-Key: $HEYGEN_API_KEY` (v3 API). API credits are billed separately from HeyGen web plans; check with `multix heygen me`.
186
+
187
+ Pick the command by who writes the script:
188
+ - `video-agent "<prompt>"`: **Video Agent**, prompt-to-video. The agent writes the script and picks avatar/voice/scenes. Best for drafts and explainers from a brief.
189
+ - `video "<script>" --avatar <look-id>`: **scripted avatar video**. The avatar speaks your exact words (or lip-syncs `--audio`). Get look IDs from `heygen avatars`, not group IDs.
190
+ - `model-video "<prompt>"`: the HeyGen Video model, a 5-15 s cinematic clip with no avatar.
191
+
192
+ ```bash
193
+ multix heygen video-agent "45-second explainer for a note app" [--avatar <look-id>] [--voice <voice-id>] [--style <style-id>] [--orientation portrait] [--file <ref>]
194
+ multix heygen avatars [--type photo_avatar] [--cursor <token>]
195
+ multix heygen voices [--language English]
196
+ multix heygen video "Hello!" --avatar <look-id> [--voice <id>] [--aspect-ratio 9:16] [--engine avatar_iv|avatar_v|avatar_iii] [--burn-captions]
197
+ multix heygen translate <ref> --languages "Spanish, Chinese (Cantonese, Traditional)" [--output <dir|dub.mp4>] # several languages: dub.mp4 -> dub-Spanish.mp4, ...
198
+ multix heygen lipsync --video <ref> --audio <ref>
199
+ multix heygen tts "Hello" --voice <voice-id>
200
+ multix heygen template <template-id> --input @vars.json
201
+ multix heygen run <video-agent|video|video-translation|lipsync|model-video|speech> --input @payload.json
202
+ multix heygen status <id> --type agent|video|translation|lipsync|model-video --wait --download
203
+ ```
204
+
205
+ - `<ref>` = `https://` URL, `asset:<asset_id>`, or a local file (uploaded, max 32 MB).
206
+ - Commands wait and download by default. `--async` prints IDs and a resume command; `--type agent` resumes with the Video Agent `session_id`.
207
+ - Failed jobs exit 1 with HeyGen's failure code. 402 means add API credits; 403 means a scope or entitlement is missing.
208
+
181
209
  ## Image-to-image (edit existing image with a prompt)
182
210
 
183
211
  Every supported provider exposes `image-to-image` and the alias `i2i`. Refs accept local file path OR URL.
@@ -326,6 +354,7 @@ multix byteplus 3d --input-image ./front.png ./side.png --prompt "Generate from
326
354
 
327
355
  # Docs → Markdown (Gemini)
328
356
  multix doc convert --input report.pdf [--auto-name] [--output ./out.md]
357
+ cat report.pdf | multix doc convert --input - --output ./out.md # "-" reads stdin; --stdin-ext <ext> (e.g. pdf) if undetected
329
358
 
330
359
  # Media optimization (ffmpeg + ImageMagick)
331
360
  multix media optimize --input <file> --output <file> [--target-size <MB>] [--quality 85] [--max-width 1920]