@mrgoonie/multix 0.10.0 → 0.11.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/CHANGELOG.md +7 -0
- package/README.md +48 -1
- package/dist/cli.js +2225 -933
- package/package.json +3 -2
- package/skill/SKILL.md +35 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrgoonie/multix",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "AI multimodal CLI — OpenAI, Gemini, MiniMax, OpenRouter, Leonardo, BytePlus, ElevenLabs, fal.ai, ffmpeg, ImageMagick, doc-to-md",
|
|
3
|
+
"version": "0.11.0",
|
|
4
|
+
"description": "AI multimodal CLI — OpenAI, Gemini, MiniMax, OpenRouter, Leonardo, BytePlus, ElevenLabs, fal.ai, Atlas Cloud, ffmpeg, ImageMagick, doc-to-md",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"multix": "./dist/cli.js"
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
"leonardo-ai",
|
|
50
50
|
"fal",
|
|
51
51
|
"fal-ai",
|
|
52
|
+
"atlascloud",
|
|
52
53
|
"ffmpeg",
|
|
53
54
|
"imagemagick",
|
|
54
55
|
"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), 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), 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, video generation, text-to-video, image-to-video, i2v, ElevenLabs voice cloning, updating/upgrading multix, or asks for batch media optimization.
|
|
4
|
-
version: 0.
|
|
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), 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), 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, video generation, text-to-video, image-to-video, i2v, ElevenLabs voice cloning, updating/upgrading multix, or asks for batch media optimization.
|
|
4
|
+
version: 0.11.0 # x-release-please-version
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# multix — AI Multimodal CLI
|
|
@@ -22,6 +22,7 @@ Activate this skill when the user asks to:
|
|
|
22
22
|
- Convert PDFs / DOCX / images to Markdown
|
|
23
23
|
- Optimize, resize, batch-convert, or split video/audio/image files
|
|
24
24
|
- Run any fal.ai model (generic queue-API runner), or fal.ai's default image/video models
|
|
25
|
+
- Run any Atlas Cloud model (image, image edit, video, TTS/STT, 3D) with schema-validated inputs and resumable async predictions
|
|
25
26
|
- Update multix itself to the latest (or a given dist-tag) npm version
|
|
26
27
|
|
|
27
28
|
## Self-update
|
|
@@ -43,6 +44,7 @@ LEONARDO_API_KEY # Leonardo.Ai (image/video/upscale)
|
|
|
43
44
|
BYTEPLUS_API_KEY # BytePlus / Volcengine ARK (Seedream/Seedance/Hyper3D)
|
|
44
45
|
ELEVENLABS_API_KEY # ElevenLabs (TTS, cloning, STT, music, dubbing)
|
|
45
46
|
FAL_KEY # fal.ai (generic queue-API model runner, image/video)
|
|
47
|
+
ATLASCLOUD_API_KEY # Atlas Cloud (any model: image, edit, video, audio, 3D)
|
|
46
48
|
CLOUDFLARE_ACCOUNT_ID # Cloudflare Workers AI / AI Gateway account
|
|
47
49
|
CLOUDFLARE_API_TOKEN # Cloudflare Workers AI / AI Gateway token
|
|
48
50
|
# Video additionally requires CLOUDFLARE_AI_GATEWAY_ID and REPLICATE_API_TOKEN.
|
|
@@ -79,6 +81,7 @@ multix check [--verbose]
|
|
|
79
81
|
| BytePlus | `multix byteplus generate --prompt "<text>" [--model seedream-4-0-250828] [--size 2K] [--aspect-ratio 16:9] [-n N] [--input-image <path\|url>]` | Sync |
|
|
80
82
|
| Cloudflare | `multix cloudflare generate --prompt "<text>" [--steps 1-8] [--seed <n>]` | Workers AI FLUX.1 Schnell only |
|
|
81
83
|
| fal.ai | `multix fal image "<text>" [-m <model>] [--image-size square_hd] [-n N] [--seed <n>]` | Default `fal-ai/flux/schnell`; also `multix fal run <model> --input <json\|@file>` for any fal model |
|
|
84
|
+
| Atlas Cloud | `multix atlas image "<text>" [-m <model>] [--size <size>] [--aspect-ratio 1:1] [-n N] [--seed <n>]` | Default `black-forest-labs/flux-schnell`; flags are validated against the model's schema |
|
|
82
85
|
|
|
83
86
|
Aspect ratios (most providers): `1:1 2:3 3:2 3:4 4:3 4:5 5:4 9:16 16:9 21:9`.
|
|
84
87
|
|
|
@@ -128,6 +131,29 @@ multix fal status <model> <requestId>
|
|
|
128
131
|
multix fal result <model> <requestId> [--download]
|
|
129
132
|
```
|
|
130
133
|
|
|
134
|
+
## Atlas Cloud
|
|
135
|
+
|
|
136
|
+
Auth is `Authorization: Bearer $ATLASCLOUD_API_KEY`; the media API base is `https://api.atlascloud.ai/api/v1`. Each job is an async prediction: commands wait (bounded by `--wait-timeout`) and download to `MULTIX_OUTPUT_DIR` as `atlas-<idprefix>-NN.<ext>`. `--async` prints only the prediction id on stdout (progress goes to stderr) so scripts can capture it. A failed prediction, or a partial download, exits non-zero with a resume command.
|
|
137
|
+
|
|
138
|
+
Inputs are model-specific. multix reads the model's published schema and maps flags onto its field names (`size`/`image_size`, `images[]`/`image`, `audio_url`/`audio`). Unsupported flags and invalid values fail before anything is billed, and the error lists the accepted values. Pass `--no-validate` to skip this check.
|
|
139
|
+
|
|
140
|
+
```bash
|
|
141
|
+
multix atlas image "a red fox in the snow" [-m <model>] [--size <size>] [--aspect-ratio 1:1] [-n 1] [--seed <n>]
|
|
142
|
+
multix atlas image-to-image --prompt "make it dusk" --ref ./photo.png # default openai/gpt-image-1-mini/edit
|
|
143
|
+
multix atlas video "waves at sunset" [--duration <s>] [--resolution 720p] # default bytedance/seedance-v1-pro-fast/text-to-video
|
|
144
|
+
multix atlas image-to-video --ref ./frame.png [--prompt "slow pan"]
|
|
145
|
+
multix atlas audio "Hello from multix" [--voice <id>] # TTS, default xai/tts-v1
|
|
146
|
+
multix atlas audio --audio ./meeting.mp3 # STT, transcript printed to stdout
|
|
147
|
+
multix atlas 3d "a low-poly treasure chest" [--ref ./object.png] # tencent/hunyuan3d-rapid
|
|
148
|
+
multix atlas run <modelId> --input '{"prompt":"a cat"}' [--type image|video|audio]
|
|
149
|
+
|
|
150
|
+
# Async + resume
|
|
151
|
+
id=$(multix atlas video "waves" --async)
|
|
152
|
+
multix atlas status "$id" --wait --download [--output <path>]
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
`--ref` takes one value per flag; repeat it for several references. Local `--ref` and `--audio` files are uploaded first (`multix atlas upload <file>` prints only a temporary URL). Uploads accept only image, video and audio files up to 200 MB (`ATLASCLOUD_MAX_UPLOAD_MB`). `run --no-validate` skips the schema, so pass `--type` with it. Atlas Cloud has no cancel endpoint.
|
|
156
|
+
|
|
131
157
|
## Image-to-image (edit existing image with a prompt)
|
|
132
158
|
|
|
133
159
|
Every supported provider exposes `image-to-image` and the alias `i2i`. Refs accept local file path OR URL.
|
|
@@ -317,6 +343,9 @@ Requires `cwebp` (libwebp: `brew install webp`, `apt install webp`) on `PATH`.
|
|
|
317
343
|
| `BYTEPLUS_VIDEO_PARAMS_MODE` | `flags` (default) or `structured` |
|
|
318
344
|
| `FAL_BASE_URL` | Override fal queue base (default `https://queue.fal.run`) |
|
|
319
345
|
| `FAL_IMAGE_MODEL` / `FAL_VIDEO_MODEL` | fal.ai default model ids (default `fal-ai/flux/schnell`, `fal-ai/kling-video/v1.6/standard/text-to-video`) |
|
|
346
|
+
| `ATLASCLOUD_BASE_URL` | Override Atlas Cloud media API base (default `https://api.atlascloud.ai/api/v1`) |
|
|
347
|
+
| `ATLASCLOUD_IMAGE_MODEL` / `ATLASCLOUD_IMAGE_EDIT_MODEL` / `ATLASCLOUD_VIDEO_MODEL` / `ATLASCLOUD_IMAGE_TO_VIDEO_MODEL` / `ATLASCLOUD_TTS_MODEL` / `ATLASCLOUD_STT_MODEL` / `ATLASCLOUD_TEXT_TO_3D_MODEL` / `ATLASCLOUD_IMAGE_TO_3D_MODEL` | Atlas Cloud default model ids per command |
|
|
348
|
+
| `ATLASCLOUD_MAX_UPLOAD_MB` | Size limit for local files uploaded to Atlas Cloud (default 200) |
|
|
320
349
|
| `GEMINI_TTS_MODEL` / `TTS_MODEL` | Override Gemini TTS model (default `gemini-3.8-flash-lite-tts`) |
|
|
321
350
|
| `CLOUDFLARE_ACCOUNT_ID` / `CLOUDFLARE_API_TOKEN` | Required for Cloudflare Workers AI image/speech and AI Gateway video |
|
|
322
351
|
| `CLOUDFLARE_AI_GATEWAY_ID` | Optional for native Cloudflare image/speech; required for Cloudflare video |
|
|
@@ -365,6 +394,10 @@ multix doc convert --input report.pdf --auto-name
|
|
|
365
394
|
multix fal image "A sunset over mountains"
|
|
366
395
|
multix fal run fal-ai/flux/schnell --input '{"prompt":"A sunset over mountains"}'
|
|
367
396
|
|
|
397
|
+
# Atlas Cloud
|
|
398
|
+
multix atlas image "A sunset over mountains"
|
|
399
|
+
multix atlas status "$(multix atlas video "Ocean waves" --async)" --wait --download
|
|
400
|
+
|
|
368
401
|
# Self-update
|
|
369
402
|
multix update --check
|
|
370
403
|
multix update
|