makaron-cli 0.17.4 → 0.17.5

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.17.4",
3
+ "version": "0.17.5",
4
4
  "description": "Give Claude Code a creative agent. Pass complete creative requests and source media to Makaron Chat.",
5
5
  "author": {
6
6
  "name": "Versa AI",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "makaron-cli",
3
- "version": "0.17.4",
3
+ "version": "0.17.5",
4
4
  "description": "Give Codex a creative agent. Pass complete creative requests and source media to Makaron Chat.",
5
5
  "author": {
6
6
  "name": "Versa AI",
package/README.md CHANGED
@@ -472,7 +472,9 @@ For project/timeline video editing, use:
472
472
  npx makaron-cli chat --project <id|auto> --video input.mp4 -b "make it funny"
473
473
  ```
474
474
 
475
- 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|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 supports 5-15s. 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.
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. `kling-4-flash` is unavailable: no verified independent callable API or price; never silently substitute the standard model.
476
+
477
+ 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|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 supports 5-15s. 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.
476
478
 
477
479
  fal H3 Turbo: use `--video-model minimax-h3-max` for faster-than-real-time generation. It supports exactly 5/10/15 seconds at 480p/768p and defaults to native 768p, with no image for T2V or exactly one `--image` for I2V. It does not accept reference video/audio or multiple images.
478
480
 
package/bin/makaron.mjs CHANGED
@@ -2006,12 +2006,12 @@ Inputs:
2006
2006
 
2007
2007
  Generation options:
2008
2008
  --video-model <id> seedance-fast, seedance-mini, seedance, seedance-2.5,
2009
- wan-3.0, wan-3.0-prime, kling, grok, google-omni,
2009
+ wan-3.0, wan-3.0-prime, kling, kling-4, grok, google-omni,
2010
2010
  minimax-h3, minimax-h3-max, fal-h3-max, or sync-lipsync-v3.
2011
2011
  --duration <seconds> Output duration supported by the selected model.
2012
2012
  --video-resolution <res> auto, 480p, 720p, 768p, 1080p, 2k, or 4k.
2013
2013
  --aspect <ratio> 9:16, 16:9, 1:1, or another supported ratio.
2014
- --video-operation <mode> generate, edit, or extend (Seedance 2.5 / Grok).
2014
+ --video-operation <mode> generate, edit, or extend (Seedance 2.5 / Grok); Kling 4 supports generate/edit.
2015
2015
  --extend-direction <dir> forward or backward.
2016
2016
  --output-format <format> mp4 or mov.
2017
2017
  --generated-audio Ask the provider to generate audio.
@@ -2022,6 +2022,8 @@ Generation options:
2022
2022
  --help, -h Show this help.
2023
2023
 
2024
2024
  Recent model choices:
2025
+ kling-4 Kling 4.0 standard: native text/image/video references, 3–30s, 720p/1080p.
2026
+ Native edit preserves source audio; default for video retake.
2025
2027
  fal-h3-max FAL H3 Max (default, 768p) reference-to-video: images, videos and audio;
2026
2028
  integer 5–15s, 480p/768p/1080p, default 768p. Reference inputs cost extra.
2027
2029
  minimax-h3-max fal H3 Turbo faster-than-real-time T2V or one-start-image I2V;
@@ -2113,7 +2115,7 @@ Commands:
2113
2115
 
2114
2116
  edit [--image <file>] "prompt" Image edit, text-to-image, or transparent PNG
2115
2117
  analyze --video <file|url> Analyze video content
2116
- video script|create|retake|status H3 Max, Wan, Seedance, Grok, lip-sync; interval retake
2118
+ video script|create|retake|status H3 Max, Wan, Seedance, Grok, lip-sync, Kling 4; interval retake
2117
2119
  music create|status Music generation
2118
2120
 
2119
2121
  admin Admin commands (skills, credits, upload, set-admin)
@@ -2266,7 +2268,7 @@ Not sure which built-in skill to use? Start with:
2266
2268
  } else if (topic === 'video') {
2267
2269
  if (subtopic === 'script') console.log('Usage: makaron video script --image <file> [--image <file>] [--lang en|zh] "direction"');
2268
2270
  else if (subtopic === 'create') printVideoCreateHelp();
2269
- 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] [--project <id>] [--wait] [--json] [--request-id <uuid>] [--audio-mode original|generated]');
2271
+ 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] [--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.');
2270
2272
  else if (subtopic === 'status') console.log('Usage: makaron video status <taskId> | --snapshot <snapshotId> [--wait]');
2271
2273
  else printVideoHelp();
2272
2274
  } else if (topic === 'music') {
@@ -3164,7 +3166,7 @@ if (!command || command === '--help' || command === '-h' || command === 'help')
3164
3166
  if (text) console.log(text);
3165
3167
 
3166
3168
  } else if (sub === 'retake') {
3167
- const params = { model: 'fal-h3-max' };
3169
+ const params = { model: 'kling-4' };
3168
3170
  let wait = false, json = false;
3169
3171
  for (let i = 2; i < args.length; i++) {
3170
3172
  const flag = args[i];
@@ -3178,12 +3180,12 @@ if (!command || command === '--help' || command === '-h' || command === 'help')
3178
3180
  else if ((flag === '--model' || flag === '--video-model') && args[i + 1]) params.model = args[++i];
3179
3181
  else if (flag === '--project' && args[i + 1]) params.project_id = args[++i];
3180
3182
  else if (flag === '--request-id' && args[i + 1]) params.request_id = args[++i];
3181
- 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] [--project <id>] [--wait] [--json] [--request-id <uuid>] [--audio-mode original|generated]'); process.exit(1); }
3183
+ 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] [--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); }
3182
3184
  }
3183
3185
  if (!params.video_url || !params.prompt || !Number.isFinite(params.start) || !Number.isFinite(params.end)
3184
3186
  || params.start < 0 || params.end - params.start < .1 || params.end - params.start > 15
3185
3187
  || (params.audio_mode && !['original','generated'].includes(params.audio_mode))
3186
- || !['seedance-2.5-eco', 'seedance-2.5', 'fal-h3-max'].includes(params.model)) {
3188
+ || !['seedance-2.5-eco', 'seedance-2.5', 'fal-h3-max', 'kling-4'].includes(params.model)) {
3187
3189
  console.error('Retake needs one video, a prompt, a valid 0.1–15 second interval, and a supported model.'); process.exit(1);
3188
3190
  }
3189
3191
  if (!isHttpUrl(params.video_url)) {
@@ -3259,11 +3261,14 @@ if (!command || command === '--help' || command === '-h' || command === 'help')
3259
3261
  const isGrok = selectedVideoModel === 'grok';
3260
3262
  const isGoogleOmni = selectedVideoModel === 'google-omni';
3261
3263
  const isSyncLipsync = selectedVideoModel === 'sync-lipsync-v3';
3262
- const supportsNativeTextToVideo = isSeedanceModel || isWan30 || isMinimaxH3 || isFalH3Max || isFalReference || isGrok || isGoogleOmni;
3264
+ const isKling4 = selectedVideoModel === 'kling-4';
3265
+ const supportsNativeTextToVideo = selectedVideoModel === 'kling-4' || selectedVideoModel === 'kling-4-flash' || isSeedanceModel || isWan30 || isMinimaxH3 || isFalH3Max || isFalReference || isGrok || isGoogleOmni;
3263
3266
  if (!script || (!images.length && !videos.length && !audios.length && !referenceVoices.length && !supportsNativeTextToVideo)) {
3264
3267
  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]');
3265
3268
  process.exit(1);
3266
3269
  }
3270
+ if (isKling4 && (images.length > 10 || videos.length > 5 || audios.length)) { console.error('Kling 4.0 accepts at most 10 images and 5 videos, with no audio references.'); process.exit(1); }
3271
+ if (isKling4 && duration != null && (!Number.isInteger(duration) || duration < 3 || duration > 30)) { console.error('Kling 4.0 output duration must be an integer from 3 to 30 seconds.'); process.exit(1); }
3267
3272
  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); }
3268
3273
  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); }
3269
3274
  if (isSeedance25 && images.length > 30) { console.error('Seedance 2.5 supports at most 30 image references.'); process.exit(1); }
@@ -3302,7 +3307,8 @@ if (!command || command === '--help' || command === '-h' || command === 'help')
3302
3307
  let providerMaxDuration = isSeedance25 ? SEEDANCE25_MAX_VIDEO_REFERENCE_DURATION : MAX_VIDEO_PROVIDER_REFERENCE_DURATION;
3303
3308
  if (isGrok) providerMaxDuration = inferredOperation === 'edit' ? 8.7 : 15;
3304
3309
  if (isSyncLipsync) providerMaxDuration = 60;
3305
- const providerMaxPixels = isSyncLipsync || isMinimaxH3 || isWan30 ? Infinity : isSeedance25 ? SEEDANCE25_MAX_VIDEO_FRAME_PIXELS : MAX_VIDEO_FRAME_PIXELS;
3310
+ if (isKling4) providerMaxDuration = 30;
3311
+ const providerMaxPixels = isSyncLipsync || isMinimaxH3 || isWan30 || isKling4 ? Infinity : isSeedance25 ? SEEDANCE25_MAX_VIDEO_FRAME_PIXELS : MAX_VIDEO_FRAME_PIXELS;
3306
3312
  const localImages = images.filter(image => !isHttpUrl(image));
3307
3313
  if (localImages.length) {
3308
3314
  const uploadedImages = await uploadImageFilesViaSignedUrl(baseUrl, headers, undefined, localImages);
@@ -3317,8 +3323,10 @@ if (!command || command === '--help' || command === '-h' || command === 'help')
3317
3323
  maxDuration: providerMaxDuration,
3318
3324
  durationTolerance: MAX_VIDEO_PROVIDER_REFERENCE_DURATION_TOLERANCE,
3319
3325
  maxFramePixels: providerMaxPixels,
3320
- maxFileSize: isWan30 ? MULEROUTER_WAN_MAX_VIDEO_FILE_SIZE : isSeedance25 || isSyncLipsync ? 200 * 1024 * 1024 : MAX_VIDEO_UPLOAD_FILE_SIZE,
3321
- ...(isGrok ? {
3326
+ maxFileSize: isWan30 ? MULEROUTER_WAN_MAX_VIDEO_FILE_SIZE : isSeedance25 || isSyncLipsync || isKling4 ? 200 * 1024 * 1024 : MAX_VIDEO_UPLOAD_FILE_SIZE,
3327
+ ...(isKling4 ? {
3328
+ allowedExtensions: ['mp4', 'mov'], minSide: 720, maxSide: 2160,
3329
+ } : isGrok ? {
3322
3330
  allowedExtensions: ['mp4'],
3323
3331
  } : selectedVideoModel === 'minimax-h3' ? {
3324
3332
  allowedExtensions: ['mp4', 'mov'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "makaron-cli",
3
- "version": "0.17.4",
3
+ "version": "0.17.5",
4
4
  "description": "Talk to Makaron Agent from the terminal — create projects, edit images, generate videos",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -388,7 +388,7 @@ Segment edits have two intents: modify changes the inside of the existing sequen
388
388
 
389
389
  Chat segment inspection also reads source speech through ASR, reusing cached transcripts. It returns selected speech with source/output timecodes separately from adjacent speech, so the edit can follow the retained narration. Original audio is the default; Chat may select `audio_mode: generated` for requested new sound inside the selection. ASR does not guarantee music-beat or lip synchronization, and unavailable/untimed speech is reported rather than assigned invented timings. Direct `video retake` uses the caller's completed prompt and does not perform Agent interpretation or ASR planning.
390
390
 
391
- `video retake` uses original-source seconds, accepts a 0.1–15s range in a source up to 120s, and automatically replaces only that range while preserving duration. Audio defaults to original; `--audio-mode generated` uses synchronized new audio inside the selection and source audio outside. Models: `fal-h3-max` (default), `seedance-2.5-eco` (preferred Seedance option), and explicitly selected native `seedance-2.5`. For sources shorter than 2 seconds, explicitly use Seedance. Local files require `--project`. Keep the root taskId and request ID; resume polling or replay the same request ID instead of paying for another generation.
391
+ `video retake` uses original-source seconds, accepts a 0.1–15s range in a source up to 120s, and automatically replaces only that range while preserving duration. Audio defaults to original; `--audio-mode generated` uses synchronized new audio inside the selection and source audio outside. Models: `kling-4` (default, source >=3s, original audio only), `fal-h3-max`, `seedance-2.5-eco` (preferred Seedance option), and explicitly selected native `seedance-2.5`. For sources shorter than 3 seconds, explicitly select a compatible model: H3 for sources >=2s or Seedance for shorter sources. Generated audio requires an explicitly selected H3 or Seedance model. Local files require `--project`. Keep the root taskId and request ID; resume polling or replay the same request ID instead of paying for another generation.
392
392
 
393
393
  `video create` returns a provider task id and does not create or update a Makaron project timeline. For project/timeline video editing, use:
394
394
 
@@ -396,7 +396,9 @@ Chat segment inspection also reads source speech through ASR, reusing cached tra
396
396
  npx makaron-cli chat --project <id|auto> --video input.mp4 -b "make it funny"
397
397
  ```
398
398
 
399
- 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|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 supports 5-15s. 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.
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. `kling-4-flash` is unavailable: no verified independent callable API or price; never silently substitute the standard model.
400
+
401
+ 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|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 supports 5-15s. 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.
400
402
 
401
403
  Provider integration contract: every image passed to video generation is a feature reference by default, even when there is exactly one image. Never infer image-to-video/first-frame mode from image count. The sole current exception is explicitly selected `minimax-h3-max`, whose declared capability maps exactly one selected image to native image-to-video; it does not accept reference video/audio or multiple images.
402
404