videodraft 0.40.0 → 0.41.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videodraft",
3
- "version": "0.40.0",
3
+ "version": "0.41.0",
4
4
  "description": "Official VideoDraft CLI for AI videos, images, audio and 3D assets. Agent-friendly: --json everywhere, stable exit codes, async job polling.",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/skills/index.json CHANGED
@@ -32,8 +32,8 @@
32
32
  },
33
33
  {
34
34
  "path": "references/models.md",
35
- "sha256": "70d958c7cf864d26059f086868ad1e36bc4e7e2c4f43d16bfbe57754fbf3f126",
36
- "bytes": 55590
35
+ "sha256": "e1db9886a51f6db9df98281f057f734f767eee20d7fefb2fb7135c941373aff3",
36
+ "bytes": 56763
37
37
  },
38
38
  {
39
39
  "path": "references/pipeline.md",
@@ -42,8 +42,8 @@
42
42
  },
43
43
  {
44
44
  "path": "SKILL.md",
45
- "sha256": "30ba613b2fe76481735013c2dc84a84dba7581cf12a08961e7417200f0748f61",
46
- "bytes": 61542
45
+ "sha256": "fb9b7b799dfb6a351a5e0b07f131ef2a850611fdc94fe5186a05525d54d8f3d2",
46
+ "bytes": 61951
47
47
  }
48
48
  ]
49
49
  }
@@ -108,12 +108,13 @@ Every `videodraft models image|video|audio --json` entry carries `tier` (1 or 2)
108
108
  - `minimax-h3-max`: 480p/768p (768p default), native audio, and 5-15s text, first/last-frame, or mixed-reference generation. Reference mode accepts up to 9 images, 3 videos, and 3 audio clips, with at most 12 files total, cited as `Image 1`, `Video 1`, and `Audio 1` in array order. It supports a reproducibility seed and `disabled` / `balanced` / `quality` prompt expansion.
109
109
  - `wan-3.0` (Tier 2): unified 2-30s text, first/last-frame, or ordered mixed-reference generation at 480p/720p/1080p, with optional native audio. Reference mode accepts up to 10 images, 5 videos, and 5 audio clips, at most 20 media files total; video and audio each total at most 15 seconds. `--auto-duration` reserves 30 seconds and reconciles to the provider-reported output length. Document/web references use `--file-url` or `--web-url` and require `--thinking`.
110
110
  - `seedance-2`: video/audio/mixed references, wider ratios, selectable audio, or 11-15s with both first and last frames. Duration alone up to 15s stays on Gemini Omni 1.2. `standard` is the default; use `mini` for a cheaper draft or `fast` for speed (both are 480p/720p only).
111
+ - `seedance-2.5-flash`: separate model, not a quality setting. 4-30s or `--auto-duration`, 480p/720p, first/last frames or up to 10 images + 5 videos + 5 audio references (20 total). Audio-only references work. One Atlas-based platform credit rate, BytePlus then Atlas Cloud only; Fal is BYOK only. Use `--estimate` for current pricing and `--ref-video-seconds` when estimating video references.
111
112
  - `seedance-2.5`: 4-30s single takes and up to 50 references (30 image, 10 video, 10 audio). Same modes as 2.0, one quality tier, 480p/720p/1080p. Reach for it when a shot must run past 15s or carry more references than 2.0 allows.
112
113
  - `kling-4.0` is the preferred Kling, after Gemini and Seedance (details below). `kling-o3`: reference images plus structured image/video elements, first/last frames, multi-prompt, audio control, or 4K. O3 allows 7 combined image references and image-backed elements, reduced to 4 combined items when a video-backed element is present. `kling-3.0`: image-to-video can use structured image/video elements and bind a custom Kling voice ID to either element form. Tier 2, by name: `kling-v3-turbo` (fast polished 3-15s with first frame, multi-prompt, and audio, but no elements) and Kling 2.6 Pro (top-level voice IDs cited as `<<<voice_1>>>` and `<<<voice_2>>>`).
