makaron-cli 0.17.28 → 0.17.29

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "makaron-cli",
3
- "version": "0.17.28",
3
+ "version": "0.17.29",
4
4
  "description": "Give Claude Code a creative agent. Pass complete creative requests and source media to Makaron Chat.",
5
5
  "author": {
6
6
  "name": "Versa AI",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "makaron-cli",
3
- "version": "0.17.28",
3
+ "version": "0.17.29",
4
4
  "description": "Give Codex a creative agent. Pass complete creative requests and source media to Makaron Chat.",
5
5
  "author": {
6
6
  "name": "Versa AI",
package/README.md CHANGED
@@ -423,6 +423,13 @@ npx makaron-cli edit --image photo.jpg --out result.jpg "make it dramatic"
423
423
  npx makaron-cli edit --image-model gpt-image-2.6-flare --background transparent --out sticker.png "a magenta star sticker"
424
424
  ```
425
425
 
426
+ Select `z-image-turbo` for fast text-to-image or guided redraw. It returns one 1K image, WebP by default, with PNG/JPEG available through `--output-format`. For a redraw, pass one `--image` or one `--ref`. Redraw follows the source aspect ratio when the 1K canvas has a short edge of at least 512 pixels. For very wide or tall inputs, pass a supported aspect such as 16:9 or 9:16. For a current estimate, run `makaron price image --model z-image-turbo --resolution 1K --operation generate`.
427
+
428
+ ```bash
429
+ npx makaron-cli edit --image-model z-image-turbo --out poster.webp "a screen-print illustration of an alpine railway"
430
+ npx makaron-cli edit --image poster.webp --image-model z-image-turbo --out variant.webp "redraw the poster in a two-color print style"
431
+ ```
432
+
426
433
  Options: `--image`, `--image-model gemini|gemini-2.1|gemini-lite|qwen-spicy|openai|gpt-image-2.6-flare|gpt-image-2.6-sunburst|wan2.7-image|mj-v8.2|seedream-5.5|kling-image-4.0`, `--ref <file>` (model-specific limit), `--aspect <ratio>`, `--background auto|opaque|transparent`, `--out <path>`. Nano Banana 2.1 (`gemini-2.1`) supports up to 14 total input images and `--image-resolution 1K|2K|4K` (default 1K); it uses OpenRouter and does not retry or switch models automatically. Qwen Spicy supports 0–3 input images; legacy `qwen` requests map to it. Pony and WAI are retired. Transparent output defaults to GPT Image 2.6 Flare; an explicitly selected GPT Image 2.6 variant is retained. Output is returned only when the provider supplies real alpha.
427
434
 
428
435
  Midjourney V8.2 (`mj-v8.2`) accepts natural-language briefs and prepares the English prompt automatically. Fast returns up to 4 images, Draft up to 24 smaller drafts, and HD regenerates up to 4 higher-resolution images. Every returned image is saved; `--out scene.png` produces `scene-1.png`, `scene-2.png`, etc. A single result keeps the requested filename. Provider filtering can reduce the batch size.
package/bin/makaron.mjs CHANGED
@@ -2093,9 +2093,9 @@ Options:
2093
2093
  --image <file|url> Base image to edit. Omit for text-to-image.
2094
2094
  --ref <file|url> Additional reference image. Repeatable; model-specific limit (Nano Banana 2.1: 14 total inputs).
2095
2095
  --image-request-id <uuid> Stable Kling Image 4.0 generation ID; reuse to inspect a repeated attempt.
2096
- --image-model <id> gemini, gemini-2.1, gemini-lite, qwen-spicy, openai, gpt-image-2.6-flare, gpt-image-2.6-sunburst, wan2.7-image, mj-v8.2, seedream-5.5, or kling-image-4.0. Legacy qwen maps to qwen-spicy.
2096
+ --image-model <id> gemini, gemini-2.1, gemini-lite, qwen-spicy, openai, gpt-image-2.6-flare, gpt-image-2.6-sunburst, wan2.7-image, mj-v8.2, seedream-5.5, kling-image-4.0, or z-image-turbo. Legacy qwen maps to qwen-spicy.
2097
2097
  --skill <id> enhance, creative, wild, or captions.
2098
- --image-resolution <id> 1K, 2K, or 4K; Kling Image 4.0 supports 2K/4K/8K; Seedream 5.5 supports 1K, 1.5K and 2K. Auto remains Flare-first.
2098
+ --image-resolution <id> 1K, 2K, or 4K; Kling Image 4.0 supports 2K/4K/8K; Seedream 5.5 supports 1K, 1.5K and 2K. Z-Image Turbo supports 1K. Auto remains Flare-first.
2099
2099
  --nsfw Route NSFW directly to Qwen Spicy.
2100
2100
  --aspect <ratio> Output aspect ratio, for example 1:1, 16:9, or 9:16.
2101
2101
  --background <mode> auto, opaque, or transparent.
@@ -2117,6 +2117,9 @@ Options:
2117
2117
  --help, -h Show this help.
2118
2118
 
2119
2119
  Notes:
2120
+ Z-Image Turbo supports fast 1K text-to-image and single-image redraw. Pass one
2121
+ --image or one --ref for redraw. The short edge must be at least 512 pixels
2122
+ on the 1K canvas. Default WebP. PNG and JPEG are also available.
2120
2123
  GPT Image 2.6 defaults to low rendering quality + high reasoning.
2121
2124
  New GIF art and animated memes: use makaron chat with GPT Image 2.6 Flare.
2122
2125
  animated-gif is for existing-frame assembly or explicit timing/export controls.
@@ -2129,6 +2132,8 @@ Notes:
2129
2132
  and fails instead of returning an opaque fallback.
2130
2133
 
2131
2134
  Examples:
2135
+ makaron edit --image-model z-image-turbo --out poster.webp "a screen-print illustration of an alpine railway"
2136
+ makaron edit --image poster.webp --image-model z-image-turbo --out variant.webp "redraw the poster in a two-color print style"
2132
2137
  makaron edit --image portrait.jpg --image-model qwen-spicy --out result.jpg "cinematic warm light"
2133
2138
  makaron edit --image product.jpg --ref style.png --aspect 1:1 "use this visual style"
2134
2139
  makaron edit --image-model gpt-image-2.6-flare --background transparent --out sticker.png "a magenta star sticker"
@@ -3404,7 +3409,11 @@ if (!command || command === '--help' || command === '-h' || command === 'help')
3404
3409
  editArgs.midjourney = mjArgs;
3405
3410
  }
3406
3411
  editArgs.editPrompt = promptParts.join(' ');
3407
- if (!editArgs.editPrompt) { console.error('Usage: makaron edit [--image <file|url>] [--image-model gemini|gemini-2.1|gemini-lite|qwen-spicy|openai|wan2.7-image|mj-v8.2|seedream-5.5|kling-image-4.0] [--ref <file>] [--aspect <ratio>] [--background auto|opaque|transparent] [--out <file>] "prompt"'); process.exit(1); }
3412
+ if (!editArgs.editPrompt) { console.error('Usage: makaron edit [--image <file|url>] [--image-model gemini|gemini-2.1|gemini-lite|qwen-spicy|openai|wan2.7-image|mj-v8.2|seedream-5.5|kling-image-4.0|z-image-turbo] [--ref <file>] [--aspect <ratio>] [--background auto|opaque|transparent] [--out <file>] "prompt"'); process.exit(1); }
3413
+ if (editArgs.model === 'z-image-turbo' && Number(Boolean(editSourceFile)) + editReferenceFiles.length > 1) {
3414
+ console.error('Z-Image Turbo accepts one total input. Pass one --image or one --ref.');
3415
+ process.exit(1);
3416
+ }
3408
3417
  if (editArgs.model === 'kling-image-4.0') {
3409
3418
  editArgs.imageRequestId ||= randomUUID();
3410
3419
  process.stderr.write(`Image request ID: ${editArgs.imageRequestId} (retain it; never repeat an uncertain paid submission with a new ID)\n`);
package/bin/price.mjs CHANGED
@@ -48,6 +48,7 @@ Usage:
48
48
 
49
49
  Examples:
50
50
  makaron price video --model kling-4-flash --model seedance-2.5-native --duration 5 --resolution 720p
51
+ makaron price image --model z-image-turbo --resolution 1K --operation generate
51
52
  makaron price image --model seedream-5.5 --resolution 2K --operation edit --image-count 3
52
53
  makaron price audio --model evolink-seed-audio --duration 20
53
54
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "makaron-cli",
3
- "version": "0.17.28",
3
+ "version": "0.17.29",
4
4
  "description": "Talk to Makaron Agent from the terminal — create projects, edit images, generate videos",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -349,6 +349,13 @@ npx makaron-cli edit --image photo.jpg --out result.jpg "make it dramatic"
349
349
  npx makaron-cli edit --image-model gpt-image-2.6-flare --background transparent --out sticker.png "a magenta star sticker"
350
350
  ```
351
351
 
352
+ Select `z-image-turbo` for fast text-to-image or guided redraw. It returns one 1K image, WebP by default, with PNG/JPEG available through `--output-format`. For a redraw, pass one `--image` or one `--ref`. Redraw follows the source aspect ratio when the 1K canvas has a short edge of at least 512 pixels. For very wide or tall inputs, pass a supported aspect such as 16:9 or 9:16. For a current estimate, run `makaron price image --model z-image-turbo --resolution 1K --operation generate`.
353
+
354
+ ```bash
355
+ npx makaron-cli edit --image-model z-image-turbo --out poster.webp "a screen-print illustration of an alpine railway"
356
+ npx makaron-cli edit --image poster.webp --image-model z-image-turbo --out variant.webp "redraw the poster in a two-color print style"
357
+ ```
358
+
352
359
  Options: `--image`, `--image-model gemini|gemini-2.1|gemini-lite|qwen-spicy|openai|gpt-image-2.6-flare|gpt-image-2.6-sunburst|wan2.7-image|mj-v8.2|seedream-5.5|kling-image-4.0`, `--ref <file>` (model-specific limit), `--aspect <ratio>`, `--image-resolution 1K|2K|4K`, `--background auto|opaque|transparent`, `--nsfw`, `--out <path>`. Image Model Capability prefers matching requirements, then relaxes output conflicts to deliver an image: GPT Image 2.6 Flare → Nano Banana 2.1 → Qwen Spicy. Omit the model for Auto: an 8:1 banner or an explicit resolution tier selects Nano Banana 2.1. Native ratio presets do not promise exact mathematical ratios or user pixel dimensions. For Agent-assessed NSFW, pass `--nsfw` to route directly to Spicy; never probe another provider first. Unknown IDs use Flare-first Auto. Output conflicts relax before submission: transparent 8:1 normally keeps 8:1 with opaque output; NSFW always uses Spicy regardless of unsupported dimensions. Preserve input content first and explain actual adjustments. See current MCP tool descriptions for the generated capability table. Classic Nano Banana 2 (`gemini`), Lite, Sunburst and Wan are explicit routes; `openai` means Flare and legacy `qwen` means Spicy. Pony/WAI are retired. Transparent output prefers Flare or explicitly selected Sunburst, and may relax alpha when other requirements conflict. Supplier failures never trigger automatic image resubmission or model switching.
353
360
 
354
361
  Midjourney V8.2 (`mj-v8.2`) accepts natural-language briefs and prepares the English prompt automatically. Fast returns up to 4 images, Draft up to 24 smaller drafts, and HD regenerates up to 4 higher-resolution images. Every returned image is saved; `--out scene.png` produces `scene-1.png`, `scene-2.png`, etc. A single result keeps the requested filename. Provider filtering can reduce the batch size.