@mrgoonie/multix 0.5.2 → 0.6.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 CHANGED
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.6.0](https://github.com/mrgoonie/multix-cli/compare/v0.5.2...v0.6.0) (2026-09-23)
9
+
10
+
11
+ ### Added
12
+
13
+ * **image:** convert generated images to WebP by default ([#42](https://github.com/mrgoonie/multix-cli/issues/42)) ([a2532b1](https://github.com/mrgoonie/multix-cli/commit/a2532b1bdd151d2c349b0e4a1023dbaa75c300f0))
14
+
8
15
  ## [0.5.2](https://github.com/mrgoonie/multix-cli/compare/v0.5.1...v0.5.2) (2026-07-30)
9
16
 
10
17
 
package/README.md CHANGED
@@ -79,6 +79,7 @@ Set at least one provider key. Add to `.env` in your project root or `~/.multix/
79
79
  | `CLOUDFLARE_AI_IMAGE_MODEL` | No | Image model setting; only `@cf/black-forest-labs/flux-1-schnell` is accepted |
80
80
  | `CLOUDFLARE_AI_TTS_MODEL` | No | Speech model setting; only `@cf/myshell-ai/melotts` is accepted |
81
81
  | `MULTIX_OUTPUT_DIR` | No | Override default output dir (`./multix-output`) |
82
+ | `MULTIX_IMAGE_FORMAT` | No | `webp` (default) or `original` to keep provider image format/quality |
82
83
  | `OPENROUTER_IMAGE_MODEL` | No | Default OpenRouter model |
83
84
  | `OPENROUTER_FALLBACK_MODELS` | No | Comma-separated fallback model ids |
84
85
  | `OPENAI_IMAGE_MODEL` | No | Default OpenAI image model (default `gpt-image-2`) |
@@ -457,6 +458,19 @@ Multiple inputs are concatenated with `---` separators into a single output.
457
458
 
458
459
  All generated files are saved to `./multix-output/` by default. Override with `MULTIX_OUTPUT_DIR`.
459
460
 
461
+ ### Image format (WebP by default)
462
+
463
+ Every image generate/edit command (`generate`, `image-to-image`) converts its result to WebP with `cwebp -q 85 -m 6 -metadata none`. The CLI verifies that width, height, and transparency match the source before reporting the `.webp` path, then deletes only the intermediate file it wrote itself; your input and reference images are never touched. If verification or `cwebp` fails, the original file is kept with a warning.
464
+
465
+ Keep the provider's original format and quality with any of:
466
+
467
+ - `--image-format original` or `--no-webp`
468
+ - `MULTIX_IMAGE_FORMAT=original`
469
+ - an `--output` path with a non-WebP extension (e.g. `--output hero.png`)
470
+ - an explicit `openai ... --format png|jpeg|webp`
471
+
472
+ Requires `cwebp` (libwebp: `brew install webp`, `apt install webp`) on `PATH`.
473
+
460
474
  ### Polling and downloading videos
461
475
 
462
476
  Most video-generating subcommands accept a uniform set of polling/download flags: