makaron-cli 0.17.14 → 0.17.15
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/bin/makaron.mjs +23 -4
- package/package.json +1 -1
package/bin/makaron.mjs
CHANGED
|
@@ -77,6 +77,20 @@ const MINIMAX_H3_MAX_VIDEO_SIDE = 5760;
|
|
|
77
77
|
const MULEROUTER_WAN_MAX_VIDEO_SIDE = 4096;
|
|
78
78
|
const MULEROUTER_WAN_MAX_VIDEO_FILE_SIZE = 100 * 1024 * 1024;
|
|
79
79
|
|
|
80
|
+
// Provider version shown next to a model id, so users know which release runs.
|
|
81
|
+
const VIDEO_MODEL_LABELS = {
|
|
82
|
+
'google-omni': 'Gemini Omni 1.2 Flash',
|
|
83
|
+
'kling-4': 'Kling 4.0',
|
|
84
|
+
'kling-4-flash': 'Kling 4.0 Flash',
|
|
85
|
+
'fal-h3-max': 'FAL H3 Max',
|
|
86
|
+
'minimax-h3-max': 'H3 Max Turbo',
|
|
87
|
+
'grok': 'Grok Imagine Video 1.5',
|
|
88
|
+
};
|
|
89
|
+
function describeVideoModel(id) {
|
|
90
|
+
const label = VIDEO_MODEL_LABELS[String(id)];
|
|
91
|
+
return label ? `${id} (${label})` : String(id);
|
|
92
|
+
}
|
|
93
|
+
|
|
80
94
|
function warnLegacyModelFlag(replacement) {
|
|
81
95
|
process.stderr.write(`⚠️ --model is deprecated here; use ${replacement}.\n`);
|
|
82
96
|
}
|
|
@@ -687,7 +701,7 @@ async function streamAgent(baseUrl, headers, projectId, prompt, opts = {}) {
|
|
|
687
701
|
case 'tool_call':
|
|
688
702
|
process.stderr.write(`\n🔧 ${event.tool}`);
|
|
689
703
|
if (event.input?.editPrompt) process.stderr.write(`\n editPrompt: ${event.input.editPrompt}`);
|
|
690
|
-
if (event.input?.model) process.stderr.write(`\n model: ${event.input.model}`);
|
|
704
|
+
if (event.input?.model) process.stderr.write(`\n model: ${describeVideoModel(event.input.model)}`);
|
|
691
705
|
if (event.input?.skill) process.stderr.write(`\n skill: ${event.input.skill}`);
|
|
692
706
|
if (event.input?.description) process.stderr.write(`: ${event.input.description.substring(0, 80)}`);
|
|
693
707
|
process.stderr.write('\n');
|
|
@@ -829,7 +843,7 @@ async function pollRun(baseUrl, headers, runId, opts = {}) {
|
|
|
829
843
|
case 'tool_call':
|
|
830
844
|
process.stderr.write(`\n🔧 ${ev.data?.tool || ''}`);
|
|
831
845
|
if (ev.data?.input?.editPrompt) process.stderr.write(`\n editPrompt: ${ev.data.input.editPrompt}`);
|
|
832
|
-
if (ev.data?.input?.model) process.stderr.write(`\n model: ${ev.data.input.model}`);
|
|
846
|
+
if (ev.data?.input?.model) process.stderr.write(`\n model: ${describeVideoModel(ev.data.input.model)}`);
|
|
833
847
|
if (ev.data?.input?.description) process.stderr.write(`: ${ev.data.input.description.substring(0, 80)}`);
|
|
834
848
|
process.stderr.write('\n');
|
|
835
849
|
break;
|
|
@@ -2131,7 +2145,7 @@ Generation options:
|
|
|
2131
2145
|
--duration <seconds> Output duration supported by the selected model.
|
|
2132
2146
|
--video-resolution <res> auto, 480p, 720p, 768p, 1080p, 2k, or 4k.
|
|
2133
2147
|
--aspect <ratio> 9:16, 16:9, 1:1, or another supported ratio.
|
|
2134
|
-
--video-operation <mode> generate, edit, or extend (Seedance 2.5 / Grok); Kling 4 / Kling 4 Flash support generate/edit.
|
|
2148
|
+
--video-operation <mode> generate, edit, or extend (Seedance 2.5 / Grok / Gemini Omni 1.2); Kling 4 / Kling 4 Flash support generate/edit.
|
|
2135
2149
|
--extend-direction <dir> forward or backward.
|
|
2136
2150
|
--output-format <format> mp4 or mov.
|
|
2137
2151
|
--generated-audio Ask the provider to generate audio.
|
|
@@ -2146,6 +2160,9 @@ Recent model choices:
|
|
|
2146
2160
|
Native edit preserves source audio; default for video retake.
|
|
2147
2161
|
kling-4-flash Kling 4.0 Flash: faster, lower-cost Kling 4.0 with the same inputs and edit route;
|
|
2148
2162
|
3–20s, 720p only, video inputs <=20s total.
|
|
2163
|
+
google-omni Gemini Omni 1.2 Flash: 3–15s text/image/video with native audio, multi-speaker
|
|
2164
|
+
dialogue and lip-sync; edit (source <=15s) or extend (+3–10s, up to 30s);
|
|
2165
|
+
360p/720p, upscaled 1080p/4k.
|
|
2149
2166
|
fal-h3-max FAL H3 Max (default, 768p) reference-to-video: images, videos and audio;
|
|
2150
2167
|
integer 5–15s, 480p/768p/1080p, default 768p. Reference inputs cost extra.
|
|
2151
2168
|
minimax-h3-max fal H3 Turbo faster-than-real-time T2V or one-start-image I2V;
|
|
@@ -2179,6 +2196,7 @@ function printVideoHelp() {
|
|
|
2179
2196
|
video create --script "..." --video-model seedance-2.5 4-30s multimodal generation/edit/extend
|
|
2180
2197
|
video create --script "..." --video-model kling-4 Kling 4.0, 3-30s, 720p/1080p
|
|
2181
2198
|
video create --script "..." --video-model kling-4-flash Kling 4.0 Flash, faster/lower cost, 3-20s 720p
|
|
2199
|
+
video create --script "..." --video-model google-omni Gemini Omni 1.2 Flash, 3-15s with dialogue
|
|
2182
2200
|
video create --script "..." --video <file|url> --video-model grok --video-operation extend
|
|
2183
2201
|
Edit or extend one MP4 with Grok
|
|
2184
2202
|
video create --script "..." --video <url> --audio <url> --video-model sync-lipsync-v3
|
|
@@ -3390,6 +3408,7 @@ if (!command || command === '--help' || command === '-h' || command === 'help')
|
|
|
3390
3408
|
? 'wan-3.0-prime'
|
|
3391
3409
|
: ['kling4', 'kling-4.0', 'kling 4.0', 'kling 4'].includes(String(videoModel).toLowerCase()) ? 'kling-4'
|
|
3392
3410
|
: ['kling4-flash', 'kling-4.0-flash', 'kling 4.0 flash', 'kling 4 flash'].includes(String(videoModel).toLowerCase()) ? 'kling-4-flash'
|
|
3411
|
+
: ['omni', 'gemini-omni', 'gemini-omni-1.2', 'gemini-omni-1.2-flash', 'omni-1.2', 'gemini omni', 'gemini omni 1.2'].includes(String(videoModel).toLowerCase()) ? 'google-omni'
|
|
3393
3412
|
: (videoModel || 'fal-h3-max');
|
|
3394
3413
|
const isSeedance25 = ['seedance-2.5', 'seedance-2.5-eco'].includes(selectedVideoModel);
|
|
3395
3414
|
const isWan30 = selectedVideoModel === 'wan-3.0' || selectedVideoModel === 'wan-3.0-prime';
|
|
@@ -3511,7 +3530,7 @@ if (!command || command === '--help' || command === '-h' || command === 'help')
|
|
|
3511
3530
|
audioUrls.push(uploaded);
|
|
3512
3531
|
}
|
|
3513
3532
|
// Standalone MCP tool (no project timeline write)
|
|
3514
|
-
process.stderr.write(
|
|
3533
|
+
process.stderr.write(`🎬 Submitting video (${describeVideoModel(selectedVideoModel)})...\n`);
|
|
3515
3534
|
const resolvedOperation = inferredOperation;
|
|
3516
3535
|
const vArgs = isSyncLipsync
|
|
3517
3536
|
? { script, images, videoUrls, audioUrls, videoModel: selectedVideoModel, videoResolution }
|