113
114
  - Existing-video edits use `videodraft edit video`, not generic generation. `gemini-omni-1.2-flash` is the preferred edit model and is chosen automatically when you omit `--model`: source from 3 to 15s, up to 2 reference images on Google, 360p/720p/1080p/4K with audio. Creative `--ref-video` inputs are NOT accepted on an edit, because an edit takes exactly one input video; use `generate video --video-task generate` to guide a new clip with video references instead. Omitting `--model` on a longer or unmeasurable source spends nothing and prints a priced menu (what each model edits, what it drops, what it costs) so you can put the choice to the user. **Truncation:** Gemini (15s), `kling-4.0-video-edit` (30s) and `kling-4.0-flash-video-edit` (20s) refuse an over-length source. Happy Horse silently edits just the first 15s, Kling O3 the first 10s, and Grok the first 8s. The command warns you when that will happen; always relay it to the user. `kling-4.0-video-edit` (Tier 2) can edit a whole source longer than 15s and up to 30s, so the priced menu offers it for long sources. Gemini regenerates the audio track, so use Happy Horse or Kling O3 with `--preserve-audio` when the source audio must survive. Choose Grok for the cheapest prompt-only edit, Happy Horse for up to 5 image references, or Kling O3 for controlled reference-image edits.
114
115
  - To edit a source longer than 15s without losing its tail, cut it into <=15s pieces in the selected editing app (`videodraft_editor` by default), edit each with Gemini, and reassemble in that app. VideoDraft has no server-side split/concat, so this path needs a local editing route.
115
116
  - Kling O3 also has a reference-generation mode. Use `videodraft generate video --model kling-o3-video-ref-edit` with exactly one `--ref-video` to generate a new guided clip; use `videodraft edit video` when changing the source itself. For new mixed-reference generation use Seedance 2 / 2.5.
116
- - Motion transfer uses `videodraft edit motion` with Kling V3 by default, or Kling 2.6 when explicitly requested or lower cost matters. It requires a subject image and a motion-reference video. For native Higgsfield, choose `--model genjutsu` or `--model genjutsu-light`: one source MP4 (4–30s or 4–15s), 1–8 ordered images (the positional subject plus repeatable `--ref`), optional prompt, and `--resolution 480p|720p|1080p` (default 720p). No quality/orientation/Element/audio/seed controls. Trim longer sources first. `--duration` is estimate-only. Light bills fractional source seconds plus rounded-up output seconds; unused output time is refunded. Runs on VideoDraft credits or a selected Higgsfield API key only.
117
+ - Motion transfer uses `videodraft edit motion` with Kling V3 by default, or Kling 2.6 when explicitly requested or lower cost matters. It requires a subject image and a motion-reference video. For native Higgsfield, choose `--model genjutsu` or `--model genjutsu-light`: one source MP4 (4–30s or 4–15s), 1–8 ordered images (the positional subject plus repeatable `--ref`), optional prompt, and `--resolution 480p|720p|1080p` (default 720p). No quality/orientation/Element/audio/seed controls. Trim longer sources first. `--duration` is estimate-only. Light bills output seconds only; the reservation uses rounded-up source length and unused output time is refunded. Runs on VideoDraft credits or a selected Higgsfield API key only.
117
118
  - `kling-4.0` (Tier 1, the preferred Kling; Kling 3.0 and O3 keep 4K): Kling's newest model, with three modes like Kling O3. Text mode; image-to-video from `--start-image` with an optional `--end-image` (framing follows the image, so no `--ar`); or reference mode, chosen when you add `--ref`, `--ref-video` or `--element`, with an optional `--start-image` (no end frame), up to 10 images, 5 `--ref-video` clips and 7 `--element` entries (3 with voice, 3 video), cited as @Image1, @Video1, @Element1. 3-30s, 720p/1080p, multi-shot `--segment` up to 30s in total, audio always on; no seed or negative prompt. Reference and element videos are billed by their length plus the output, at least twice the output; quote with `videodraft costs kling-4.0 --type video --duration 10 --ref-video-seconds 6`.
118
119
  - `kling-4.0-video-edit` (Tier 2, by name or for a long source): `videodraft edit video <source> "<prompt citing @Video1>" --model kling-4.0-video-edit` edits a whole 3-30s source with up to 10 `--ref` images and 7 image-only `--element` entries, 720p/1080p. The output matches the source unless you pass `--duration` (3-30). It bills the source plus the output, at least twice the output, and cannot keep the source audio; quote with `videodraft costs kling-4.0-video-edit --type video --ref-video-seconds <source seconds>`.
