videodraft 0.29.0 → 0.30.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/README.md +15 -0
- package/dist/index.js +452 -57
- package/package.json +1 -1
- package/skills/index.json +6 -6
- package/skills/videodraft/SKILL.md +16 -4
- package/skills/videodraft/references/editor.md +63 -0
- package/skills/videodraft/references/models.md +23 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "videodraft",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.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": "
|
|
16
|
-
"bytes":
|
|
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": "
|
|
26
|
-
"bytes":
|
|
25
|
+
"sha256": "2d17b925ea11bfbadc684b255d78b6af619510a1def4da78514afd1ef724f5cf",
|
|
26
|
+
"bytes": 50698
|
|
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": "
|
|
36
|
-
"bytes":
|
|
35
|
+
"sha256": "b125159dd40b48248a83d5c457f05c79f81145f70d793814028ffb7d2a7cf13a",
|
|
36
|
+
"bytes": 54027
|
|
37
37
|
}
|
|
38
38
|
]
|
|
39
39
|
}
|
|
@@ -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.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-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
|
|
|
@@ -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:**
|
|
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.
|
|
@@ -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
|
|
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.
|
|
@@ -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.
|