makaron-cli 0.17.10 → 0.17.11
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 -2
- package/bin/makaron.mjs +22 -12
- package/package.json +1 -1
- package/skills/makaron/SKILL.md +3 -2
package/README.md
CHANGED
|
@@ -434,6 +434,7 @@ npx makaron-cli analyze --video input.mp4 "describe the key actions and pacing"
|
|
|
434
434
|
|
|
435
435
|
# 3a. Submit reference-to-video rendering (images must be public URLs from step 1 or uploaded)
|
|
436
436
|
npx makaron-cli video create --script "Shot 1 (5s): <<<image_1>>> ..." --image https://...jpg --duration 5 --video-model kling-4
|
|
437
|
+
npx makaron-cli video create --script "Shot 1 (20s): <<<image_1>>> ..." --image https://...jpg --duration 20 --video-model kling-4-flash
|
|
437
438
|
npx makaron-cli video create --script "Shot 1 (5s): <<<image_1>>> slow cinematic push-in with native ambience" --image https://...jpg --duration 5 --video-model grok
|
|
438
439
|
npx makaron-cli video create --script "Keep both subjects recognizable as they enter the same studio" --image https://...jpg --image https://...webp --duration 5 --video-model grok --video-resolution 720p
|
|
439
440
|
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 --video-model seedance-mini --video-resolution 480p --aspect 9:16
|
|
@@ -472,7 +473,7 @@ For project/timeline video editing, use:
|
|
|
472
473
|
npx makaron-cli chat --project <id|auto> --video input.mp4 -b "make it funny"
|
|
473
474
|
```
|
|
474
475
|
|
|
475
|
-
Kling 4.0: use `--video-model kling-4` for native text-to-video or image/video feature references, integer 3–30s at 720p (default) or 1080p. Up to 10 images and 5 videos; source videos must each be 3s or longer, total at most 30s, 720–2160px per side, 24–60fps and at most 200MB each. `--video-operation edit` requires exactly one source video and preserves its canvas/audio. Explicit keyframe I2V, extension and replacement-audio controls are not exposed. Retake defaults to `kling-4` at 720p, original audio only, source at least 3s, no final/middle frame control.
|
|
476
|
+
Kling 4.0: use `--video-model kling-4` for native text-to-video or image/video feature references, integer 3–30s at 720p (default) or 1080p. Up to 10 images and 5 videos; source videos must each be 3s or longer, total at most 30s, 720–2160px per side, 24–60fps and at most 200MB each. `--video-operation edit` requires exactly one source video and preserves its canvas/audio. Explicit keyframe I2V, extension and replacement-audio controls are not exposed. Retake defaults to `kling-4` at 720p, original audio only, source at least 3s, no final/middle frame control. Kling 4.0 Flash: use `--video-model kling-4-flash` for the faster, lower-cost variant with the same inputs, edit route and Retake rules, but integer 3–20s at 720p only and source/reference videos at most 20s total. Never silently substitute one Kling 4 variant for the other.
|
|
476
477
|
|
|
477
478
|
Options for `video create`: `--script "..."`, `--script-file <path>`, `--image <url>` (repeatable, up to the selected model limit), `--video <file|url>` and `--audio <file|url>` (repeatable where supported), `--voice <xai-preset-id>` (repeatable, Grok only), `--duration <seconds>`, `--aspect 9:16|16:9|1:1`, `--video-model seedance-fast|seedance-mini|seedance|seedance-2.5|wan-3.0|wan-3.0-prime|kling-4|grok|google-omni|minimax-h3|minimax-h3-max|fal-h3-max|sync-lipsync-v3`, `--video-resolution auto|480p|720p|768p|1080p|2k|4k`. Default model is FAL H3 Max (`fal-h3-max`) at 768p (480p/1080p optional): native text-to-video or image/video/audio reference-to-video, integer 5-15s, up to 9 images + 3 videos + 3 audios (12 total). SeeDance accepts native text-to-video with no image and integer output duration 4-15s (default 5s); every Seedance image input is submitted through reference-to-video, including one image. `seedance-mini` supports 480p/720p and is best for cheaper drafts/multi-size tests. Wan 3.0 and Wan 3.0 Prime both expose 480p/720p/1080p/2K/4K; 2K/4K automatically use the matching FlashVSR endpoint. MiniMax H3 accepts native text-to-video, 4-15s output, public 768p/2k resolution, and up to 9 image, up to 3 video, and up to 3 audio feature references through Makaron Agent/chat; a single image keeps the `reference_image` role. `sync-lipsync-v3` requires exactly one video plus one MP3/WAV and preserves that replacement audio while aligning the mouth. H3 defaults to 768p; request 2k explicitly for maximum/final quality. Kling 4.0 supports integer 3-30s in one call. Grok generation uses `grok-imagine-video-1.5`: text-only generation supports 480p/720p/1080p, while any 1-7 image or preset voice input uses reference-to-video and is capped at 720p. Grok edit/extend uses `grok-imagine-video` internally under the same `grok` selector. Gemini Omni supports 3-10s fast image/video generation and editing with native generated audio; every image-only generation request uses `reference_to_video`, including a single image, with up to 6 images when no video reference is provided.
|
|
478
479
|
|
|
@@ -482,7 +483,7 @@ Seedance 2.5: use `--video-model seedance-2.5` or `seedance-2.5-eco` for 4-30 se
|
|
|
482
483
|
|
|
483
484
|
Wan 3.0: choose `--video-model wan-3.0` or the faster `--video-model wan-3.0-prime`. Both support 2-30 second generation, 480p/720p/1080p/2K/4K, and up to 10 images, 5 videos, and 5 audio references. Pass `--video-resolution 2k|4k` to use the matching FlashVSR/Pro endpoint automatically; Pro is not a separate model selector. Use generation mode with feature references; typed edit/extend and `--relaxed-content-filter` are not supported.
|
|
484
485
|
|
|
485
|
-
Video edit model behavior: `--video-model kling-4 --video --video-operation edit` uses Kling 4.0 direct edit and preserves source audio; `--video-model seedance-fast --video`, `--video-model seedance-mini --video`, or `--video-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. `--video-model minimax-h3 --video` uses H3 feature/reference mode: up to 3 video references totaling <=15s, each <=50MB with width/height 256-5760px and aspect ratio 0.4-2.5. `--video-model google-omni --video` uses Gemini Omni direct video editing and accepts one reference video in Makaron. Output duration is clamped to 3-10s. `--video-model grok --video --video-operation edit` accepts one MP4 up to 8.7s, retains duration/aspect, and caps output at 720p. `--video-operation extend` accepts one 2-15s MP4 and adds 2-10s (default 6s); the returned result includes the original plus extension.
|
|
486
|
+
Video edit model behavior: `--video-model kling-4 --video --video-operation edit` uses Kling 4.0 direct edit and preserves source audio (`kling-4-flash` does the same for a 3–20s source at 720p); `--video-model seedance-fast --video`, `--video-model seedance-mini --video`, or `--video-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. `--video-model minimax-h3 --video` uses H3 feature/reference mode: up to 3 video references totaling <=15s, each <=50MB with width/height 256-5760px and aspect ratio 0.4-2.5. `--video-model google-omni --video` uses Gemini Omni direct video editing and accepts one reference video in Makaron. Output duration is clamped to 3-10s. `--video-model grok --video --video-operation edit` accepts one MP4 up to 8.7s, retains duration/aspect, and caps output at 720p. `--video-operation extend` accepts one 2-15s MP4 and adds 2-10s (default 6s); the returned result includes the original plus extension.
|
|
486
487
|
|
|
487
488
|
### `music` — Music generation
|
|
488
489
|
|
package/bin/makaron.mjs
CHANGED
|
@@ -2126,12 +2126,12 @@ Inputs:
|
|
|
2126
2126
|
|
|
2127
2127
|
Generation options:
|
|
2128
2128
|
--video-model <id> seedance-fast, seedance-mini, seedance, seedance-2.5,
|
|
2129
|
-
wan-3.0, wan-3.0-prime, kling-4, grok, google-omni,
|
|
2129
|
+
wan-3.0, wan-3.0-prime, kling-4, kling-4-flash, grok, google-omni,
|
|
2130
2130
|
minimax-h3, minimax-h3-max, fal-h3-max, or sync-lipsync-v3.
|
|
2131
2131
|
--duration <seconds> Output duration supported by the selected model.
|
|
2132
2132
|
--video-resolution <res> auto, 480p, 720p, 768p, 1080p, 2k, or 4k.
|
|
2133
2133
|
--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
|
|
2134
|
+
--video-operation <mode> generate, edit, or extend (Seedance 2.5 / Grok); Kling 4 / Kling 4 Flash support generate/edit.
|
|
2135
2135
|
--extend-direction <dir> forward or backward.
|
|
2136
2136
|
--output-format <format> mp4 or mov.
|
|
2137
2137
|
--generated-audio Ask the provider to generate audio.
|
|
@@ -2144,6 +2144,8 @@ Generation options:
|
|
|
2144
2144
|
Recent model choices:
|
|
2145
2145
|
kling-4 Kling 4.0 standard: native text/image/video references, 3–30s, 720p/1080p.
|
|
2146
2146
|
Native edit preserves source audio; default for video retake.
|
|
2147
|
+
kling-4-flash Kling 4.0 Flash: faster, lower-cost Kling 4.0 with the same inputs and edit route;
|
|
2148
|
+
3–20s, 720p only, video inputs <=20s total.
|
|
2147
2149
|
fal-h3-max FAL H3 Max (default, 768p) reference-to-video: images, videos and audio;
|
|
2148
2150
|
integer 5–15s, 480p/768p/1080p, default 768p. Reference inputs cost extra.
|
|
2149
2151
|
minimax-h3-max fal H3 Turbo faster-than-real-time T2V or one-start-image I2V;
|
|
@@ -2175,6 +2177,8 @@ function printVideoHelp() {
|
|
|
2175
2177
|
video create --script "..." --video-model minimax-h3-max H3 Max Turbo (native 768p default)
|
|
2176
2178
|
video create --script "..." --video-model wan-3.0-prime Fast Wan tier, up to 4k
|
|
2177
2179
|
video create --script "..." --video-model seedance-2.5 4-30s multimodal generation/edit/extend
|
|
2180
|
+
video create --script "..." --video-model kling-4 Kling 4.0, 3-30s, 720p/1080p
|
|
2181
|
+
video create --script "..." --video-model kling-4-flash Kling 4.0 Flash, faster/lower cost, 3-20s 720p
|
|
2178
2182
|
video create --script "..." --video <file|url> --video-model grok --video-operation extend
|
|
2179
2183
|
Edit or extend one MP4 with Grok
|
|
2180
2184
|
video create --script "..." --video <url> --audio <url> --video-model sync-lipsync-v3
|
|
@@ -2235,7 +2239,7 @@ Commands:
|
|
|
2235
2239
|
|
|
2236
2240
|
edit [--image <file>] "prompt" Image edit, text-to-image, or transparent PNG
|
|
2237
2241
|
analyze --video <file|url> Analyze video content
|
|
2238
|
-
video script|create|retake|status H3 Max, Wan, Seedance, Grok, lip-sync, Kling 4; interval retake
|
|
2242
|
+
video script|create|retake|status H3 Max, Wan, Seedance, Grok, lip-sync, Kling 4 / Flash; interval retake
|
|
2239
2243
|
music create|status Music generation
|
|
2240
2244
|
|
|
2241
2245
|
admin Admin commands (skills, credits, upload, set-admin)
|
|
@@ -2388,7 +2392,7 @@ Not sure which built-in skill to use? Start with:
|
|
|
2388
2392
|
} else if (topic === 'video') {
|
|
2389
2393
|
if (subtopic === 'script') console.log('Usage: makaron video script --image <file> [--image <file>] [--lang en|zh] "direction"');
|
|
2390
2394
|
else if (subtopic === 'create') printVideoCreateHelp();
|
|
2391
|
-
else if (subtopic === 'retake') console.log('Usage: makaron video retake --video <url|file> --start <seconds> --end <seconds> --prompt "change" [--model seedance-2.5-eco|seedance-2.5|fal-h3-max|kling-4|wan-3.0|wan-3.0-prime|grok|google-omni|minimax-h3] [--project <id>] [--wait] [--json] [--request-id <uuid>] [--audio-mode original|generated]\nDefault: kling-4 at 720p; source >=3s, original audio only. Select another compatible model explicitly for generated audio.');
|
|
2395
|
+
else if (subtopic === 'retake') console.log('Usage: makaron video retake --video <url|file> --start <seconds> --end <seconds> --prompt "change" [--model seedance-2.5-eco|seedance-2.5|fal-h3-max|kling-4|kling-4-flash|wan-3.0|wan-3.0-prime|grok|google-omni|minimax-h3] [--project <id>] [--wait] [--json] [--request-id <uuid>] [--audio-mode original|generated]\nDefault: kling-4 at 720p; source >=3s, original audio only. Select another compatible model explicitly for generated audio.');
|
|
2392
2396
|
else if (subtopic === 'status') console.log('Usage: makaron video status <taskId> | --snapshot <snapshotId> [--wait]');
|
|
2393
2397
|
else printVideoHelp();
|
|
2394
2398
|
} else if (topic === 'music') {
|
|
@@ -3313,12 +3317,12 @@ if (!command || command === '--help' || command === '-h' || command === 'help')
|
|
|
3313
3317
|
else if ((flag === '--model' || flag === '--video-model') && args[i + 1]) params.model = args[++i];
|
|
3314
3318
|
else if (flag === '--project' && args[i + 1]) params.project_id = args[++i];
|
|
3315
3319
|
else if (flag === '--request-id' && args[i + 1]) params.request_id = args[++i];
|
|
3316
|
-
else { console.error('Usage: makaron video retake --video <url|file> --start <seconds> --end <seconds> --prompt "change" [--model seedance-2.5-eco|seedance-2.5|fal-h3-max|kling-4|wan-3.0|wan-3.0-prime|grok|google-omni|minimax-h3] [--project <id>] [--wait] [--json] [--request-id <uuid>] [--audio-mode original|generated]\nDefault: kling-4 at 720p; source >=3s, original audio only. Select another compatible model explicitly for generated audio.'); process.exit(1); }
|
|
3320
|
+
else { console.error('Usage: makaron video retake --video <url|file> --start <seconds> --end <seconds> --prompt "change" [--model seedance-2.5-eco|seedance-2.5|fal-h3-max|kling-4|kling-4-flash|wan-3.0|wan-3.0-prime|grok|google-omni|minimax-h3] [--project <id>] [--wait] [--json] [--request-id <uuid>] [--audio-mode original|generated]\nDefault: kling-4 at 720p; source >=3s, original audio only. Select another compatible model explicitly for generated audio.'); process.exit(1); }
|
|
3317
3321
|
}
|
|
3318
3322
|
if (!params.video_url || !params.prompt || !Number.isFinite(params.start) || !Number.isFinite(params.end)
|
|
3319
3323
|
|| params.start < 0 || params.end - params.start < .1 || params.end - params.start > 15
|
|
3320
3324
|
|| (params.audio_mode && !['original','generated'].includes(params.audio_mode))
|
|
3321
|
-
|| !['seedance-2.5-eco', 'seedance-2.5', 'fal-h3-max', 'kling-4', 'wan-3.0', 'wan-3.0-prime', 'grok', 'google-omni', 'minimax-h3'].includes(params.model)) {
|
|
3325
|
+
|| !['seedance-2.5-eco', 'seedance-2.5', 'fal-h3-max', 'kling-4', 'kling-4-flash', 'wan-3.0', 'wan-3.0-prime', 'grok', 'google-omni', 'minimax-h3'].includes(params.model)) {
|
|
3322
3326
|
console.error('Retake needs one video, a prompt, a valid 0.1–15 second interval, and a supported model.'); process.exit(1);
|
|
3323
3327
|
}
|
|
3324
3328
|
if (!isHttpUrl(params.video_url)) {
|
|
@@ -3384,6 +3388,8 @@ if (!command || command === '--help' || command === '-h' || command === 'help')
|
|
|
3384
3388
|
? 'wan-3.0'
|
|
3385
3389
|
: ['wan3-prime', 'wan3.0-prime', 'wan30-prime', 'wan-3-prime', 'w3.0-video-prime', 'w3.0-video-prime-pro', 'wan-3.0-prime-pro', 'prime'].includes(videoModel)
|
|
3386
3390
|
? 'wan-3.0-prime'
|
|
3391
|
+
: ['kling4', 'kling-4.0', 'kling 4.0', 'kling 4'].includes(String(videoModel).toLowerCase()) ? 'kling-4'
|
|
3392
|
+
: ['kling4-flash', 'kling-4.0-flash', 'kling 4.0 flash', 'kling 4 flash'].includes(String(videoModel).toLowerCase()) ? 'kling-4-flash'
|
|
3387
3393
|
: (videoModel || 'fal-h3-max');
|
|
3388
3394
|
const isSeedance25 = ['seedance-2.5', 'seedance-2.5-eco'].includes(selectedVideoModel);
|
|
3389
3395
|
const isWan30 = selectedVideoModel === 'wan-3.0' || selectedVideoModel === 'wan-3.0-prime';
|
|
@@ -3395,14 +3401,18 @@ if (!command || command === '--help' || command === '-h' || command === 'help')
|
|
|
3395
3401
|
const isGoogleOmni = selectedVideoModel === 'google-omni';
|
|
3396
3402
|
const isSyncLipsync = selectedVideoModel === 'sync-lipsync-v3';
|
|
3397
3403
|
if (['kling', 'kling-o3', 'kling-o3-video', 'kling-v3-omni', 'kling-3', 'kling-3.0'].includes(selectedVideoModel)) { console.error('Kling O3 has been retired. Historical videos remain available. Select an available model explicitly; no task submitted.'); process.exit(1); }
|
|
3398
|
-
const
|
|
3399
|
-
const
|
|
3404
|
+
const isKling4Flash = selectedVideoModel === 'kling-4-flash';
|
|
3405
|
+
const isKling4 = selectedVideoModel === 'kling-4' || isKling4Flash;
|
|
3406
|
+
const kling4Label = isKling4Flash ? 'Kling 4.0 Flash' : 'Kling 4.0';
|
|
3407
|
+
const kling4MaxSeconds = isKling4Flash ? 20 : 30;
|
|
3408
|
+
const supportsNativeTextToVideo = isKling4 || isSeedanceModel || isWan30 || isMinimaxH3 || isFalH3Max || isFalReference || isGrok || isGoogleOmni;
|
|
3400
3409
|
if (!script || (!images.length && !videos.length && !audios.length && !referenceVoices.length && !supportsNativeTextToVideo)) {
|
|
3401
|
-
console.error('Usage: makaron video create --script "..." [--image <url>] [--video <file|url>] [--audio <file|url>] [--duration 30] [--video-model seedance-2.5|wan-3.0|wan-3.0-prime|minimax-h3|minimax-h3-max]');
|
|
3410
|
+
console.error('Usage: makaron video create --script "..." [--image <url>] [--video <file|url>] [--audio <file|url>] [--duration 30] [--video-model seedance-2.5|wan-3.0|wan-3.0-prime|kling-4|kling-4-flash|minimax-h3|minimax-h3-max]');
|
|
3402
3411
|
process.exit(1);
|
|
3403
3412
|
}
|
|
3404
|
-
if (isKling4 && (images.length > 10 || videos.length > 5 || audios.length)) { console.error(
|
|
3405
|
-
if (isKling4 && duration != null && (!Number.isInteger(duration) || duration < 3 || duration >
|
|
3413
|
+
if (isKling4 && (images.length > 10 || videos.length > 5 || audios.length)) { console.error(`${kling4Label} accepts at most 10 images and 5 videos, with no audio references.`); process.exit(1); }
|
|
3414
|
+
if (isKling4 && duration != null && (!Number.isInteger(duration) || duration < 3 || duration > kling4MaxSeconds)) { console.error(`${kling4Label} output duration must be an integer from 3 to ${kling4MaxSeconds} seconds.`); process.exit(1); }
|
|
3415
|
+
if (isKling4Flash && videoResolution && !['auto', '720p'].includes(videoResolution.toLowerCase())) { console.error('Kling 4.0 Flash supports 720p only.'); process.exit(1); }
|
|
3406
3416
|
if (isFalReference && (images.length > 9 || videos.length > 3 || audios.length > 3 || images.length + videos.length + audios.length > 12)) { console.error('FAL H3 Max accepts at most 9 images, 3 videos, 3 audios, 12 total.'); process.exit(1); }
|
|
3407
3417
|
if (isFalReference && duration != null && (!Number.isInteger(duration) || duration < 5 || duration > 15)) { console.error('FAL H3 Max output duration must be an integer from 5 to 15 seconds.'); process.exit(1); }
|
|
3408
3418
|
if (isSeedance25 && images.length > 30) { console.error('Seedance 2.5 supports at most 30 image references.'); process.exit(1); }
|
|
@@ -3441,7 +3451,7 @@ if (!command || command === '--help' || command === '-h' || command === 'help')
|
|
|
3441
3451
|
let providerMaxDuration = isSeedance25 ? SEEDANCE25_MAX_VIDEO_REFERENCE_DURATION : MAX_VIDEO_PROVIDER_REFERENCE_DURATION;
|
|
3442
3452
|
if (isGrok) providerMaxDuration = inferredOperation === 'edit' ? 8.7 : 15;
|
|
3443
3453
|
if (isSyncLipsync) providerMaxDuration = 60;
|
|
3444
|
-
if (isKling4) providerMaxDuration =
|
|
3454
|
+
if (isKling4) providerMaxDuration = kling4MaxSeconds;
|
|
3445
3455
|
const providerMaxPixels = isSyncLipsync || isMinimaxH3 || isWan30 || isKling4 ? Infinity : isSeedance25 ? SEEDANCE25_MAX_VIDEO_FRAME_PIXELS : MAX_VIDEO_FRAME_PIXELS;
|
|
3446
3456
|
const localImages = images.filter(image => !isHttpUrl(image));
|
|
3447
3457
|
if (localImages.length) {
|
package/package.json
CHANGED
package/skills/makaron/SKILL.md
CHANGED
|
@@ -357,6 +357,7 @@ npx makaron-cli analyze --video input.mp4 "describe the key actions and pacing"
|
|
|
357
357
|
|
|
358
358
|
# 3a. Submit reference-to-video rendering (images must be public URLs from step 1 or uploaded)
|
|
359
359
|
npx makaron-cli video create --script "Shot 1 (5s): <<<image_1>>> ..." --image https://...jpg --duration 5 --video-model kling-4
|
|
360
|
+
npx makaron-cli video create --script "Shot 1 (20s): <<<image_1>>> ..." --image https://...jpg --duration 20 --video-model kling-4-flash
|
|
360
361
|
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 --video-model seedance-mini --video-resolution 480p --aspect 9:16
|
|
361
362
|
|
|
362
363
|
# 3b. Native SeeDance, Wan 3.0, MiniMax H3, or fal H3 Turbo text-to-video (no image required)
|
|
@@ -396,7 +397,7 @@ Chat segment inspection also reads source speech through ASR, reusing cached tra
|
|
|
396
397
|
npx makaron-cli chat --project <id|auto> --video input.mp4 -b "make it funny"
|
|
397
398
|
```
|
|
398
399
|
|
|
399
|
-
Kling 4.0: use `--video-model kling-4` for native text-to-video or image/video feature references, integer 3–30s at 720p (default) or 1080p. Up to 10 images and 5 videos; source videos must each be 3s or longer, total at most 30s, 720–2160px per side, 24–60fps and at most 200MB each. `--video-operation edit` requires exactly one source video and preserves its canvas/audio. Explicit keyframe I2V, extension and replacement-audio controls are not exposed. Retake defaults to `kling-4` at 720p, original audio only, source at least 3s, no final/middle frame control.
|
|
400
|
+
Kling 4.0: use `--video-model kling-4` for native text-to-video or image/video feature references, integer 3–30s at 720p (default) or 1080p. Up to 10 images and 5 videos; source videos must each be 3s or longer, total at most 30s, 720–2160px per side, 24–60fps and at most 200MB each. `--video-operation edit` requires exactly one source video and preserves its canvas/audio. Explicit keyframe I2V, extension and replacement-audio controls are not exposed. Retake defaults to `kling-4` at 720p, original audio only, source at least 3s, no final/middle frame control. Kling 4.0 Flash: use `--video-model kling-4-flash` for the faster, lower-cost variant with the same inputs, edit route and Retake rules, but integer 3–20s at 720p only and source/reference videos at most 20s total. Never silently substitute one Kling 4 variant for the other.
|
|
400
401
|
|
|
401
402
|
Options for `video create`: `--script "..."`, `--script-file <path>`, `--image <url>` (repeatable, up to the selected model limit), `--video <file|url>` and `--audio <file|url>` (repeatable where supported), `--voice <xai-preset-id>` (repeatable, Grok only), `--duration <seconds>`, `--aspect 9:16|16:9|1:1`, `--video-model seedance-fast|seedance-mini|seedance|seedance-2.5|wan-3.0|wan-3.0-prime|kling-4|grok|google-omni|minimax-h3|minimax-h3-max|fal-h3-max|sync-lipsync-v3`, `--video-resolution auto|480p|720p|768p|1080p|2k|4k`. Default model is FAL H3 Max (`fal-h3-max`) at 768p (480p/1080p optional): native text-to-video or image/video/audio reference-to-video, integer 5-15s, up to 9 images + 3 videos + 3 audios (12 total). SeeDance accepts native text-to-video with no image and integer output duration 4-15s (default 5s); every Seedance image input uses reference-to-video, including one image. `seedance-mini` supports 480p/720p and is best for cheaper drafts/multi-size tests. Wan 3.0 and Wan 3.0 Prime both expose 480p/720p/1080p/2K/4K; 2K/4K automatically use the matching FlashVSR endpoint. MiniMax H3 accepts native text-to-video, 4-15s output, public 768p/2k resolution, and up to 9 image, up to 3 video, and up to 3 audio feature references through Makaron Agent/chat; a single image keeps the `reference_image` role. fal H3 Turbo (`minimax-h3-max`) accepts native text-to-video or exactly one start image for image-to-video, exact 5/10/15s duration, and 480p/768p; it does not accept reference video/audio or multiple images. `sync-lipsync-v3` requires exactly one video plus one MP3/WAV and preserves that replacement audio while aligning the mouth. H3 defaults to 768p; request 2k explicitly for maximum/final quality. Kling 4.0 supports integer 3-30s in one call. Grok text-only generation supports 480p/720p/1080p; any 1-7 image or preset voice input uses reference-to-video and is capped at 720p. Grok edit/extend uses `grok-imagine-video` internally. Gemini Omni image-only generation always uses `reference_to_video`, including one image, with up to 6 images when no video reference is provided.
|
|
402
403
|
|
|
@@ -408,7 +409,7 @@ Seedance 2.5 uses `--video-model seedance-2.5` or `seedance-2.5-eco` for 4-30s v
|
|
|
408
409
|
|
|
409
410
|
Wan 3.0 exposes two model choices: `--video-model wan-3.0` and the faster `--video-model wan-3.0-prime`. Both support 2-30s generation, native audio, up to 10 images + 5 videos + 5 audios, and 480p/720p/1080p/2K/4K. Pass `--video-resolution 2k|4k` to select the matching FlashVSR/Pro endpoint automatically; Pro is not a separate model selector. Use generation mode with feature references; typed edit/extend and the relaxed content-filter flag are not supported.
|
|
410
411
|
|
|
411
|
-
Video edit model behavior: `--video-model kling-4 --video --video-operation edit` uses Kling 4.0 direct edit and preserves source audio; `--video-model seedance-fast --video`, `--video-model seedance-mini --video`, or `--video-model seedance --video` uses the SeeDance video-reference path and requires target <=15s, <=50MB with width/height 300-6000px, aspect ratio 0.4-2.5, and frame pixels 409,600-2,086,876. `--video-model minimax-h3 --video` uses H3 feature/reference mode: up to 3 video references totaling <=15s, each <=50MB with width/height 256-5760px and aspect ratio 0.4-2.5. `--video-model google-omni --video` uses Gemini Omni direct video editing and accepts one reference video in Makaron. `--video-model grok --video --video-operation edit` accepts one MP4 up to 8.7s and caps output at 720p; `--video-operation extend` accepts one 2-15s MP4 and adds 2-10s.
|
|
412
|
+
Video edit model behavior: `--video-model kling-4 --video --video-operation edit` uses Kling 4.0 direct edit and preserves source audio (`kling-4-flash` does the same for a 3–20s source at 720p); `--video-model seedance-fast --video`, `--video-model seedance-mini --video`, or `--video-model seedance --video` uses the SeeDance video-reference path and requires target <=15s, <=50MB with width/height 300-6000px, aspect ratio 0.4-2.5, and frame pixels 409,600-2,086,876. `--video-model minimax-h3 --video` uses H3 feature/reference mode: up to 3 video references totaling <=15s, each <=50MB with width/height 256-5760px and aspect ratio 0.4-2.5. `--video-model google-omni --video` uses Gemini Omni direct video editing and accepts one reference video in Makaron. `--video-model grok --video --video-operation edit` accepts one MP4 up to 8.7s and caps output at 720p; `--video-operation extend` accepts one 2-15s MP4 and adds 2-10s.
|
|
412
413
|
|
|
413
414
|
### `music` — Music generation
|
|
414
415
|
|