119
120
  - `kling-4.0-flash` (Tier 2, by name): the faster, cheaper 720p tier of Kling 4.0, with the same three modes and inputs. Text mode; image-to-video from `--start-image` alone (no `--end-image`); or reference mode with an optional `--start-image`, up to 10 images, 5 `--ref-video` clips of 3-20s and 7 `--element` entries (up to 3 video-backed, 3-8s each; no `voice_id`), cited as @Image1, @Video1, @Element1. Reference and element videos share 5 clips and 20s; 15 inputs in total. 3-20s, 720p only, one prompt (no `--segment`), audio always on. It costs less per second than Kling 4.0 and bills reference and element videos the same way; quote with `videodraft costs kling-4.0-flash --type video --duration 10 --ref-video-seconds 6`. Use `kling-4.0` for multi-shot, an end frame, voices, 1080p or more than 20s.
@@ -74,6 +74,7 @@ videodraft generate image 'A blue glass bird flapping its wings, seamless loop'
74
74
  | T1: Fast video and timed keyframes, before H3 Max | `flux-3-max` | 5-20s, default 5s; 720p/1080p; optional audio; first/last frames or up to 10 keyframes; High/Low reasoning (`--reasoning-level`), `--seed`; no Draft or auto duration |
75
75
  | T1: Text, first/last-frame, or mixed-reference video with native audio and stronger prompt adherence | `minimax-h3-max` | 5-15s; 480p/768p plus pooled reference tokens; up to 9 image, 3 video, 3 audio refs, 12 files total; seed and disabled/balanced/quality prompt expansion; provider safety checker off by default |
76
76
  | T1: Video/audio references, mixed reference media, broad aspect ratios, first+last frames over 10s | `seedance-2` | 4-15s or auto; up to 9 image, 3 video, and 3 audio refs; audio toggle; Mini/Fast are 480p/720p only |
77
+ | T2: Faster Seedance, when requested | `seedance-2.5-flash` | Separate model; 4-30s or auto, 480p/720p, first/last frames, 10 image + 5 video + 5 audio references (20 total). Audio-only references supported. No quality tiers or Draft mode. |
77
78
  | T1: Single takes past 15s, or more references than Seedance 2.0 allows | `seedance-2.5` | 4-30s or auto; up to 30 image, 10 video, and 10 audio refs (50 files total); one quality tier; 480p/720p/1080p |
78
79
  | T2: Fast polished 3-15s video with first frame, multi-prompt, and native audio | `kling-v3-turbo` | Audio always on; Pro default; no end frame, reference-media mode, or elements |
79
80
  | T1: Preferred Kling: 3-30s text, start/end-frame or reference video with voiced elements, no 4K | `kling-4.0` | 3-30s, 720p/1080p, audio on; text, image-to-video (start + optional end frame) or reference mode (optional start image, 10 images, 5 videos, 7 elements: 3 voiced, 3 video; 15 total); cite @Image1, @Video1, @Element1; no seed |
@@ -274,4 +275,10 @@ MCP uses `generate_motion_control_video` with `model`, `motion_video_url`, `refe
274
275
 
275
276
  No provider settings exist for duration, aspect ratio, seed, FPS, quality tier, orientation, Elements, or audio toggles. Existing Kling flags remain Kling-only. Output follows source motion; Motion Transfer can rebuild the scene rather than preserving every background detail. Both modes use Higgsfield directly; unsupported personal-provider selection returns an error without switching payer.
276
277
 
277
- GenJutsu bills each rounded-up source second, priced by resolution. Light bills billable seconds: fractional source seconds plus rounded-up output seconds. Quote with `videodraft costs` or `--estimate`; `get_model_costs` and `--estimate` take the source duration. The server measures the source and rounds the total credit charge up once; Light refunds unused output time. No promotional discount is assumed.
278
+ GenJutsu bills each rounded-up source second, priced by resolution. Light bills output seconds only, rounded up to whole seconds. Quote with `videodraft costs` or `--estimate`; `get_model_costs` and `--estimate` take the source duration. The server measures the source and rounds the total credit charge up once; Light refunds unused output time. No promotional discount is assumed.
279
+
280
+ ### Seedance 2.5 Flash billing and routing
281
+
282
+ `--model seedance-2.5-flash` selects a separate model. VideoDraft credits run BytePlus first, then Atlas Cloud, and stop if both cannot serve the request. There is no platform Fal, Pika, or Higgsfield fallback. A selected Fal key runs on that key exclusively and spends zero VideoDraft credits.
283
+
284
+ Use `generate video --model seedance-2.5-flash --estimate` for current credits. Output-only prices follow the active Atlas-based tariff, including its configured promotion expiry. Reference videos count input plus output seconds, with a minimum billed duration, so pass `--ref-video-seconds` for a reference estimate. Auto duration reserves 30 output seconds and reconciles unused duration at the original rate. Do not supply `--quality`, 1080p, or 4K.