makaron-cli 0.17.16 → 0.17.17
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/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/README.md +3 -1
- package/bin/makaron.mjs +23 -6
- package/package.json +1 -1
- package/skills/makaron/SKILL.md +3 -1
package/README.md
CHANGED
|
@@ -409,7 +409,7 @@ npx makaron-cli edit --image photo.jpg --out result.jpg "make it dramatic"
|
|
|
409
409
|
npx makaron-cli edit --image-model gpt-image-2.6-flare --background transparent --out sticker.png "a magenta star sticker"
|
|
410
410
|
```
|
|
411
411
|
|
|
412
|
-
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`, `--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.
|
|
412
|
+
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`, `--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.
|
|
413
413
|
|
|
414
414
|
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.
|
|
415
415
|
|
|
@@ -748,3 +748,5 @@ makaron chat --image mascot.png "Use GPT Image 2.6 Flare to make a looping GIF o
|
|
|
748
748
|
```
|
|
749
749
|
|
|
750
750
|
The provider schema also advertises xhigh/max reasoning, but the live 2.6 endpoint rejected both during acceptance. They are not exposed as working Makaron tiers. Exact active 2.6 pricing rows are required before submission; final cost uses that task's fal billable USD units.
|
|
751
|
+
|
|
752
|
+
Seedream 5.5 (`--image-model seedream-5.5`) uses EvoLink, accepts at most 10 ordered inputs (base included), `--image-resolution 1K|1.5K|2K`, and `--output-format png|jpeg` (default PNG). `--background transparent` requires native PNG alpha. Quality/reasoning/GIF/SVG controls are unsupported. It never participates in Auto or switches providers after failure. Direct `makaron edit --image/--ref` uploads local originals automatically; direct MCP callers must supply public HTTPS PNG/JPEG/WebP originals. Accepted task receipts are saved to the user workspace before polling. The server must configure `EVOLINK_API_KEY` and an exact active `seedream-5.5` pricing row before use.
|
package/bin/makaron.mjs
CHANGED
|
@@ -2082,9 +2082,9 @@ Usage:
|
|
|
2082
2082
|
Options:
|
|
2083
2083
|
--image <file|url> Base image to edit. Omit for text-to-image.
|
|
2084
2084
|
--ref <file|url> Additional reference image. Repeatable; model-specific limit (Nano Banana 2.1: 14 total inputs).
|
|
2085
|
-
--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,
|
|
2085
|
+
--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, or seedream-5.5. Legacy qwen maps to qwen-spicy.
|
|
2086
2086
|
--skill <id> enhance, creative, wild, or captions.
|
|
2087
|
-
--image-resolution <id> 1K, 2K, or 4K;
|
|
2087
|
+
--image-resolution <id> 1K, 2K, or 4K; Seedream 5.5 supports 1K, 1.5K and 2K. Auto remains Flare-first.
|
|
2088
2088
|
--nsfw Route NSFW directly to Qwen Spicy.
|
|
2089
2089
|
--aspect <ratio> Output aspect ratio, for example 1:1, 16:9, or 9:16.
|
|
2090
2090
|
--background <mode> auto, opaque, or transparent.
|
|
@@ -2114,7 +2114,7 @@ Notes:
|
|
|
2114
2114
|
GIF frames share the pixel budget. No format substitution.
|
|
2115
2115
|
MJ options require --image-model mj-v8.2; Draft + HD is invalid. Describe the scene
|
|
2116
2116
|
naturally; the server prepares the English prompt. MJ is generation, not precise editing.
|
|
2117
|
-
Model selection is optional. Transparent output
|
|
2117
|
+
Model selection is optional. Transparent output defaults to GPT Image 2.6 Flare; explicit Seedream 5.5 retains native PNG alpha
|
|
2118
2118
|
and fails instead of returning an opaque fallback.
|
|
2119
2119
|
|
|
2120
2120
|
Examples:
|
|
@@ -3214,11 +3214,16 @@ if (!command || command === '--help' || command === '-h' || command === 'help')
|
|
|
3214
3214
|
} else if (command === 'edit') {
|
|
3215
3215
|
const { headers, baseUrl } = getAuth();
|
|
3216
3216
|
const editArgs = {};
|
|
3217
|
+
let editSourceFile;
|
|
3218
|
+
const editReferenceFiles = [];
|
|
3217
3219
|
const mjArgs = {};
|
|
3218
3220
|
const promptParts = [];
|
|
3219
3221
|
let outputPath = null;
|
|
3220
3222
|
for (let i = 1; i < args.length; i++) {
|
|
3221
|
-
if (args[i] === '--image' && args[i + 1])
|
|
3223
|
+
if (args[i] === '--image' && args[i + 1]) {
|
|
3224
|
+
editSourceFile = args[++i];
|
|
3225
|
+
editArgs.image = imageToArg(editSourceFile);
|
|
3226
|
+
}
|
|
3222
3227
|
else if (args[i] === '--image-model' && args[i + 1]) editArgs.model = args[++i];
|
|
3223
3228
|
else if (args[i] === '--model' && args[i + 1]) {
|
|
3224
3229
|
warnLegacyModelFlag('--image-model');
|
|
@@ -3227,7 +3232,9 @@ if (!command || command === '--help' || command === '-h' || command === 'help')
|
|
|
3227
3232
|
else if (args[i] === '--skill' && args[i + 1]) editArgs.skill = args[++i];
|
|
3228
3233
|
else if (args[i] === '--ref' && args[i + 1]) {
|
|
3229
3234
|
editArgs.referenceImages = editArgs.referenceImages || [];
|
|
3230
|
-
|
|
3235
|
+
const reference = args[++i];
|
|
3236
|
+
editReferenceFiles.push(reference);
|
|
3237
|
+
editArgs.referenceImages.push(imageToArg(reference));
|
|
3231
3238
|
}
|
|
3232
3239
|
else if (args[i] === '--image-resolution' && args[i + 1]) {
|
|
3233
3240
|
const resolution = args[++i];
|
|
@@ -3286,7 +3293,17 @@ if (!command || command === '--help' || command === '-h' || command === 'help')
|
|
|
3286
3293
|
editArgs.midjourney = mjArgs;
|
|
3287
3294
|
}
|
|
3288
3295
|
editArgs.editPrompt = promptParts.join(' ');
|
|
3289
|
-
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] [--ref <file>] [--aspect <ratio>] [--background auto|opaque|transparent] [--out <file>] "prompt"'); process.exit(1); }
|
|
3296
|
+
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] [--ref <file>] [--aspect <ratio>] [--background auto|opaque|transparent] [--out <file>] "prompt"'); process.exit(1); }
|
|
3297
|
+
if (editArgs.model === 'seedream-5.5') {
|
|
3298
|
+
const sources = [...(editSourceFile ? [editSourceFile] : []), ...editReferenceFiles];
|
|
3299
|
+
if (sources.length > 10) { console.error('Seedream 5.5 accepts at most 10 inputs including the base.'); process.exit(1); }
|
|
3300
|
+
const localFiles = sources.filter(source => !isHttpUrl(source));
|
|
3301
|
+
const uploaded = localFiles.length ? await uploadImageFilesViaSignedUrl(baseUrl, headers, undefined, localFiles) : [];
|
|
3302
|
+
const byPath = new Map(localFiles.map((source, index) => [source, uploaded[index]]));
|
|
3303
|
+
const publicSource = source => isHttpUrl(source) ? source : byPath.get(source);
|
|
3304
|
+
if (editSourceFile) editArgs.image = publicSource(editSourceFile);
|
|
3305
|
+
if (editReferenceFiles.length) editArgs.referenceImages = editReferenceFiles.map(publicSource);
|
|
3306
|
+
}
|
|
3290
3307
|
process.stderr.write('🎨 Generating...\n');
|
|
3291
3308
|
const result = await callMcpTool(baseUrl, headers, 'makaron_edit_image', editArgs);
|
|
3292
3309
|
saveMcpImage(result, outputPath);
|
package/package.json
CHANGED
package/skills/makaron/SKILL.md
CHANGED
|
@@ -334,7 +334,7 @@ npx makaron-cli edit --image photo.jpg --out result.jpg "make it dramatic"
|
|
|
334
334
|
npx makaron-cli edit --image-model gpt-image-2.6-flare --background transparent --out sticker.png "a magenta star sticker"
|
|
335
335
|
```
|
|
336
336
|
|
|
337
|
-
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`, `--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.
|
|
337
|
+
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`, `--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.
|
|
338
338
|
|
|
339
339
|
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.
|
|
340
340
|
|
|
@@ -570,3 +570,5 @@ GPT Image 2.6 Flare is the default; Sunburst is optional. `--quality auto|low|me
|
|
|
570
570
|
The legacy `openai` image-model parameter now resolves to GPT Image 2.6 Flare.
|
|
571
571
|
|
|
572
572
|
Naming Seedance 2.5 in chat defaults to Seedance 2.5 Eco. Use `seedance-2.5-native` only when explicitly requesting native generation; Eco supports 720p/1080p/2K/4K final delivery.
|
|
573
|
+
|
|
574
|
+
Seedream 5.5 (`--image-model seedream-5.5`) uses EvoLink, accepts at most 10 ordered inputs (base included), `--image-resolution 1K|1.5K|2K`, and `--output-format png|jpeg` (default PNG). `--background transparent` requires native PNG alpha. Quality/reasoning/GIF/SVG controls are unsupported. It never participates in Auto or switches providers after failure. Direct `makaron edit --image/--ref` uploads local originals automatically; direct MCP callers must supply public HTTPS PNG/JPEG/WebP originals. Accepted task receipts are saved to the user workspace before polling. The server must configure `EVOLINK_API_KEY` and an exact active `seedream-5.5` pricing row before use.
|