@mrgoonie/multix 0.0.8 → 0.1.0-beta.1

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.0.8",
4
- "description": "AI multimodal CLI — Gemini (incl. Flash TTS), MiniMax, OpenRouter, Leonardo, BytePlus, ElevenLabs, ffmpeg, ImageMagick, doc-to-md",
3
+ "version": "0.1.0-beta.1",
4
+ "description": "AI multimodal CLI — OpenAI, Gemini, MiniMax, OpenRouter, Leonardo, BytePlus, ElevenLabs, ffmpeg, ImageMagick, doc-to-md",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "multix": "./dist/cli.js"
@@ -40,6 +40,7 @@
40
40
  "ai",
41
41
  "multimodal",
42
42
  "gemini",
43
+ "openai",
43
44
  "minimax",
44
45
  "openrouter",
45
46
  "leonardo",
@@ -50,6 +51,7 @@
50
51
  "image-generation",
51
52
  "video-generation",
52
53
  "speech-generation",
54
+ "speech-to-text",
53
55
  "document-converter"
54
56
  ],
55
57
  "author": "multix-cli contributors",
package/skill/SKILL.md CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multix
3
- description: AI multimodal CLI — generate and edit images (Gemini Nano Banana, Imagen, MiniMax, OpenRouter, Leonardo, BytePlus Seedream), generate video (Veo, Hailuo, Seedance, Leonardo), TTS/music (Gemini Flash TTS, MiniMax, ElevenLabs), 3D models (Hyper3D), analyze/transcribe media, convert documents to Markdown, optimize media via ffmpeg/ImageMagick. Use whenever the user wants to create, edit, or transform images/video/audio/documents from a CLI, mentions any of: image-to-image, i2i, image edit, watercolor/cyberpunk style transfer, reference image, OpenRouter, Nano Banana, Flux, Seedream, Veo, Hailuo, ElevenLabs voice cloning, or asks for batch media optimization.
4
- version: 0.0.7
3
+ description: AI multimodal CLI — generate and edit images (OpenAI, Codex driver, Gemini Nano Banana, Imagen, MiniMax, OpenRouter, Leonardo, BytePlus Seedream), generate video (Veo, Hailuo, Seedance, Leonardo), TTS/STT/music (OpenAI, Gemini Flash TTS, MiniMax, ElevenLabs), 3D models (Hyper3D), analyze/transcribe/extract media with Gemini 3.5 Flash text-output models, convert documents to Markdown, optimize media via ffmpeg/ImageMagick. Use whenever the user wants to create, edit, or transform images/video/audio/documents from a CLI, mentions any of: OpenAI, Codex image driver, Gemini 3.5 Flash, image-to-image, i2i, image edit, watercolor/cyberpunk style transfer, reference image, OpenRouter, Nano Banana, Flux, Seedream, Veo, Hailuo, ElevenLabs voice cloning, or asks for batch media optimization.
4
+ version: 0.1.0-beta.1 # 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
 
23
23
  ```
24
24
  GEMINI_API_KEY # Google AI Studio
25
+ OPENAI_API_KEY # OpenAI API (image, image edit, TTS, STT)
25
26
  OPENROUTER_API_KEY # OpenRouter (multi-model gateway)
26
27
  MINIMAX_API_KEY # MiniMax (image/video/speech/music)
27
28
  LEONARDO_API_KEY # Leonardo.Ai (image/video/upscale)
@@ -31,6 +32,12 @@ ELEVENLABS_API_KEY # ElevenLabs (TTS, cloning, STT, music, dubbing)
31
32
 
32
33
  Priority: `process.env` > `cwd/.env` > `~/.multix/.env`.
33
34
 
35
+ Codex CLI can be used as an experimental OpenAI image driver after manual `codex login`:
36
+
37
+ ```bash
38
+ multix openai generate --prompt "A poster for a midnight jazz club" --driver codex
39
+ ```
40
+
34
41
  ## Install + diagnostics
35
42
 
36
43
  ```bash
@@ -38,10 +45,22 @@ npm install -g @mrgoonie/multix
38
45
  multix check [--verbose]
