makaron-cli 0.17.23 → 0.17.26
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 +16 -2
- package/bin/makaron.mjs +18 -7
- package/bin/price.mjs +157 -0
- package/package.json +1 -1
- package/skills/makaron/SKILL.md +16 -1
- package/skills/makaron/references/nsfw.md +2 -2
package/README.md
CHANGED
|
@@ -72,6 +72,20 @@ npx makaron-cli claim
|
|
|
72
72
|
```
|
|
73
73
|
Share the `claim_url` with a human. They log in and the API key gets linked to their account. Claim links are valid for 7 days. Run `claim` again anytime to get a new link.
|
|
74
74
|
|
|
75
|
+
|
|
76
|
+
## Check generation credits on demand
|
|
77
|
+
|
|
78
|
+
Use `makaron price` when the user asks about price, budget, or how models compare. For routine creation, go directly to the requested workflow. `price list` discovers model IDs and supported resolutions. The quote includes customer-facing credits and applicable billing factors. It does not start a run, upload media or read your balance.
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
makaron price list --json
|
|
82
|
+
makaron price video --model kling-4-flash --model seedance-2.5-native --duration 5 --resolution 720p
|
|
83
|
+
makaron price image --model seedream-5.5 --operation edit --image-count 3 --resolution 2K --json
|
|
84
|
+
makaron price audio --model evolink-seed-audio --duration 20
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
For video references, pass both `--video-reference-count` and the total `--reference-video-seconds`. Count an edit's base image in `--image-count`. Use `--input <file|-> --json` for up to six requests with different parameters. The JSON body is `{"requests":[{"kind":"video","model":"kling-4-flash","duration_seconds":5,"image_count":0,"resolution":"720p"}]}`. Exit `2` means at least one quote is unavailable, unsupported or missing inputs. A `preflight_only` amount is an estimate that may differ from the final charge.
|
|
88
|
+
|
|
75
89
|
## Core Workflow
|
|
76
90
|
|
|
77
91
|
```bash
|
|
@@ -107,13 +121,13 @@ npx makaron-cli chat --project auto --image photo.jpg --json -b "make it cinemat
|
|
|
107
121
|
npx makaron-cli chat --project auto --image img1.jpg --image img2.jpg --json -b "combine these"
|
|
108
122
|
```
|
|
109
123
|
|
|
110
|
-
`chat` routes image and video models automatically, but you may select the Agent LLM with `--agent-model`. Accepted values are `auto`, the base model IDs (`gpt-6-luna`, `gpt-6.1-sol`, `gpt-6-sol`, `gpt-5.6-terra`, `gpt-5.6-sol`, `gpt-5.6-luna`, `grok-4.
|
|
124
|
+
`chat` routes image and video models automatically, but you may select the Agent LLM with `--agent-model`. Accepted values are `auto`, the base model IDs (`gpt-6-luna`, `gpt-6.1-sol`, `gpt-6-sol`, `gpt-5.6-terra`, `gpt-5.6-sol`, `gpt-5.6-luna`, `grok-4.7`, `deepseek-v4-pro`, `deepseek-flash`), and the personal-plan routes (`gpt-6-luna-codex-subscription`, `gpt-6.1-sol-codex-subscription`, `gpt-6-sol-codex-subscription`, `gpt-5.6-terra-codex-subscription`, `gpt-5.6-sol-codex-subscription`, `gpt-5.6-luna-codex-subscription`, `grok-4.7-grok-subscription`). `auto` defaults to DeepSeek Flash with native vision, following the server-configured Agent model. When that default is a GPT model, eligible accounts (including admins) can use the Codex subscription; an explicitly selected model or personal-plan route is preserved. Base GPT-5.6, GPT-6 and GPT-6.1 IDs select Azure API and base `grok-4.7` selects OpenRouter API; the suffixed IDs explicitly request the corresponding personal plan where authorized. This flag changes only the reasoning/tool-calling Agent LLM. The updated server maps the legacy `grok-4.6` and `grok-4.6-grok-subscription` selectors to their corresponding Grok 4.7 routes.
|
|
111
125
|
|
|
112
126
|
```bash
|
|
113
127
|
# Explicit lower-cost Agent LLM for a controlled comparison
|
|
114
128
|
npx makaron-cli chat --project auto --agent-model deepseek-v4-pro --json -b "make a 20s badminton video"
|
|
115
129
|
npx makaron-cli chat --project auto --agent-model gpt-6-luna-codex-subscription --json -b "reply with the active model"
|
|
116
|
-
npx makaron-cli chat --project auto --agent-model grok-4.
|
|
130
|
+
npx makaron-cli chat --project auto --agent-model grok-4.7-grok-subscription --json -b "reply with the active model"
|
|
117
131
|
```
|
|
118
132
|
|
|
119
133
|
Returns immediately:
|
package/bin/makaron.mjs
CHANGED
|
@@ -17,6 +17,7 @@ import path from 'path';
|
|
|
17
17
|
import { createInterface } from 'readline';
|
|
18
18
|
import { execFileSync } from 'child_process';
|
|
19
19
|
import { fileURLToPath } from 'url';
|
|
20
|
+
import { printPriceHelp, runPrice } from './price.mjs';
|
|
20
21
|
|
|
21
22
|
// ─── Config ──────────────────────────────────────────────────────────────────
|
|
22
23
|
|
|
@@ -43,8 +44,8 @@ const CHAT_AGENT_MODELS = [
|
|
|
43
44
|
'gpt-5.6-terra-codex-subscription',
|
|
44
45
|
'gpt-5.6-sol-codex-subscription',
|
|
45
46
|
'gpt-5.6-luna-codex-subscription',
|
|
46
|
-
'grok-4.
|
|
47
|
-
'grok-4.
|
|
47
|
+
'grok-4.7',
|
|
48
|
+
'grok-4.7-grok-subscription',
|
|
48
49
|
'deepseek-v4-pro',
|
|
49
50
|
'deepseek-flash',
|
|
50
51
|
];
|
|
@@ -97,6 +98,7 @@ function warnLegacyModelFlag(replacement) {
|
|
|
97
98
|
}
|
|
98
99
|
|
|
99
100
|
function validateChatAgentModel(value) {
|
|
101
|
+
if (value === 'grok-4.6' || value === 'grok-4.6-grok-subscription') return value;
|
|
100
102
|
if (!value || !CHAT_AGENT_MODELS.includes(value)) {
|
|
101
103
|
process.stderr.write(`❌ Unknown Agent LLM: ${value || '(missing value)'}\n`);
|
|
102
104
|
process.stderr.write(`Choose one of: ${CHAT_AGENT_MODELS.join(', ')}\n`);
|
|
@@ -531,9 +533,9 @@ Options:
|
|
|
531
533
|
--media-manifest <file|-> Import typed image/video media before this run.
|
|
532
534
|
--skill <id|label|name> Select a built-in/installed skill or auto-install a marketplace skill.
|
|
533
535
|
--agent-model <id> Agent LLM only: auto, gpt-6-luna, gpt-6.1-sol, gpt-6-sol, gpt-5.6-terra, gpt-5.6-sol,
|
|
534
|
-
gpt-5.6-luna, grok-4.
|
|
536
|
+
gpt-5.6-luna, grok-4.7, deepseek-v4-pro, deepseek-flash, or a
|
|
535
537
|
gpt-6.1-sol-codex-subscription, gpt-6-*-codex-subscription, gpt-5.6-*-codex-subscription or
|
|
536
|
-
grok-4.
|
|
538
|
+
grok-4.7-grok-subscription personal-plan route.
|
|
537
539
|
--background, -b Submit and print a runId.
|
|
538
540
|
--json Output structured JSON (includes per-run "usage" credits).
|
|
539
541
|
--stream Live SSE; follows the same run after handoff.
|
|
@@ -546,8 +548,8 @@ Direct video model reference limits remain provider-specific.
|
|
|
546
548
|
Agent LLM defaults to auto, following the server-configured Agent model.
|
|
547
549
|
When that default is a GPT model, eligible accounts can use the Codex plan.
|
|
548
550
|
GPT-5.6 and GPT-6 base ids select Azure API; append -codex-subscription to
|
|
549
|
-
select the personal plan explicitly. Base grok-4.
|
|
550
|
-
grok-4.
|
|
551
|
+
select the personal plan explicitly. Base grok-4.7 selects OpenRouter API;
|
|
552
|
+
grok-4.7-grok-subscription selects the personal SuperGrok plan. Image/video
|
|
551
553
|
model routing stays automatic in chat.
|
|
552
554
|
|
|
553
555
|
New GIF artwork and animated memes use GPT Image 2.6 Flare by default.
|
|
@@ -599,7 +601,7 @@ What you can ask:
|
|
|
599
601
|
makaron chat --project auto --agent-model gpt-6-luna-codex-subscription -b --json "reply with the active model"
|
|
600
602
|
|
|
601
603
|
Force the personal SuperGrok plan
|
|
602
|
-
makaron chat --project auto --agent-model grok-4.
|
|
604
|
+
makaron chat --project auto --agent-model grok-4.7-grok-subscription -b --json "reply with the active model"
|
|
603
605
|
|
|
604
606
|
Music
|
|
605
607
|
makaron chat --project <id> "add calm piano background music"
|
|
@@ -2312,6 +2314,7 @@ Commands:
|
|
|
2312
2314
|
claim Get claim URL for human to link account
|
|
2313
2315
|
login Log in to Makaron (human interactive)
|
|
2314
2316
|
credits Show current credit balance
|
|
2317
|
+
price list|image|video|audio Estimate generation credits and compare models
|
|
2315
2318
|
usage [--run <id>] [--project <id>] Credit usage history (chat prints per-run usage)
|
|
2316
2319
|
list (ls) List all projects
|
|
2317
2320
|
project media <projectId> --json List timeline media for a project
|
|
@@ -2418,6 +2421,7 @@ function setupMakaron(values = []) {
|
|
|
2418
2421
|
}
|
|
2419
2422
|
|
|
2420
2423
|
function printHelp(topic, subtopic) {
|
|
2424
|
+
if (topic === 'price') { printPriceHelp(); return; }
|
|
2421
2425
|
if (topic === 'layerize') { printLayerizeHelp(); return; }
|
|
2422
2426
|
if (topic === 'login') {
|
|
2423
2427
|
console.log('Usage: makaron login');
|
|
@@ -2590,6 +2594,13 @@ if (!command || command === '--help' || command === '-h' || command === 'help')
|
|
|
2590
2594
|
console.log('Subscription: none');
|
|
2591
2595
|
}
|
|
2592
2596
|
}
|
|
2597
|
+
} else if (command === 'price') {
|
|
2598
|
+
try {
|
|
2599
|
+
await runPrice(args.slice(1), getAuth);
|
|
2600
|
+
} catch (error) {
|
|
2601
|
+
console.error(error.message);
|
|
2602
|
+
process.exitCode = 1;
|
|
2603
|
+
}
|
|
2593
2604
|
} else if (command === 'usage') {
|
|
2594
2605
|
const { headers, baseUrl } = getAuth();
|
|
2595
2606
|
const params = new URLSearchParams();
|
package/bin/price.mjs
ADDED
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { readFileSync } from 'node:fs';
|
|
2
|
+
import { parseArgs } from 'node:util';
|
|
3
|
+
|
|
4
|
+
const quoteKinds = ['image', 'video', 'audio'];
|
|
5
|
+
const textFields = {
|
|
6
|
+
resolution: 'resolution', operation: 'operation', aspect: 'aspect_ratio', background: 'background',
|
|
7
|
+
quality: 'image_quality', 'image-reasoning': 'image_reasoning_effort', 'output-format': 'output_format',
|
|
8
|
+
};
|
|
9
|
+
const numberFields = {
|
|
10
|
+
duration: 'duration_seconds', 'image-count': 'image_count', 'video-reference-count': 'video_reference_count',
|
|
11
|
+
'reference-video-seconds': 'reference_video_seconds', 'reference-image-pixels': 'reference_image_pixels',
|
|
12
|
+
'audio-reference-count': 'audio_reference_count', 'reference-audio-seconds': 'reference_audio_seconds',
|
|
13
|
+
fps: 'output_fps', 'frame-count': 'frame_count',
|
|
14
|
+
};
|
|
15
|
+
const fields = [...Object.keys(textFields), ...Object.keys(numberFields)];
|
|
16
|
+
const options = {
|
|
17
|
+
json: { type: 'boolean' }, input: { type: 'string' }, model: { type: 'string', multiple: true },
|
|
18
|
+
'content-filter': { type: 'string' },
|
|
19
|
+
...Object.fromEntries(fields.map(name => [name, { type: 'string' }])),
|
|
20
|
+
};
|
|
21
|
+
const statuses = {
|
|
22
|
+
usage_only: 'Priced after generation', unknown: 'Price unavailable', needs_inputs: 'Missing inputs', unsupported: 'Unsupported request',
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export function printPriceHelp() {
|
|
26
|
+
console.log(`Makaron price — check media credits on demand
|
|
27
|
+
|
|
28
|
+
Usage:
|
|
29
|
+
makaron price list [--json]
|
|
30
|
+
makaron price <image|video|audio> --model <id> [--model <id>] [options]
|
|
31
|
+
makaron price --input <file|-> [--json]
|
|
32
|
+
|
|
33
|
+
--model <id> Repeat to compare up to six models with the same parameters
|
|
34
|
+
--duration <seconds> Requested output duration for video/audio
|
|
35
|
+
--resolution <tier> Output resolution (for example 720p or 2K)
|
|
36
|
+
--operation <mode> generate, edit or extend
|
|
37
|
+
--image-count <n> All input images, including the edit base (default 0)
|
|
38
|
+
--video-reference-count <n> --reference-video-seconds <seconds>
|
|
39
|
+
Count and total duration of video inputs
|
|
40
|
+
--reference-image-pixels <n> Total input pixels for usage-based video references
|
|
41
|
+
--audio-reference-count <n> --reference-audio-seconds <seconds>
|
|
42
|
+
Count and total duration of audio inputs
|
|
43
|
+
--fps <n> --content-filter <true|false>
|
|
44
|
+
--aspect <ratio> --background <mode> --quality <tier> --image-reasoning <level>
|
|
45
|
+
--output-format <format> --frame-count <n>
|
|
46
|
+
--input <file|-> JSON {"requests":[...]} for different parameters per quote
|
|
47
|
+
--json Machine-readable result with per-quote status
|
|
48
|
+
|
|
49
|
+
Examples:
|
|
50
|
+
makaron price video --model kling-4-flash --model seedance-2.5-native --duration 5 --resolution 720p
|
|
51
|
+
makaron price image --model seedream-5.5 --resolution 2K --operation edit --image-count 3
|
|
52
|
+
makaron price audio --model evolink-seed-audio --duration 20
|
|
53
|
+
|
|
54
|
+
Quotes are read-only and cover generation credits. Exit 2 if any requested quote is unavailable,
|
|
55
|
+
unsupported or missing inputs. Preflight estimates are labeled. API and usage errors exit 1.
|
|
56
|
+
`);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
function parsePriceRequest(args) {
|
|
60
|
+
const { positionals, values } = parseArgs({ args, options, allowPositionals: true });
|
|
61
|
+
const [kind] = positionals;
|
|
62
|
+
const quoteFlags = [...fields, 'content-filter', 'model'];
|
|
63
|
+
if (values.input != null) {
|
|
64
|
+
if (positionals.length || quoteFlags.some(flag => values[flag] !== undefined)) {
|
|
65
|
+
throw new Error('--input cannot be combined with quote flags or a media kind.');
|
|
66
|
+
}
|
|
67
|
+
let input;
|
|
68
|
+
try {
|
|
69
|
+
input = JSON.parse(readFileSync(values.input === '-' ? 0 : values.input, 'utf8'));
|
|
70
|
+
} catch {
|
|
71
|
+
throw new Error('Could not read pricing JSON. Pass a file path or - for stdin.');
|
|
72
|
+
}
|
|
73
|
+
if (!Array.isArray(input?.requests) || input.requests.length > 6) {
|
|
74
|
+
throw new Error('Pricing JSON must contain a requests array with at most six quotes.');
|
|
75
|
+
}
|
|
76
|
+
return { input, json: values.json };
|
|
77
|
+
}
|
|
78
|
+
if (positionals.length <= 1 && (!kind || kind === 'list') && quoteFlags.every(flag => values[flag] === undefined)) {
|
|
79
|
+
return { input: { requests: [] }, json: values.json };
|
|
80
|
+
}
|
|
81
|
+
if (positionals.length !== 1 || !quoteKinds.includes(kind) || !values.model?.length || values.model.length > 6 || values.model.some(model => !model.trim())) {
|
|
82
|
+
throw new Error('Choose image, video or audio and supply one to six --model IDs. See makaron price --help.');
|
|
83
|
+
}
|
|
84
|
+
const parameters = { kind, image_count: 0 };
|
|
85
|
+
for (const [flag, field] of Object.entries(textFields)) {
|
|
86
|
+
if (values[flag] !== undefined) parameters[field] = values[flag];
|
|
87
|
+
}
|
|
88
|
+
for (const [flag, field] of Object.entries(numberFields)) {
|
|
89
|
+
if (values[flag] === undefined) continue;
|
|
90
|
+
const raw = values[flag];
|
|
91
|
+
const number = Number(raw);
|
|
92
|
+
if (!raw.trim() || !Number.isFinite(number) || number < 0) throw new Error(`--${flag} requires a nonnegative number.`);
|
|
93
|
+
parameters[field] = number;
|
|
94
|
+
}
|
|
95
|
+
if (values['content-filter'] !== undefined) {
|
|
96
|
+
if (!['true', 'false'].includes(values['content-filter'])) throw new Error('--content-filter requires true or false.');
|
|
97
|
+
parameters.content_filter = values['content-filter'] === 'true';
|
|
98
|
+
}
|
|
99
|
+
return { input: { requests: values.model.map(model => ({ ...parameters, model })) }, json: values.json };
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
function printPrices(result) {
|
|
103
|
+
if (result.catalog) {
|
|
104
|
+
for (const [kind, models] of Object.entries(result.catalog)) {
|
|
105
|
+
console.log(`${kind}:`);
|
|
106
|
+
for (const model of models) {
|
|
107
|
+
const resolution = model.resolutions?.length ? ` (${model.resolutions.join(', ')})` : '';
|
|
108
|
+
const duration = model.maxSeconds ? ` · ${model.minSeconds ? `${model.minSeconds}–` : 'up to '}${model.maxSeconds}s` : '';
|
|
109
|
+
console.log(` ${model.model}${resolution}${duration}`);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
for (const row of result.estimates) {
|
|
115
|
+
const label = [row.request.model, row.resolution ?? row.request.resolution, row.request.duration_seconds ? `${row.request.duration_seconds}s` : null].filter(Boolean).join(' · ');
|
|
116
|
+
if (row.status === 'estimated' || row.status === 'preflight_only') {
|
|
117
|
+
console.log(`${label}: ${row.credits} credits${row.status === 'preflight_only' ? ' (preflight estimate; final charge may vary)' : ''}`);
|
|
118
|
+
if (row.details?.billableInputImages) console.log(` Includes ${row.details.billableInputImages} billable input image(s).`);
|
|
119
|
+
for (const item of row.billingBasis ?? []) {
|
|
120
|
+
if (item.billableReferenceVideoSeconds) console.log(` Includes ${item.billableReferenceVideoSeconds}s of billable reference video.`);
|
|
121
|
+
if (item.billableInputImages) console.log(` Includes ${item.billableInputImages} billable input image(s).`);
|
|
122
|
+
}
|
|
123
|
+
if (row.details?.settlement && row.status !== 'preflight_only') console.log(` ${row.details.settlement}`);
|
|
124
|
+
} else {
|
|
125
|
+
console.log(`${label}: ${statuses[row.status] ?? row.status}. ${row.reason ?? ''}${row.missing?.length ? ` (${row.missing.join(', ')})` : ''}`.trim());
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
const ranked = result.comparison?.rows ?? [];
|
|
129
|
+
if (ranked.length > 1) {
|
|
130
|
+
console.log(`Lowest known estimate: ${result.comparison.lowestKnownCredits} credits among comparable requests.`);
|
|
131
|
+
if (ranked.length === 2) console.log(`Difference: ${Math.abs(ranked[0].credits - ranked[1].credits)} credits.`);
|
|
132
|
+
}
|
|
133
|
+
console.log(`Observed: ${result.observedAt}`);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export async function runPrice(args, getAuth) {
|
|
137
|
+
const { input, json } = parsePriceRequest(args);
|
|
138
|
+
const { headers, baseUrl } = getAuth();
|
|
139
|
+
const response = await fetch(`${baseUrl}/api/billing/model-prices`, {
|
|
140
|
+
method: 'POST', headers: { ...headers, 'Content-Type': 'application/json' },
|
|
141
|
+
body: JSON.stringify(input), signal: AbortSignal.timeout(30_000),
|
|
142
|
+
});
|
|
143
|
+
if (response.status === 401 || response.status === 403) throw new Error('Authentication failed. Check your Makaron login or API key.');
|
|
144
|
+
if (response.status === 404) throw new Error('This Makaron server does not support price quotes yet.');
|
|
145
|
+
const result = await response.json().catch(() => null);
|
|
146
|
+
if (!response.ok) {
|
|
147
|
+
const fields = Array.isArray(result?.invalidFields) ? ` (${result.invalidFields.join(', ')})` : '';
|
|
148
|
+
throw new Error(response.status === 400 ? `Invalid pricing request${fields}.` : `Pricing request failed (HTTP ${response.status}).`);
|
|
149
|
+
}
|
|
150
|
+
const rows = result?.estimates;
|
|
151
|
+
if (result?.currency !== 'credits' || (input.requests.length ? !Array.isArray(rows) || rows.length !== input.requests.length : !result.catalog)) {
|
|
152
|
+
throw new Error('Invalid Makaron price response.');
|
|
153
|
+
}
|
|
154
|
+
if (json) console.log(JSON.stringify(result));
|
|
155
|
+
else printPrices(result);
|
|
156
|
+
if (rows?.some(row => !['estimated', 'preflight_only'].includes(row.status))) process.exitCode = 2;
|
|
157
|
+
}
|
package/package.json
CHANGED
package/skills/makaron/SKILL.md
CHANGED
|
@@ -59,6 +59,20 @@ npx makaron-cli usage --run <runId> # per-tool breakdown
|
|
|
59
59
|
npx makaron-cli usage --limit 20 # recent usage rows (all sources)
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
+
|
|
63
|
+
## Check generation credits on demand
|
|
64
|
+
|
|
65
|
+
Use `makaron price` when the user asks about price, budget, or how models compare. For routine creation, go directly to the requested workflow. `price list` discovers model IDs and supported resolutions. The quote includes customer-facing credits and applicable billing factors. It does not start a run, upload media or read your balance.
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
makaron price list --json
|
|
69
|
+
makaron price video --model kling-4-flash --model seedance-2.5-native --duration 5 --resolution 720p
|
|
70
|
+
makaron price image --model seedream-5.5 --operation edit --image-count 3 --resolution 2K --json
|
|
71
|
+
makaron price audio --model evolink-seed-audio --duration 20
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
For video references, pass both `--video-reference-count` and the total `--reference-video-seconds`. Count an edit's base image in `--image-count`. Use `--input <file|-> --json` for up to six requests with different parameters. The JSON body is `{"requests":[{"kind":"video","model":"kling-4-flash","duration_seconds":5,"image_count":0,"resolution":"720p"}]}`. Exit `2` means at least one quote is unavailable, unsupported or missing inputs. A `preflight_only` amount is an estimate that may differ from the final charge.
|
|
75
|
+
|
|
62
76
|
## Core Workflow
|
|
63
77
|
|
|
64
78
|
```bash
|
|
@@ -111,11 +125,12 @@ npx makaron-cli chat --project auto --image photo.jpg --json -b "make it cinemat
|
|
|
111
125
|
npx makaron-cli chat --project auto --image img1.jpg --image img2.jpg --json -b "combine these"
|
|
112
126
|
```
|
|
113
127
|
|
|
114
|
-
`chat` routes image and video models automatically. Use `--agent-model` only when the user explicitly asks to select or compare the reasoning/tool-calling Agent LLM. Accepted values are `auto`, the base model IDs (`gpt-6-luna`, `gpt-6.1-sol`, `gpt-6-sol`, `gpt-5.6-terra`, `gpt-5.6-sol`, `gpt-5.6-luna`, `grok-4.
|
|
128
|
+
`chat` routes image and video models automatically. Use `--agent-model` only when the user explicitly asks to select or compare the reasoning/tool-calling Agent LLM. Accepted values are `auto`, the base model IDs (`gpt-6-luna`, `gpt-6.1-sol`, `gpt-6-sol`, `gpt-5.6-terra`, `gpt-5.6-sol`, `gpt-5.6-luna`, `grok-4.7`, `deepseek-v4-pro`, `deepseek-flash`), and the personal-plan routes (`gpt-6-luna-codex-subscription`, `gpt-6.1-sol-codex-subscription`, `gpt-6-sol-codex-subscription`, `gpt-5.6-terra-codex-subscription`, `gpt-5.6-sol-codex-subscription`, `gpt-5.6-luna-codex-subscription`, `grok-4.7-grok-subscription`). `auto` defaults to DeepSeek Flash with native vision, following the server-configured Agent model; eligible accounts can use the Codex subscription when that default is a GPT model; base GPT-5.6, GPT-6 and GPT-6.1 IDs select Azure API, while suffixed IDs explicitly request the personal plan where authorized. The updated server maps the legacy `grok-4.6` and `grok-4.6-grok-subscription` selectors to their corresponding Grok 4.7 routes. Never put an image or video model ID in `--agent-model`.
|
|
115
129
|
|
|
116
130
|
```bash
|
|
117
131
|
npx makaron-cli chat --project auto --agent-model deepseek-v4-pro --json -b "make a 20s badminton video"
|
|
118
132
|
npx makaron-cli chat --project auto --agent-model gpt-6-luna-codex-subscription --json -b "reply with the active model"
|
|
133
|
+
npx makaron-cli chat --project auto --agent-model grok-4.7-grok-subscription --json -b "What is 2 + 3?"
|
|
119
134
|
```
|
|
120
135
|
|
|
121
136
|
Returns immediately:
|
|
@@ -10,7 +10,7 @@ If adult intent is ambiguous, ask one short question before choosing this lane.
|
|
|
10
10
|
|
|
11
11
|
| Adult request | Route |
|
|
12
12
|
|---|---|
|
|
13
|
-
| Agent-driven work or a persistent Makaron project | `makaron chat` with Agent model `grok-4.
|
|
13
|
+
| Agent-driven work or a persistent Makaron project | `makaron chat` with Agent model `grok-4.7` |
|
|
14
14
|
| Standalone image generation or editing | `makaron edit` with image model `qwen-spicy` |
|
|
15
15
|
| Standalone video generation | `makaron video create` with video model `wan-3.0-prime` |
|
|
16
16
|
|
|
@@ -19,7 +19,7 @@ For project-based work, keep the complete request in one `chat` job. Because
|
|
|
19
19
|
brief:
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
|
-
npx makaron-cli chat --project <id|auto> --agent-model grok-4.
|
|
22
|
+
npx makaron-cli chat --project <id|auto> --agent-model grok-4.7 --json \
|
|
23
23
|
-b "<complete adult request; use qwen-spicy for still images and wan-3.0-prime for video>"
|
|
24
24
|
```
|
|
25
25
|
|