videodraft 0.29.0 → 0.31.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.29.0",
3
+ "version": "0.31.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
@@ -12,8 +12,8 @@
12
12
  },
13
13
  {
14
14
  "path": "references/editor.md",
15
- "sha256": "e35a86088e211d22521325245aa848b18eceef6952d8bbdae6fdc8c2269833c0",
16
- "bytes": 25381
15
+ "sha256": "82f1f972191430a4f44f28384cd3688c1553c744fcc5316c2798a400bff9d9be",
16
+ "bytes": 29579
17
17
  },
18
18
  {
19
19
  "path": "references/examples.md",
@@ -22,8 +22,8 @@
22
22
  },
23
23
  {
24
24
  "path": "references/models.md",
25
- "sha256": "db80a37e3a4cea0df38a8ace4b99654e74cc6c4ebd6c768abc1c5c3592511677",
26
- "bytes": 46719
25
+ "sha256": "4f5e24ffaa6cd304dcfacd742158e98ffd50538ceecfdcc07137a5beefb780f2",
26
+ "bytes": 51198
27
27
  },
28
28
  {
29
29
  "path": "references/pipeline.md",
@@ -32,8 +32,8 @@
32
32
  },
33
33
  {
34
34
  "path": "SKILL.md",
35
- "sha256": "dfa55654d56a522d7a52c3364de21bbc179689a838abeae30108b8576921dfdd",
36
- "bytes": 49955
35
+ "sha256": "f9e9bfa452230d3f52a729e46debe73217583bd82da4ba8ee4c7d7ca5ece53ce",
36
+ "bytes": 54281
37
37
  }
38
38
  ]
39
39
  }
@@ -24,7 +24,7 @@ provider error. Keep the canonical VideoDraft model ID in CLI/MCP calls. Poll
24
24
  the original generation after a timeout instead of starting another paid job.
25
25
  New provider connections can support only a subset of models and settings;
26
26
  follow the server's availability response. ElevenLabs remains audio-only.
27
- For Pika GPT Image 2.5, supply an explicit quality (`low`, `medium`, `high`,
27
+ For Pika GPT Image 2.6, supply an explicit quality (`low`, `medium`, `high`,
28
28
  `xhigh`, or `max`); `auto` is not supported by that connection. Nano Banana 2
29
29
  Lite is 1K only. Never remove requested controls or substitute a different
30
30
  model merely to make a personal connection accept the job.
@@ -80,7 +80,7 @@ Seedance 2.0 and 2.5 have no real-people option, including for hosted `full_vide
80
80
  2. Otherwise pick a **Tier 1** model.
81
81
  3. Use a **Tier 2** model only when no Tier 1 model supports the request, and say why. Never pick Tier 2 on your own for price, speed, novelty or variety.
82
82
 
83
- Tier 1: images `nano-banana-2.1`, `nano-banana-2`, `nano-banana-pro`, `nano-banana-2-lite`, `gpt-image-2.5-flare`, `gpt-image-2.5-sunburst`, and `recraft-v4` for vector/SVG only; videos `gemini-omni-1.1-flash`, `seedance-2.5`, `seedance-2`, `kling-3.0`, `kling-o3`, `flux-3-max`, `minimax-h3-max`; video edits `gemini-omni-1.1-flash`; talking-head portraits `veed-fabric`, `minimax-h3-max-lipsync`; motion transfer `kling-v3-motion-control`; audio ElevenLabs for speech tools, Lyria 3.5 for music at any length.
83
+ Tier 1: images `nano-banana-2.1`, `nano-banana-2`, `nano-banana-pro`, `nano-banana-2-lite`, `gpt-image-2.6-flare`, `gpt-image-2.6-sunburst`, and `recraft-v4` for vector/SVG only; videos `gemini-omni-1.1-flash`, `seedance-2.5`, `seedance-2`, `kling-4.0`, `kling-3.0`, `kling-o3`, `flux-3-max`, `minimax-h3-max`; video edits `gemini-omni-1.1-flash`; talking-head portraits `veed-fabric`, `minimax-h3-max-lipsync`; motion transfer `kling-v3-motion-control`; audio ElevenLabs for speech tools, Lyria 3.5 for music at any length.
84
84
 
85
85
  Tier 2 is every other catalog model (`wan-3.0`, `flux-3-image`, `minimax-h3`, `kling-v3-turbo`, `kling-2.6-pro`, `grok-imagine-video-1.5`, `happy-horse`, Veo 3.1, Seedream, Grok Imagine images, FLUX images, `sync-lipsync-2` and the rest). All of them stay available by name. Real Tier 2-only jobs: document or web-page references (`wan-3.0`), re-syncing existing footage (`sync-lipsync-2`).
86
86
 
@@ -93,7 +93,7 @@ Every `videodraft models image|video|audio --json` entry carries `tier` (1 or 2)
93
93
  - `nano-banana-2.1`: general default, editing, text, consistency, and references. Add `--thinking-level medium` or `high` for complex layouts, infographics or dense text.
94
94
  - `nano-banana-2`: the previous default; use it when temperature control is wanted.
95
95
  - `nano-banana-pro`: maximum quality. `nano-banana-2-lite`: fast, inexpensive drafts.
96
- - `gpt-image-2.5-flare`: replaces the GPT Image 2 recommendation for posters, logos, signs, title cards, readable text and composition. Use `gpt-image-2.5-sunburst` for extra precision/detail. Both use the same basic options as GPT Image 2: references (up to 16), aspect ratio, 1K/2K/4K resolution, image count (1-4), and quality. Quality adds xhigh/max; auto is charged at the max tier. Other model recommendations are unchanged; explicit `gpt-image-2` requests still use GPT Image 2.
96
+ - `gpt-image-2.6-flare`: fast everyday generation and editing, and the pick for posters, logos, signs, title cards, readable text and precise composition. Use `gpt-image-2.6-sunburst` when extra precision, fine detail or edit consistency matters (it takes longer). GPT Image 2.6 replaces 2.5, so always pass a 2.6 id. Both use the same basic options as GPT Image 2: references (up to 16), aspect ratio, 1K/2K/4K resolution, image count (1-4), and quality, with PNG output and no seed. Quality adds xhigh/max; auto is charged at the max tier, so pass `--quality high` for a cheaper render (low and medium are only modestly cheaper than high). Other model recommendations are unchanged; explicit `gpt-image-2` requests still use GPT Image 2.
97
97
 
98
98
  **Videos:**
99
99
 
@@ -105,11 +105,13 @@ Every `videodraft models image|video|audio --json` entry carries `tier` (1 or 2)
105
105
  - `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`.
106
106
  - `seedance-2`: 11-15s, video/audio/mixed references, wider ratios, selectable audio, or first/last frames. `standard` is the default; use `mini` for a cheaper draft or `fast` for speed (both are 480p/720p only).
107
107
  - `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.
108
- - `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>>>`).
109
- - Existing-video edits use `videodraft edit video`, not generic generation. `gemini-omni-1.1-flash` is the preferred edit model and is chosen automatically when you omit `--model`: source up to 10s, up to 10 reference images, 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:** only Gemini refuses 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. 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.
108
+ - `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>>>`).
109
+ - Existing-video edits use `videodraft edit video`, not generic generation. `gemini-omni-1.1-flash` is the preferred edit model and is chosen automatically when you omit `--model`: source up to 10s, up to 10 reference images, 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 (10s) and `kling-4.0-video-edit` (30s) 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) is the only model that edits a whole 10-30s source, 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.
110
110
  - To edit a source longer than 10s without losing its tail, cut it into <=10s 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.