39
46
  ```
40
47
 
48
+ ## Gemini text-output tasks
49
+
50
+ `gemini-3.5-flash` is the default for Gemini analyze, transcribe, extract, and doc conversion. It is text-output only; use Nano Banana/Imagen for images, Veo for video, and Gemini Flash TTS for speech. Override analyze/transcribe/extract with `GEMINI_MODEL` or `MULTIMODAL_MODEL`; override doc conversion with `--model`.
51
+
52
+ ```bash
53
+ multix gemini analyze --files photo.jpg --prompt "Describe this" [--model gemini-3.5-flash]
54
+ multix gemini transcribe --files meeting.mp4 [--model gemini-3.5-flash]
55
+ multix gemini extract --files report.pdf --prompt "Extract tables as JSON" [--model gemini-3.5-flash]
56
+ multix doc convert --input report.pdf [--model gemini-3.5-flash]
57
+ ```
58
+
41
59
  ## Image generation
42
60
 
43
61
  | Provider | Command | Notes |
44
62
  |---|---|---|
63
+ | OpenAI | `multix openai generate --prompt "<text>" [--driver api\|codex\|auto] [--model gpt-image-2] [--size 1024x1024] [--quality medium] [--format png]` | API first; Codex driver is experimental image-only fallback |
45
64
  | Gemini | `multix gemini generate --prompt "<text>" [--model gemini-3.1-flash-image-preview] [--aspect-ratio 16:9] [--size 1K\|2K\|4K] [--num-images N]` | Nano Banana 2 (default), Imagen 4 (`imagen-4.0-generate-001`) |
46
65
  | MiniMax | `multix minimax generate --prompt "<text>" [--model image-01] [--aspect-ratio 1:1] [-n N]` | |
47
66
  | OpenRouter | `multix openrouter generate --prompt "<text>" [--model <id>] [--aspect-ratio 16:9] [--image-size 2K] [--num-images N]` | Default `google/gemini-3.1-flash-image-preview` |
@@ -58,6 +77,10 @@ Every supported provider exposes `image-to-image` and the alias `i2i`. Refs acce
58
77
  # Gemini Nano Banana — multi-ref editing/composition
59
78
  multix gemini i2i --prompt "make it watercolor" --ref ./photo.jpg [--ref ./style.png] [--model gemini-2.5-flash-image] [--output <path>] [-v]
60
79
 
80
+ # OpenAI — API image edits or experimental Codex driver
81
+ multix openai i2i --prompt "make it watercolor" --ref ./photo.jpg [--ref ./style.png] \
82
+ [--driver api|codex|auto] [--model gpt-image-2] [--output <path>] [-v]
83
+
61
84
  # MiniMax — CAVEAT: subject_reference only (preserves character in NEW scene, NOT free-form edit)
62
85
  multix minimax i2i --prompt "the same character on a beach" --ref ./hero.jpg [--model image-01] [-v]
63
86
 
@@ -146,11 +169,13 @@ All video commands accept `--wait`, `--wait-timeout <ms>`, `--download`, `--outp
146
169
 
147
170
  ```bash
148
171
  # TTS
172
+ multix openai generate-speech --text "Hello world" [--voice alloy] [--output-format mp3]
149
173
  multix gemini generate-speech --text "Say cheerfully: Have a wonderful day!" --voice Kore
150
174
  multix minimax generate-speech --text "..." --voice <id> --emotion neutral
151
175
  multix elevenlabs tts --text "Hello world" [--voice <voiceId>] [--model eleven_multilingual_v2]
152
176
 
153
- # Voice cloning + STT (ElevenLabs)
177
+ # Voice cloning + STT
178
+ multix openai transcribe --input audio.mp3 [--format text|json|diarized_json] [--language vi]
154
179
  multix elevenlabs clone --name "My Voice" --files sample1.wav sample2.wav
155
180
  multix elevenlabs transcribe --input audio.mp3 [--diarize] [--format text|json|srt|vtt]
156
181
 
@@ -162,8 +187,8 @@ multix elevenlabs sfx --text "car engine starting" [--duration-seconds 5]
162
187
  # 3D (BytePlus Hyper3D / Hitem3d)
163
188
  multix byteplus 3d --input-image ./front.png ./side.png --prompt "Generate from these views"
164
189
 
165
- # Docs → Markdown (Gemini)
166
- multix doc convert --input report.pdf [--auto-name] [--output ./out.md]
190
+ # Docs → Markdown (Gemini text-output)
191
+ multix doc convert --input report.pdf [--model gemini-3.5-flash] [--auto-name] [--output ./out.md]
167
192
 
168
193
  # Media optimization (ffmpeg + ImageMagick)
169
194
  multix media optimize --input <file> --output <file> [--target-size <MB>] [--quality 85] [--max-width 1920]
@@ -180,11 +205,13 @@ Files saved under `./multix-output/` by default. Override with `MULTIX_OUTPUT_DI
180
205
  | Variable | Purpose |
181
206
  |---|---|
182
207
  | `MULTIX_OUTPUT_DIR` | Override default output dir |
208
+ | `OPENAI_IMAGE_MODEL` / `OPENAI_TTS_MODEL` / `OPENAI_STT_MODEL` | OpenAI model defaults |
183
209
  | `OPENROUTER_IMAGE_MODEL` | Default OpenRouter image model |
184
210
  | `OPENROUTER_FALLBACK_MODELS` | CSV; applies to `generate` AND `i2i` |
185
211
  | `OPENROUTER_VIDEO_MODEL` | Default OpenRouter video model (default `google/veo-3.1`) |
186
212
  | `OPENROUTER_SITE_URL` / `OPENROUTER_APP_NAME` | HTTP-Referer / X-Title headers |
187
- | `IMAGE_GEN_MODEL` / `VIDEO_GEN_MODEL` / `MULTIMODAL_MODEL` | Override Gemini model defaults |
213
+ | `GEMINI_MODEL` / `MULTIMODAL_MODEL` | Override Gemini analyze/transcribe/extract default (doc convert uses `--model`) |
214
+ | `IMAGE_GEN_MODEL` / `GEMINI_IMAGE_GEN_MODEL` / `VIDEO_GEN_MODEL` | Override Gemini media-generation model defaults |
188
215
  | `LEONARDO_DEFAULT_MODEL` / `LEONARDO_VIDEO_MODEL` | Leonardo model defaults |
189
216
  | `BYTEPLUS_IMAGE_MODEL` / `BYTEPLUS_VIDEO_MODEL` / `BYTEPLUS_3D_MODEL` | BytePlus model defaults |
190
217
  | `BYTEPLUS_VIDEO_PARAMS_MODE` | `flags` (default) or `structured` |