makaron-cli 0.11.2 → 0.11.3

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.11.2",
3
+ "version": "0.11.3",
4
4
  "description": "AI image editing, video generation, music creation, and marketplace skill workflows via CLI. Agents can self-register, install skills, create projects, and produce creative media.",
5
5
  "author": {
6
6
  "name": "Makaron AI",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "makaron-cli",
3
- "version": "0.11.2",
3
+ "version": "0.11.3",
4
4
  "description": "AI image editing, video generation, music creation, and marketplace skill workflows via CLI. Agents can self-register, install skills, create projects, and produce creative media.",
5
5
  "displayName": "Makaron",
6
6
  "shortDescription": "AI image/video/music creation from the terminal",
package/README.md CHANGED
@@ -238,6 +238,7 @@ npx makaron-cli analyze --video input.mp4 "describe the key actions and pacing"
238
238
  # 3a. Submit image-to-video rendering (images must be public URLs from step 1 or uploaded)
239
239
  npx makaron-cli video create --script "Shot 1 (5s): <<<image_1>>> ..." --image https://...jpg --duration 5 --model kling
240
240
  npx makaron-cli video create --script "Shot 1 (5s): <<<image_1>>> slow cinematic push-in with native ambience" --image https://...jpg --duration 5 --model grok
241
+ npx makaron-cli video create --script "Shot 1 (15s): <<<image_1>>> and <<<image_2>>> build a neon one-person studio" --image https://...jpg --image https://...webp --duration 15 --model seedance-mini --video-resolution 480p --aspect 9:16
241
242
 
242
243
  # 3b. Edit a video from a local file or public URL
243
244
  npx makaron-cli video create --script "make it funny" --video input.mp4 --duration 5 --model seedance-fast
@@ -253,9 +254,9 @@ For project/timeline video editing, use:
253
254
  npx makaron-cli chat --project <id|auto> --video input.mp4 -b "make it funny"
254
255
  ```
255
256
 
256
- Options for `video create`: `--script "..."`, `--script-file <path>`, `--image <url>` (repeatable, up to 7), `--video <file|url>`, `--duration <seconds>`, `--aspect 9:16|16:9|1:1`, `--model seedance-fast|seedance|kling|grok`, `--video-resolution auto|480p|720p|1080p|4k`. Default model is `seedance-fast`. SeeDance accepts integer output duration 4-15s (default 5s); Kling supports 5-15s; Grok 1.5 supports 1-15s single-image-to-video only. For `--model grok`, forced `--aspect` is ignored to avoid xAI stretching the source image; pad/create the image at the target shape first or use another model.
257
+ Options for `video create`: `--script "..."`, `--script-file <path>`, `--image <url>` (repeatable, up to 7), `--video <file|url>`, `--duration <seconds>`, `--aspect 9:16|16:9|1:1`, `--model seedance-fast|seedance-mini|seedance|kling|grok`, `--video-resolution auto|480p|720p|1080p|4k`. Default model is `seedance-fast`. SeeDance accepts integer output duration 4-15s (default 5s); `seedance-mini` supports 480p/720p and is best for cheaper drafts/multi-size tests; Kling supports 5-15s; Grok 1.5 supports 1-15s single-image-to-video only. For `--model grok`, forced `--aspect` is ignored to avoid xAI stretching the source image; pad/create the image at the target shape first or use another model.
257
258
 
258
- Video edit model behavior: `--model kling --video` uses Kling base/direct edit internally; `--model seedance-fast --video` or `--model seedance --video` uses the SeeDance video-reference path and requires target <=15s, <=50MB, width/height 300-6000px, aspect ratio 0.4-2.5, and frame pixels 409,600-2,086,876. Tiny metadata padding up to 15.5s is accepted and output duration is clamped to 15s. Grok does not support video references.
259
+ Video edit model behavior: `--model kling --video` uses Kling base/direct edit internally; `--model seedance-fast --video`, `--model seedance-mini --video`, or `--model seedance --video` uses the SeeDance video-reference path and requires target <=15s, <=50MB, width/height 300-6000px, aspect ratio 0.4-2.5, and frame pixels 409,600-2,086,876. Tiny metadata padding up to 15.5s is accepted and output duration is clamped to 15s. Grok does not support video references.
259
260
 
260
261
  ### `music` — Music generation
261
262
 
package/bin/makaron.mjs CHANGED
@@ -276,7 +276,7 @@ Options:
276
276
  --video <file|url> Attach a video to the project timeline. Repeatable.
277
277
  --skill <id|label|name> Use an installed skill or auto-install a matched marketplace skill.
278
278
  --model <name> Preferred image/model route.
279
- --video-model <name> Preferred video model: seedance-fast, seedance, kling, or grok.
279
+ --video-model <name> Preferred video model: seedance-fast, seedance-mini, seedance, kling, or grok.
280
280
  --video-resolution <res> Video resolution: auto, 480p, 720p, 1080p, or 4k.
281
281
  --background, -b Submit and print a runId.
282
282
  --json Output structured JSON.
@@ -1353,12 +1353,12 @@ Use with chat:
1353
1353
  console.log('Usage: makaron analyze --video <file|url> ["question"]');
1354
1354
  } else if (topic === 'video') {
1355
1355
  if (subtopic === 'script') console.log('Usage: makaron video script --image <file> [--image <file>] [--lang en|zh] "direction"');
1356
- else if (subtopic === 'create') console.log('Usage: makaron video create --script "..." (--image <url> | --video <public-url>) [--duration 10] [--aspect 9:16] [--model seedance-fast|seedance|kling|grok] [--video-resolution auto|480p|720p|1080p|4k] [--keep-original-sound]');
1356
+ else if (subtopic === 'create') console.log('Usage: makaron video create --script "..." (--image <url> | --video <public-url>) [--duration 10] [--aspect 9:16] [--model seedance-fast|seedance-mini|seedance|kling|grok] [--video-resolution auto|480p|720p|1080p|4k] [--keep-original-sound]');
1357
1357
  else if (subtopic === 'status') console.log('Usage: makaron video status <taskId> | --snapshot <snapshotId> [--wait]');
1358
1358
  else console.log(`Video commands:
1359
1359
  video script --image <file> [--image <file>] "direction" Write video script
1360
1360
  video create --script "..." --image <url> [--duration 10] Submit video task
1361
- video create --script "..." --video <public-url> [--model seedance-fast|seedance|kling] Edit a video (standalone; Grok does not support video refs)
1361
+ video create --script "..." --video <public-url> [--model seedance-fast|seedance-mini|seedance|kling] Edit a video (standalone; Grok does not support video refs)
1362
1362
  video status <taskId> Check video status
1363
1363
  video status --snapshot <snapshotId> [--wait] Check v2 video snapshot
1364
1364
  `);
@@ -1820,7 +1820,7 @@ if (!command || command === '--help' || command === '-h' || command === 'help')
1820
1820
  else if (args[i] === '--wait') wait = true;
1821
1821
  }
1822
1822
  if ((!images.length && !video) || !script) {
1823
- console.error('Usage: makaron video create --script "..." (--image <url> | --video <public-url>) [--duration 10] [--aspect 9:16] [--model seedance-fast|seedance|kling|grok] [--video-resolution auto|480p|720p|1080p|4k] [--keep-original-sound]');
1823
+ console.error('Usage: makaron video create --script "..." (--image <url> | --video <public-url>) [--duration 10] [--aspect 9:16] [--model seedance-fast|seedance-mini|seedance|kling|grok] [--video-resolution auto|480p|720p|1080p|4k] [--keep-original-sound]');
1824
1824
  process.exit(1);
1825
1825
  }
1826
1826
 
@@ -1839,7 +1839,7 @@ if (!command || command === '--help' || command === '-h' || command === 'help')
1839
1839
  const valid = validateVideoFile(video, {
1840
1840
  maxDuration: MAX_VIDEO_PROVIDER_REFERENCE_DURATION,
1841
1841
  durationTolerance: MAX_VIDEO_PROVIDER_REFERENCE_DURATION_TOLERANCE,
1842
- ...(selectedVideoModel === 'seedance' || selectedVideoModel === 'seedance-fast' ? {
1842
+ ...(selectedVideoModel === 'seedance' || selectedVideoModel === 'seedance-fast' || selectedVideoModel === 'seedance-mini' ? {
1843
1843
  minFramePixels: SEEDANCE_MIN_VIDEO_FRAME_PIXELS,
1844
1844
  minSide: SEEDANCE_MIN_VIDEO_SIDE,
1845
1845
  maxSide: SEEDANCE_MAX_VIDEO_SIDE,
@@ -1857,7 +1857,7 @@ if (!command || command === '--help' || command === '-h' || command === 'help')
1857
1857
  // Standalone MCP tool (no project timeline write)
1858
1858
  process.stderr.write('🎬 Submitting video...\n');
1859
1859
  const vArgs = videoUrl
1860
- ? { videoUrl, editPrompt: script, images, videoModel: selectedVideoModel, videoResolution, referType: (selectedVideoModel === 'seedance' || selectedVideoModel === 'seedance-fast') ? 'feature' : 'base' }
1860
+ ? { videoUrl, editPrompt: script, images, videoModel: selectedVideoModel, videoResolution, referType: (selectedVideoModel === 'seedance' || selectedVideoModel === 'seedance-fast' || selectedVideoModel === 'seedance-mini') ? 'feature' : 'base' }
1861
1861
  : { script, images, videoModel: selectedVideoModel, videoResolution };
1862
1862
  const effectiveDuration = duration || (inputVideoMeta?.duration ? Math.min(MAX_VIDEO_PROVIDER_REFERENCE_DURATION, Math.round(inputVideoMeta.duration)) : undefined);
1863
1863
  if (effectiveDuration) vArgs.duration = effectiveDuration;
@@ -1907,7 +1907,7 @@ if (!command || command === '--help' || command === '-h' || command === 'help')
1907
1907
  console.log(`Video commands:
1908
1908
  video script --image <file> [--image <file>] "direction" Write video script
1909
1909
  video create --script "..." --image <url> [--duration 10] Submit video task
1910
- video create --script "..." --video <public-url> [--model seedance-fast|seedance|kling] Edit a video (standalone; Grok does not support video refs)
1910
+ video create --script "..." --video <public-url> [--model seedance-fast|seedance-mini|seedance|kling] Edit a video (standalone; Grok does not support video refs)
1911
1911
  video status <taskId> Check video status
1912
1912
  video status --snapshot <snapshotId> [--wait] Check v2 video snapshot
1913
1913
  `);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "makaron-cli",
3
- "version": "0.11.2",
3
+ "version": "0.11.3",
4
4
  "description": "Talk to Makaron Agent from the terminal — create projects, edit images, generate videos",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -236,6 +236,7 @@ npx makaron-cli analyze --video input.mp4 "describe the key actions and pacing"
236
236
 
237
237
  # 3a. Submit image-to-video rendering (images must be public URLs from step 1 or uploaded)
238
238
  npx makaron-cli video create --script "Shot 1 (5s): <<<image_1>>> ..." --image https://...jpg --duration 5 --model kling
239
+ npx makaron-cli video create --script "Shot 1 (15s): <<<image_1>>> and <<<image_2>>> build a neon one-person studio" --image https://...jpg --image https://...webp --duration 15 --model seedance-mini --video-resolution 480p --aspect 9:16
239
240
 
240
241
  # 3b. Edit a video from a local file or public URL
241
242
  npx makaron-cli video create --script "make it funny" --video input.mp4 --duration 5 --model seedance-fast
@@ -251,9 +252,9 @@ npx makaron-cli video status <taskId>
251
252
  npx makaron-cli chat --project <id|auto> --video input.mp4 -b "make it funny"
252
253
  ```
253
254
 
254
- Options for `video create`: `--script "..."`, `--script-file <path>`, `--image <url>` (repeatable, up to 7), `--video <file|url>`, `--duration <seconds>`, `--aspect 9:16|16:9|1:1`, `--model seedance-fast|seedance|kling|grok`, `--video-resolution auto|480p|720p|1080p|4k`. Default model is `seedance-fast`. SeeDance accepts integer output duration 4-15s (default 5s); Kling supports 5-15s; Grok 1.5 supports 1-15s single-image-to-video only. For `--model grok`, forced `--aspect` is ignored to avoid xAI stretching the source image; pad/create the image at the target shape first or use another model.
255
+ Options for `video create`: `--script "..."`, `--script-file <path>`, `--image <url>` (repeatable, up to 7), `--video <file|url>`, `--duration <seconds>`, `--aspect 9:16|16:9|1:1`, `--model seedance-fast|seedance-mini|seedance|kling|grok`, `--video-resolution auto|480p|720p|1080p|4k`. Default model is `seedance-fast`. SeeDance accepts integer output duration 4-15s (default 5s); `seedance-mini` supports 480p/720p and is best for cheaper drafts/multi-size tests; Kling supports 5-15s; Grok 1.5 supports 1-15s single-image-to-video only. For `--model grok`, forced `--aspect` is ignored to avoid xAI stretching the source image; pad/create the image at the target shape first or use another model.
255
256
 
256
- Video edit model behavior: `--model kling --video` uses Kling base/direct edit internally; `--model seedance-fast --video` or `--model seedance --video` uses the SeeDance video-reference path and requires target <=15s, <=50MB, width/height 300-6000px, aspect ratio 0.4-2.5, and frame pixels 409,600-2,086,876. Tiny metadata padding up to 15.5s is accepted and output duration is clamped to 15s. Grok does not support video references.
257
+ Video edit model behavior: `--model kling --video` uses Kling base/direct edit internally; `--model seedance-fast --video`, `--model seedance-mini --video`, or `--model seedance --video` uses the SeeDance video-reference path and requires target <=15s, <=50MB, width/height 300-6000px, aspect ratio 0.4-2.5, and frame pixels 409,600-2,086,876. Tiny metadata padding up to 15.5s is accepted and output duration is clamped to 15s. Grok does not support video references.
257
258
 
258
259
  ### `music` — Music generation
259
260