111
111
  - 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.
112
- - 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.
112
+ - 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.
113
+ - `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`.
114
+ - `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>`.
113
115
  - Veo 3.1, Grok Video 1.5, Happy Horse and the other Tier 2 video models: only when explicitly requested or when no Tier 1 model fits.
114
116
 
115
117
  **Audio and utilities:**
@@ -146,6 +148,16 @@ Kling 3.0 / 2.5 Pro accept `--cfg-scale 0..1` and `--negative ""` to clear a neg
146
148
 
147
149
  Topaz image results may be immediate or queued. The CLI waits by default and downloads either result with `--download`; `--no-wait` returns a queued job ID. Raw MCP callers must poll `check_generation_status` when `upscale_image` returns `job_id`.
148
150
 
151
+ ## Remove image or video backgrounds
152
+
153
+ Use `videodraft remove-background image <url|file>` for a transparent PNG with Pixelcut, or `videodraft remove-background video <url|file>` for transparent VP9 WebM with VEED Fast. These preserve the existing subject and require no prompt. Local files upload automatically. Both commands wait by default and accept `--download`, `--no-wait`, `--session`, and `--idempotency-key <uuid>`. Keep `.png` / `.webm` extensions; do not name the video `.mp4`.
154
+
155
+ Video defaults to `--subject person` with refined edges. Use `--subject object` for products/animals, or `--no-refine-edges` for a cheaper pass. Video sources must be VideoDraft-hosted MP4/MOV, at most 100 MB, 5 minutes and 120 fps. Images support original public URLs up to 50 MB. Never send a thumbnail. Quote current pricing with `remove-background video clip.mp4 --estimate`; the server reads actual frames. `--max-credits <n>` caps the authorized charge; `0` requires BYOK.
156
+
157
+ Raw MCP tools are `remove_image_background` and `remove_video_background`; poll `check_generation_status` with their `job_id`. `get_model_costs` accepts `model_id: "pixelcut-background-removal"` or `"veed-background-removal"`, plus `source_url` for an exact quote (required for video) and optional `refine_edges`. Supply `max_credits` from the quote. These tools support VideoDraft credits or Fal BYOK only. After an uncertain submission, poll its job ID or reuse the same idempotency key; never start another paid job to recover a lost response.
158
+
159
+ For an existing native-editor clip, follow the guarded [background-removal handoff](references/editor.md#background-removal-handoff): prepare the original source, process it through the CLI/MCP, import the transparent result, then apply it while keeping the original linked sound. PNG works directly; VP9 WebM requires an alpha-preserving MOV conversion and verification before import. Check conversion availability before spending credits.
160
+
149
161
  ## Prefer references when continuity matters
150
162
 
151
163
  Pure text-to-image or text-to-video is fine for a generic one-off asset. When a specific character, product, location, style, composition, or brand identity must survive generation, use references instead of hoping the prompt recreates it.
@@ -164,6 +164,69 @@ For a batch of local outputs, download them into one workspace directory and imp
164
164
 
165
165
  To apply a LUT, first store it with `library_manage` `prepare_look` (`parameters.path` to a `.cube` file), then use the returned `storedPath` in a `grade` action.
166
166
 
167
+ ## Background-removal handoff
168
+
169
+ Keep paid processing in the VideoDraft CLI or cloud MCP. The editor's
170
+ `library_manage` operation `background_removal`, when present in the live schema,
171
+ connects an existing clip to that workflow without replacing its linked sound.
172
+ It does not generate, upload, quote or charge. Older editors without this operation
173
+ can keep the completed asset for later; do not claim the guarded handoff is available.
174
+
175
+ 1. Read the selection if the user means an existing clip. Call `library_manage`
176
+ with `operation: "background_removal"` and `parameters: {"action":"prepare",
177
+ "clipId":"…"}`. Keep its `sourceToken` and use `source.path`, the original
178
+ full file. Do not send a thumbnail, a composited timeline frame, or a trimmed
179
+ excerpt. Video limits apply to the whole source, even if the timeline uses only
180
+ a small part of it. This handoff currently requires a result of the same full
181
+ source duration and aspect ratio.
182
+ 2. Check the removal tool exists before any paid submission. In VideoDraft ADE, use the
183
+ exact app-bundled CLI from the session instructions. A pre-release CLI may lack
184
+ `remove-background`; do not install or substitute another CLI. Its generic
185
+ `tools schema remove_image_background` / `remove_video_background` and `call`
186
+ can reach these tools once the server deploys them. If the server also lacks
187
+ the tool, keep the edit unchanged and explain that the release is pending.
188
+ Generic `call` takes a public URL, not a local path: use `upload` first and
189
+ retain that exact uploaded URL with the operation UUID for every retry.
190
+ 3. Quote the actual source and settings, then submit with `max_credits` (CLI
191
+ `--max-credits`) and a retained UUID idempotency key. Images return transparent
192
+ PNG; video returns VP9 WebM with alpha. A timeout is a status check or a retry
193
+ of the same operation, never a second paid submission.
194
+ 4. PNG imports directly. The native editor cannot decode WebM. Before charging
195
+ for a video intended for this editor, establish that an existing FFmpeg with
196
+ the `libvpx-vp9` decoder and `prores_ks` encoder is available. When VideoDraft ADE's runtime
197
+ discovery is exposed, its installed FFmpeg may be used by absolute path. If
198
+ none is available, explain that video conversion needs setup; never silently
199
+ install a runtime or flatten the output. Keep the original WebM under `media/`.
200
+ Convert a separate MOV with the explicit `libvpx-vp9` input decoder; FFmpeg's
201
+ other VP9 decoder can discard alpha. For constant-frame-rate output, use the
202
+ measured output frame rate, not an assumed 30 fps:
203
+
204
+ ```sh
205
+ /absolute/path/to/ffmpeg -nostdin -n -c:v libvpx-vp9 -i media/cutout.webm \
206
+ -map 0:v:0 -an -vf 'setpts=PTS-STARTPTS' -r <measured-output-fps> \
207
+ -fps_mode cfr -c:v prores_ks -profile:v 4 -pix_fmt yuva444p10le \
208
+ media/cutout-alpha.mov
209
+ ```
210
+
211
+ This MOV intentionally has no sound; applying it keeps the clip's original
212
+ linked audio. Check frame count, duration, dimensions and alpha before import.
213
+ Do not use H.264, rename `.webm` to `.mov`, assume a codec's alpha capability
214
+ proves the particular output retains transparency, or overwrite the WebM.
215
+ For variable-rate output, use a timestamp-preserving conversion and verify
216
+ its last-frame duration; do not force the example's constant-rate path.
217
+ ProRes intermediates can be much larger than the WebM, so check disk space.
218
+ 5. Import the PNG/MOV with `library_manage import` and wait for its asset to
219
+ become ready. Call `library_manage` `background_removal` with
220
+ `parameters: {"action":"apply","clipId":"…","sourceToken":"…",
221
+ "assetId":"…"}`. It verifies transparency and source identity, preserves
222
+ the cut and original linked sound, and makes one undoable replacement.
223
+ An edited clip or changed source refuses the old token. Review the existing
224
+ result and prepare again; do not regenerate automatically.
225
+ 6. Inspect frames against a contrasting background and verify the final export.
226
+ A plain MP4 cannot carry alpha; a composited export should show the intended
227
+ background through the cutout. Original media and the returned cutout stay
228
+ available after Undo.
229
+
167
230
  ## Speech edits
168
231
 
169
232
  `speech_apply` runs speech work as separate operations, not recipe actions: `words` removes transcript words, `silence` trims dead air, and `captions` generates styled captions. Read a fresh transcript with `inspect` `transcript` after any speech edit, because word positions change.
@@ -28,8 +28,8 @@ Tier 1 is the rows marked **T1** below. Every other catalog model is Tier 2 and
28
28
  | T1: Previous default, or when temperature control is wanted | `nano-banana-2` | 1K/2K/4K and up to 14 reference images; temperature 0-2 |
29
29
  | T1: Highest-quality complex generation or reasoning | `nano-banana-pro` | Premium Nano Banana quality and reasoning |
30
30
  | T1: Fast, inexpensive drafts and iteration | `nano-banana-2-lite` | Fastest/cheapest Nano Banana option; 1K only, up to 14 references |
31
- | T1: Posters, title cards, signs, logos, or any image with important readable text | `gpt-image-2.5-flare` | Fast OpenAI option; 16 references, 1K/2K/4K and PNG output |
32
- | T1: Complex multi-image composition, precise editing, or a strong alternate interpretation | `gpt-image-2.5-sunburst` | More fidelity/detail; 16 references, quality through max |
31
+ | T1: Posters, title cards, signs, logos, or any image with important readable text | `gpt-image-2.6-flare` | Fast OpenAI everyday generation/editing; 16 refs, 1K/2K/4K, PNG |
32
+ | T1: Complex multi-image composition, precise editing, or a strong alternate interpretation | `gpt-image-2.6-sunburst` | More precision, fine detail, edit consistency; slower; 16 refs |
33
33
  | T1: Vector / SVG output (logos, icons, illustrations that must scale) | `recraft-v4` | Recraft V4.1 text-to-vector; SVG only, no reference images |
34
34
  | T2: xAI at 2K or with a quality tier, up to 3 edit references | `grok-imagine-2.0` | 1K/2K, low/medium quality, small charge per reference image |
35
35
 
@@ -48,13 +48,13 @@ videodraft generate image 'Studio photo of a ceramic mug on a walnut desk, soft
48
48
  videodraft generate image 'Place the mug from image 1 on the desk in image 2, keep the lighting of image 2' --model flux-3-image --ref mug.png --ref desk.png --num 2
49
49
  ```
50
50
 
51
- GPT Image 2.5 has two IDs: `gpt-image-2.5-flare` replaces the former GPT Image 2 recommendation; `gpt-image-2.5-sunburst` is the precision/detail alternative. Other model recommendations are unchanged. Explicit `gpt-image-2` selections continue to use the previous model.
51
+ GPT Image 2.6 replaces 2.5 and has two IDs: `gpt-image-2.6-flare` (fast everyday generation and editing, readable text and posters, precise composition) takes the Flare recommendation; `gpt-image-2.6-sunburst` is the alternative when extra precision, fine detail or edit consistency matters, with longer latency. Always pass a 2.6 ID; an older 2.5 ID runs on the matching 2.6 model. Other model recommendations are unchanged. Explicit `gpt-image-2` selections continue to use the previous model.
52
52
 
53
- Use the same basic image controls as GPT Image 2: `--ref`, `--ar`, `--resolution 1K|2K|4K`, `--quality`, and `--num 1..4`. GPT Image 2.5 quality supports auto/low/medium/high/xhigh/max. Auto is priced at Max in customer-credit estimates. The default platform path uses OpenAI; a selected personal connection stays exclusive. A Pika personal connection requires an explicit quality from low/medium/high/xhigh/max because its upstream API has no auto value. Other unsupported connection settings return an error instead of switching payer or changing the request.
53
+ Use the same basic image controls as GPT Image 2: `--ref` (up to 16), `--ar` (10 ratios), `--resolution 1K|2K|4K`, `--quality`, and `--num 1..4`. Output is PNG, with no seed. GPT Image 2.6 quality supports auto/low/medium/high/xhigh/max. Auto is priced at Max in customer-credit estimates, so pass `--quality high` for a cheaper render; on 2.6, low and medium are only modestly cheaper than high. The default platform path uses OpenAI; a selected personal connection stays exclusive. A Pika personal connection requires an explicit quality from low/medium/high/xhigh/max because its upstream API has no auto value. Atlas Cloud keys also run 2.6. Other unsupported connection settings return an error instead of switching payer or changing the request. 2.6's own complexity, markup, SVG and GIF options are not offered.
54
54
 
55
55
  ```bash
56
- videodraft generate image 'A blue glass bird' --model gpt-image-2.5-flare --ar 1:1 --resolution 2K --quality high --estimate
57
- videodraft generate image 'A blue glass bird' --model gpt-image-2.5-flare --ar 1:1 --resolution 2K --quality high --num 2
56
+ videodraft generate image 'A blue glass bird' --model gpt-image-2.6-flare --ar 1:1 --resolution 2K --quality high --estimate
57
+ videodraft generate image 'A blue glass bird' --model gpt-image-2.6-flare --ar 1:1 --resolution 2K --quality high --num 2
58
58
  ```
59
59
 
60
60
  `videodraft shots` forwards resolution and quality for both normal and grid generation. Estimates use the project's model and aspect when omitted; grid canvas costs may differ from ordinary shot costs. Use `videodraft costs --model <id> --ar <ratio> --resolution <tier> --quality <tier>` for a specific per-image quote.
@@ -72,6 +72,7 @@ videodraft generate image 'A blue glass bird' --model gpt-image-2.5-flare --ar 1
72
72
  | T1: Video/audio references, mixed reference media, broad aspect ratios, frame-mode first+last frame, or 11-15s | `seedance-2` | 4-15s or auto; up to 9 image, 3 video, and 3 audio refs; audio toggle; Mini/Fast are 480p/720p only |
73
73
  | 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 |
74
74
  | 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 |
75
+ | 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 |
75
76
  | T1: Cinematic 3-15s with reference images, image/video elements, first+last frame, audio, or 4K | `kling-o3` | 7 combined image refs/elements, reduced to 4 with a video element; Standard/Pro/4K |
76
77
  | T1: Kling 3-15s image-to-video with first+last frame, image/video elements, multi-prompt, audio, or 4K | `kling-3.0` | Elements require a start image; image or video elements can bind voice_id; Standard/Pro/4K |
77
78
  | T2: User explicitly requests Veo, or the selected workflow specifically needs Veo | `google-veo3.1` | Good fallback, but not the preferred general model |
@@ -86,15 +87,16 @@ Routing rules:
86
87
  - Dialogue: write the line in the prompt, in quotes, with who says it and how. `gemini-omni-1.1-flash`, `seedance-2.5`, `seedance-2`, `kling-3.0` and `kling-o3` speak it natively; add `--ref-audio` on Seedance or a bound Kling voice for a specific voice. Do not generate speech separately and lip-sync it on.
87
88
  - One existing source video that should be edited: use `videodraft edit video`, which auto-selects Gemini Omni 1.1 Flash for a source up to 10s. Generic `generate video --ref-video` retains source-edit behavior when `--video-task` is omitted, but the dedicated edit command is clearer.
88
89
  - Video supplied as a creative reference: Gemini Omni 1.1 Flash accepts up to 3 videos of at most 3 seconds each, including mixed image and video input. Creative video references are accepted on `--video-task generate` ONLY: edit and extend take exactly one input video, so `--ref-video` cannot accompany `--source-video` or `--previous-interaction-id`. Use Seedance 2.5 for more or longer video/audio references, or Seedance 2.0 when quality-tier control matters.
89
- - First and last frame control: every Tier 1 video model supports it (Gemini Omni 1.1 Flash, Seedance, Kling O3, Kling 3.0, MiniMax H3 Max, FLUX 3 Max). For Gemini, every start/end frame counts toward the 10-image total, leaving up to 9 references with a start frame or 8 with both frames.
90
+ - First and last frame control: every Tier 1 video model supports it (Gemini Omni 1.1 Flash, Seedance, Kling 4.0 in image-to-video, Kling O3, Kling 3.0, MiniMax H3 Max, FLUX 3 Max). For Gemini, every start/end frame counts toward the 10-image total, leaving up to 9 references with a start frame or 8 with both frames.
90
91
  - Extension with a 1-30s uploaded source uses Gemini Omni 1.1 Flash plus `--source-video` and `--video-task extend` (or `--extend`). Pass an explicit 3-10s output duration; the model appends it at the end, up to 40 seconds total. Creative `--ref-video` clips CANNOT accompany the source: edit and extend take exactly one input video. New dialogue is allowed only when the source video is silent; adding speech on top of a source that already has speech is refused with "the model is currently unable to process speech edits". Continuation uses `--previous-interaction-id <id>` and defaults to a conversational edit; `--video-task extend` lengthens it. A continuation is submitted as the prior turn's output video, so it obeys the same source limits (<=30s to extend, <=10s to edit) and the same silent-source dialogue rule. 40s total is reachable only by extending from a source of 30s or less, so a ladder dead-ends past 30s. Fal returns interaction IDs, but its currently published callable v1.1 endpoints do not expose continuation/extension or mixed source-edit references; never infer a route or silently fall back to paid Google.
91
92
  - Wan 3.0 reference mode and frame mode are separate. It accepts 10 images, 5 videos, and 5 audio clips, at most 20 media files total. Video and audio each total at most 15 seconds. `--file-url` and `--web-url` require `--thinking`. `--auto-duration` cannot be combined with `--duration`.
92
93
  - MiniMax H3 and H3 Max reference mode and first-plus-last-frame mode are separate. Audio cannot be the only reference. Address references as `Image 1`, `Video 1`, and `Audio 1` in array order.
93
94
  - Seedance reference mode and first-plus-last-frame mode are separate. Do not promise reference video/audio plus a last frame in one generation.
94
- - Multi-prompt sequencing: use Kling 3.0 Turbo, Kling O3, or Kling 3.0.
95
+ - Multi-prompt sequencing: use Kling 4.0 (shots of 1-30s, 3-30s total), or Kling 3.0 Turbo, Kling O3 or Kling 3.0 (shots of 1-15s, 3-15s total).
95
96
  - Kling 3.0 image-to-video and Kling O3 reference-to-video accept repeatable structured `--element` JSON. Each element is image-backed (`frontal_image_url` plus 1-3 `reference_image_urls`) or video-backed (`video_url`). Either form may include `voice_id`. Keep the voice ID inside the same element so the association is preserved. Reference them as `@Element1`, `@Element2`. Kling V3 Turbo rejects elements.
96
97
  - Kling 2.6 Pro image-to-video accepts one or two repeatable `--voice-id` values. Cite them as `<<<voice_1>>>` and `<<<voice_2>>>` in the prompt. Voice control costs more per second. Use `videodraft kling-voices list|create|delete` to manage the separate Kling video-control voice library. Creating a voice requires a clean 5-30 second, up-to-50MB single-speaker `.mp3`, `.wav`, `.mp4`, or `.mov` sample plus `--confirm-consent`. Creation has a small charge on the platform Fal account and is free with Fal BYOK; use the create command's `--estimate` flag to check without creating.
97
98
  - Kling V3 voice control (Standard and Pro) also costs more per second than plain generation.
99
+ - Kling 4.0 (Tier 1, the preferred Kling; Kling 3.0 and O3 keep 4K) has three modes, like Kling O3: text; image-to-video from `--start-image` with an optional `--end-image` (framing follows the image, so no `--ar`); and reference mode, chosen when you add `--ref`, `--ref-video` or `--element`. Reference mode takes an optional `--start-image`, up to 10 images including it (`--ref`, cited as @Image1), up to 5 `--ref-video` clips (cited as @Video1, 3-30s each), and up to 7 `--element` entries (cited as @Element1; up to 3 with `voice_id`, up to 3 video-backed). Reference and element videos share 5 clips and 30 seconds, and 15 inputs is the total. Reference mode has no end frame. Audio is always on. With any reference or element video it bills the video length plus the output, at least twice the output, so pass `--ref-video-seconds` to `costs` or `--estimate` for an exact quote.
98
100
  - Seedance quality: `mini` for the lowest cost, `fast` for speed, `standard` for maximum quality and for 1080p/4K. Seedance 2.5 has a single tier and ignores `--quality`.
99
101
  - Longer than 15 seconds, or more than 9 image / 3 video / 3 audio references: use Seedance 2.5. It reaches 30s and 30/10/10 references (50 files total) at 480p/720p/1080p, but has no 4K.
100
102
  - Seedance 2.x has no real-people option. A video that can't be made at the listed rate, usually one showing a real person, costs a higher rate, charged before it starts.
@@ -109,6 +111,7 @@ Use `videodraft models video --category video_edit` for existing-video transform
109
111
  | Cheapest simple prompt edit | `videodraft edit video <video> "..." --model grok-imagine-video-edit` | No image refs; source silently truncated to 8s; auto/480p/720p |
110
112
  | Edit with several image references | `--model happy-horse-video-edit --ref ...` | Up to 5 refs; 720p/1080p; source silently truncated to 15s; highest rate |
111
113
  | Controlled Kling edit | `--model kling-o3-video-ref-edit --ref ...` | Up to 4 refs; Standard/Pro; source silently clamped to 3-10s |
114
+ | Whole 10-30s source, or 7 elements | `--model kling-4.0-video-edit --ref ...` | Tier 2. Up to 10 refs and 7 image elements; 720p/1080p; edits a whole 3-30s source; `--duration` 3-30 sets a new length |
112
115
  | Transfer reference motion to an image | `videodraft edit motion <image> [direction] --motion-video <video>` | Prompt/direction is optional; Kling V3 default; optional one image-only `--element`; element requires video orientation |
113
116
 
114
117
  If the user explicitly names one of these models, preserve it. The CLI uploads local source videos and reference images automatically. Editing returns an async job and waits by default.
@@ -135,7 +138,7 @@ Kling O3 is also exposed for reference generation. `videodraft generate video --
135
138
  - **Seed Audio 1.0**: use `videodraft generate audio` for open-ended speech, sound, music, or prompt-driven audio editing. It accepts up to three audio references or one image. Address audio references as `@Audio1`, `@Audio2`, and `@Audio3`. Preset and custom cloned voice IDs are supported. Output is up to 120 seconds. There is no requested-duration input. The CLI automatically retries transient responses with one idempotency key. To recover after the CLI process itself is interrupted, set `--idempotency-key <uuid>` on the original command and reuse it.
136
139
  - **Voiceover/TTS**: prefer ElevenLabs. Brittney is the platform default voice; under ElevenLabs BYOK, use a compatible voice from the user's account. Honor another supported voice/provider when the user explicitly selects it. ElevenLabs voices run on Eleven v4 in one of two modes: Standard (the default, best quality) or Turbo (Eleven v4 Turbo, faster and half the price). Keep Standard unless the user wants faster or cheaper speech. Pick the mode with `generate voiceover --mode standard|turbo` or `produce --voice-mode standard|turbo`; over MCP, pass `mode` to `generate_voiceover` or `voice_mode` to `produce_project`. Google, OpenAI and cloned `custom-*` voices ignore it. v4 takes no style or speed settings and no SSML `<break>` tags; audio tags such as `[whispers]` work. Dialogue stays on Eleven v3.
137
140
  - **Dialogue, voice changing, and dubbing**: ElevenLabs only.
138
- - **Sound effects**: ElevenLabs Sound Effects only.
141
+ - **Sound effects**: ElevenLabs Sound Effects v3 only, 0.5-30 seconds.
139
142
  - **Music**: use `lyria-3.5` for all music, short or long (up to ~3 minutes), with vocals/lyrics or instrumental music. When `--model` is omitted the CLI sends no model and the server default applies, which is `lyria-3.5` wherever the backend supports it. If the server answers that `lyria-3.5` is an unknown model, that backend predates it: rerun without `--model` (the server default then applies), or use `lyria-3-pro-preview` for a track longer than 30 seconds. `lyria-3-clip-preview` (fixed ~30s) and `lyria-3-pro-preview` remain available for explicit requests. Lyria length and structure are prompt-guided, not exact; for an instrumental, include "instrumental only, no vocals" in the prompt. `--length` and `--instrumental` only apply to ElevenLabs. Use `elevenlabs-music-v2.5` when a specified 3-300 second length, composition plan, or style reference track matters. Lyria references: up to 10 images on Google, 1 on Fal BYOK; 3.5 Fal prompts are 1-5000 characters (an image-only request gets a neutral prompt). `elevenlabs-music` is an alias for v2.5. Use `elevenlabs-music-v1` only when the user asks for v1 by name; it takes a prompt, `--length` and `--instrumental` only.
140
143
  - **ElevenLabs Music v2.5 inputs**: either a prompt (`--length`, `--instrumental`) or a composition plan, never both. A plan is 1-30 sections of 3-120 seconds each, up to 300 seconds in total, and `--plan`/`--section` pick v2.5 when `--model` is omitted. Empty section parts default to 20 seconds and an instrumental part. Build one with repeatable `--section "<seconds>|<style, style>|<text>"` (use `\n` for line breaks) or pass `--plan plan.json` with `{"chunks":[{"text","duration_ms","positive_styles","negative_styles","context_adherence","audio_reference"}]}`. Section text is an optional `[Section name]`, lyric lines, and `{inline directions}`. Put 6-7 specific English styles on the first section; it sets the genre. `--ref-audio <url|file>` adds a style reference clip to the first section (window up to 30 seconds via `--ref-start`/`--ref-end` in ms, `--ref-strength low|medium|high|xhigh`); local files are uploaded, including relative `audio_reference.audio_url` paths in a plan file. `--seed` works only with a plan. `--format` picks the output (`mp3_48000_192` default on v2.5; `pcm_*`, `ulaw_8000` and `alaw_8000` arrive as stereo WAV files). Style references don't run on the user's own ElevenLabs key; with that key connected, drop the reference or ask the user to turn the key off. The CLI retries transient responses with one idempotency key; set `--idempotency-key <uuid>` to recover after an interruption.
141
144
  - Voice Changer and Dubbing require the source media duration and currently accept source media up to 300 seconds.
@@ -190,7 +193,7 @@ Direct Fabric text/audio, H3 Max Lip Sync, and Sync Labs do not use the managed
190
193
 
191
194
  - Each model's `inputs` block is authoritative: supported `aspect_ratios`, `resolutions`, `quality_options`, `start_frame`/`end_frame`, `max_reference_images/videos/audio`, `multi_prompt`, `audio_toggle`. Passing an unsupported input fails with a clear error — check first, don't trial-and-error paid calls.
192
195
  - Most video models support only 16:9 / 9:16 / 1:1. A 3:4 request hard-fails on most.
193
- - `--seed` reproduces a specific output on models that support it (e.g. Ideogram 4.5). GPT Image 2.5 and FLUX 3 Image reject any explicit seed; older models may ignore unsupported seeds. You do not need a seed for variation — `--num` already varies.
196
+ - `--seed` reproduces a specific output on models that support it (e.g. Ideogram 4.5). GPT Image 2.6 and FLUX 3 Image reject any explicit seed; older models may ignore unsupported seeds. You do not need a seed for variation — `--num` already varies.
194
197
  - `--rendering-speed` remains accepted for explicit legacy image requests and their cost estimates. Current Ideogram models use `--quality`. Always trust `videodraft models image --json` over this list; new models and tiers appear there the moment the platform ships them, with no CLI update.
195
198
  - `seedream-v5-pro` supports unified text-to-image and reference-image editing with up to 10 image references. Use `--resolution 1K` or `--resolution 2K` (2K costs more per image).
196
199
  - Reference inputs: `--ref <img>` (images, including up to 10 total for Gemini Omni 1.1 Flash and Wan 3.0, and 7 for Grok 1.5), `--source-video <v>` (Gemini uploaded edit/extension source), `--ref-video <v>` (up to 3 creative videos <=3s each for Gemini Omni 1.1 Flash; also Wan 3.0, MiniMax H3, MiniMax H3 Max, and Seedance 2), `--ref-audio <a>` (Wan 3.0, MiniMax H3, MiniMax H3 Max, Seedance 2), and `--element '<json>'` or `--element @elements.json` for Kling V3/O3. For an exact Seedance 2.x reference-video `--estimate`, add `--ref-video-seconds <combined-seconds>`; Seedance bills input seconds alongside output. Wan 3.0 and MiniMax H3 do not bill input reference seconds; MiniMax H3 Max bills them as pooled reference tokens. The CLI uploads local media references and every structured element without flattening the source/reference roles. `--segment "<prompt>:<seconds>"` (repeatable) drives Kling 3.0, Kling 3.0 Turbo, and O3 multi-prompt generation. Use 1-6 segments of 1-15 whole seconds each, with 3-15 seconds total. `generate image --video-ref` is the nano-banana-2 video reference.
@@ -232,6 +235,8 @@ videodraft costs topaz-interpolate-video --type video --duration 10 --width 1920
232
235
  videodraft costs minimax-h3 --type video --duration 10 --resolution 2K --ref-images 7
233
236
  videodraft costs minimax-h3-max --type video --duration 10 --resolution 768p --ref-images 2
234
237
  videodraft costs flux-3-max --type video --duration 5 --resolution 720p
238
+ videodraft costs kling-4.0 --type video --duration 10 --resolution 1080p --ref-video-seconds 6
239
+ videodraft costs kling-4.0-video-edit --type video --resolution 720p --ref-video-seconds 12 # source length; output matches it
235
240
  videodraft costs grok-imagine-video-1.5 --type video --duration 8 --resolution 720p --ref-images 4
236
241
  videodraft costs seedance-2 --type video --duration 15 --resolution 720p --quality standard --audio
237
242
  videodraft costs grok-imagine-2.0 --type image --resolution 2K --quality medium --num 2
@@ -245,3 +250,19 @@ videodraft generate video "..." --model minimax-h3-max --duration 8 --resolution
245
250
  ```
246
251
 
247
252
  MiniMax H3 Max and FLUX 3 Max are Tier 1; Gemini Omni remains the default. Use `videodraft costs` or `--estimate` for current prices before spending.
253
+
254
+ ## GenJutsu motion transfer
255
+
256
+ `genjutsu` and `genjutsu-light` are two separate native Higgsfield models. Use `videodraft edit motion` with one subject image, a required `--motion-video`, and up to seven additional `--ref` images. Prompt text is optional. Resolution is `480p`, `720p` (default), or `1080p`. GenJutsu accepts 4–30 seconds; Light accepts 4–15 seconds. Use MP4 under 100 MB and trim longer sources before submission.
257
+
258
+ ```bash
259
+ videodraft edit motion character.png 'Use this character throughout the performance' --model genjutsu --motion-video performance.mp4 --ref outfit.png --resolution 720p --download ./result.mp4
260
+ videodraft edit motion character.png --model genjutsu-light --motion-video performance.mp4 --resolution 480p --duration 4.208333 --estimate
261
+ videodraft generate video --model genjutsu-light --ref character.png --ref-video performance.mp4 --resolution 480p --no-wait
262
+ ```
263
+
264
+ MCP uses `generate_motion_control_video` with `model`, `motion_video_url`, `reference_images` (1–8 URLs), optional `prompt`, and `resolution`. A single `image_url` is accepted instead of `reference_images`; do not send both. `idempotency_key` is an optional UUID for an identical retry. Poll `check_generation_status` with `job_id` and attach completed output to a project shot when required.
265
+
266
+ 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.
267
+
268
+ 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.