videodraft 0.41.1 → 0.42.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.
|
|
3
|
+
"version": "0.42.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
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"path": "references/cloud-sessions.md",
|
|
20
|
-
"sha256": "
|
|
21
|
-
"bytes":
|
|
20
|
+
"sha256": "63195c5a7998ddb4a9572c2b32edce3f681cd5a524b75f8b3b43f8b93d76116a",
|
|
21
|
+
"bytes": 9661
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"path": "references/editor.md",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
"path": "references/models.md",
|
|
35
|
-
"sha256": "
|
|
36
|
-
"bytes":
|
|
35
|
+
"sha256": "21567644dc39f40b7c73633e6c9d940c538c7fea998c4a852c10cecbb23b252c",
|
|
36
|
+
"bytes": 56661
|
|
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": "
|
|
46
|
-
"bytes":
|
|
45
|
+
"sha256": "f96a93017ea90a576d08f124cf8e4246437efb889a51233780bc63ac52a7d6e4",
|
|
46
|
+
"bytes": 62621
|
|
47
47
|
}
|
|
48
48
|
]
|
|
49
49
|
}
|
|
@@ -109,7 +109,7 @@ Every `videodraft models image|video|audio --json` entry carries `tier` (1 or 2)
|
|
|
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
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.
|
|
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/4k. Reach for it when a shot must run past 15s or carry more references than 2.0 allows.
|
|
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/4k. Reach for it when a shot must run past 15s or carry more references than 2.0 allows. For an explicitly requested 480p draft, use `generate video --model seedance-2.5 --draft`. Find drafts with `generations --drafts` and inspect `generation <id>` for supported final resolutions and expiry. Use `finalize-draft <id> --resolution 1080p --estimate` for the final quote, then submit without `--estimate` when requested. MCP uses `generate_video` with `draft:true` and `finalize_seedance_draft`.
|
|
113
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>>>`).
|
|
114
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.
|
|
115
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.
|
|
@@ -146,7 +146,7 @@ The live catalogs show discoverable models. Historical IDs remain valid for expl
|
|
|
146
146
|
|
|
147
147
|
## Matching AI Studio controls
|
|
148
148
|
|
|
149
|
-
Ideogram 4.
|
|
149
|
+
Ideogram 4.6 (`ideogram-v4.6`, Tier 2) supports 1 to 8 images, a seed, and very_low, low, medium (default) or high quality. Very low supports up to 2K. Other qualities support 4K. Text generation supports `--prompt-expansion true|false`. Add `--source-image` followed by up to four `--ref` images for editing. A source-sized mask (`--mask`, black edits and white preserves) allows three additional references. High precision and masked edits require Auto size. Generation and unmasked regular edits accept `--image-width` and `--image-height` in multiples of 32 from 256 to 4096, within 6:1. Legacy v4.5 generation sizes and its longer, up-to-4MP regular edit sizes still deliver the requested dimensions. Generation and regular editing accept `--background transparent|opaque`. With `--edit-precision high`, use `--context-window auto` with a mask or set `--context-window-box xmin,ymin,xmax,ymax` in source pixels. Pricing depends on quality, operation and output area. An Auto edit quote can include a range until source dimensions are known. Saved v4.0 and v4.5 model IDs select v4.6 for new submissions.
|
|
150
150
|
|
|
151
151
|
FLUX 3 image (`flux-3-image`, separate from `flux-3-max` video) is Tier 2. It generates and edits with up to 10 `--ref` images, `--num 1..4`, `--resolution 1K|2K|4K` (default 1K), `--prompt-expansion true|false` (default true) and `--ar` with 14 ratios plus `auto`. Each image is priced by output size (resolution and ratio); `auto` is quoted at the tier's highest price. Without `--ar`, a new image is 16:9 and an edit follows its first reference. No seed.
|
|
152
152
|
|
|
@@ -63,7 +63,7 @@ A session keeps its size: every machine it starts on, after a pause too, has the
|
|
|
63
63
|
- **Commands.** Up to 3 run at once. Each `run` takes about 20 to 25 s around the command itself (the first one after a start can take longer, while the machine loads the files), so chain short steps in one `run` with `&&`. `run` streams the output every few seconds (Python prints show sooner with `print(..., flush=True)`) and resumes a paused session first (`--no-resume` fails instead). `--detach` returns a command id for `logs <session> <id> [--follow]`; `--timeout <s>` stops a long one. A failed command makes `run` exit 1; the command's own exit code is in the output.
|
|
64
64
|
- **Saving.** What a command changes is saved when it ends; `sync` saves while something still runs. `pull`, `blender`, `scene` and `snapshot` see saved files only. Links (symlinks) are not saved.
|
|
65
65
|
- **Final renders.** `render session blender <session> <path> --frames a-b` renders a saved `.blend` from the session as a Cloud render job, with no upload from this computer; it takes `--name`, `--gpu`, `--procs`, `--blender`, `--no-spot`, `--out` and `--no-wait` (`--json` works on every command). Like `render blender`, it renders that one file on the GPU with OptiX, so pack textures and other files into it first (`bpy.ops.file.pack_all()`) and make linked libraries local. Each job bills its own start-up (about 15 to 20 s) and about a minute and a half of idle before its machine switches off, so split a film into ranges only when each range takes several minutes: time a 50% still in the session to estimate the full-size frame time. Once the jobs are submitted, pause or release the session: they do not need it. `render session scene <session> <path>` prints a saved `.blend`'s `scene_sha` for MCP `cloud_render_submit`; a paused or released session works too, and so does `snapshot` (within its 30 days).
|
|
66
|
-
- **Storage.** Each account has a storage cap for session files, snapshots and files kept after release; `session list` shows it. A push, start or resume past it is refused: `delete` sessions you no longer need, or delete snapshots (`snapshot-delete`). Files a snapshot also holds stay counted until the snapshot is deleted.
|
|
66
|
+
- **Storage.** Each account has a storage cap for session files, snapshots and files kept after release; `session list` shows it. A push, start or resume past it is refused: `delete` sessions you no longer need, or delete snapshots (`snapshot-delete`). Files a snapshot also holds stay counted until the snapshot is deleted. A running or paused session keeps its files; a session paused 90 days without use is released, and a released session's files stay 30 days.
|
|
67
67
|
- **Other agents.** Sessions are separated only by name; `session list` shows every session on the account, and `render list` every render job (name your jobs, so you can tell yours apart). `render stop` switches off every machine on the account, other agents' sessions and jobs included (sessions save first): run it only when the user asks.
|
|
68
68
|
|
|
69
69
|
MCP: the same operations are the tools `cloud_session`, `cloud_session_files`, `cloud_session_command` and `cloud_session_snapshot`.
|
|
@@ -34,12 +34,12 @@ Tier 1 is the rows marked **T1** below. Every other catalog model is Tier 2 and
|
|
|
34
34
|
| T1: Vector / SVG output (logos, icons, illustrations that must scale) | `recraft-v4` | Recraft V4.1 text-to-vector; SVG only, no reference images |
|
|
35
35
|
| 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 |
|
|
36
36
|
|
|
37
|
-
Ideogram 4.
|
|
37
|
+
Ideogram 4.6 (`ideogram-v4.6`, Tier 2) supports 1 to 8 images, a seed, and very_low, low, medium (default) or high quality. Very low supports up to 2K. Other qualities support 4K. Text generation supports `--prompt-expansion true|false`. Add `--source-image` followed by up to four `--ref` images for editing. A source-sized mask (`--mask`, black edits and white preserves) allows three additional references. High precision and masked edits require Auto size. Generation and unmasked regular edits accept `--image-width` and `--image-height` in multiples of 32 from 256 to 4096, within 6:1. Legacy v4.5 generation sizes and its longer, up-to-4MP regular edit sizes still deliver the requested dimensions. Generation and regular editing accept `--background transparent|opaque`. With `--edit-precision high`, use `--context-window auto` with a mask or set `--context-window-box xmin,ymin,xmax,ymax` in source pixels. Pricing depends on quality, operation and output area. An Auto edit quote can include a range until source dimensions are known. Saved v4.0 and v4.5 model IDs select v4.6 for new submissions.
|
|
38
38
|
|
|
39
39
|
```bash
|
|
40
|
-
videodraft generate image 'A poster with the exact title "SUMMER"' --model ideogram-v4.
|
|
41
|
-
videodraft generate image 'Replace the sign text with "OPEN"' --model ideogram-v4.
|
|
42
|
-
videodraft costs ideogram-v4.
|
|
40
|
+
videodraft generate image 'A poster with the exact title "SUMMER"' --model ideogram-v4.6 --quality high --resolution 2K --num 2 --estimate
|
|
41
|
+
videodraft generate image 'Replace the sign text with "OPEN"' --model ideogram-v4.6 --source-image source.png --ref lettering.png --mask mask.png --edit-precision high --ar auto --quality medium
|
|
42
|
+
videodraft costs ideogram-v4.6 --type image --quality very_low --ref-images 1 --num 2
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
FLUX 3 image (`flux-3-image`, separate from `flux-3-max` video) is Tier 2: Black Forest Labs' newest image model, on Fal or your Fal key. It generates and edits with up to 10 `--ref` images (call them "image 1", "image 2" in the prompt), `--num 1..4`, `--resolution 1K|2K|4K` (default 1K), `--prompt-expansion true|false` (default true) and `--ar` with 14 ratios (21:9 to 1:2, including 7:5 and 5:7) plus `auto`. Each image is priced by output size (resolution and ratio); `auto` lets the model pick, or follows the first reference, and is quoted at the tier's highest price. Without `--ar`, a new image is 16:9 and an edit is `auto`. No seed. Output is JPEG.
|
|
@@ -201,7 +201,7 @@ Direct Fabric text/audio, H3 Max Lip Sync, and Sync Labs do not use the managed
|
|
|
201
201
|
|
|
202
202
|
- 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.
|
|
203
203
|
- Most video models support only 16:9 / 9:16 / 1:1. A 3:4 request hard-fails on most.
|
|
204
|
-
- `--seed` reproduces a specific output on models that support it (e.g. Ideogram 4.
|
|
204
|
+
- `--seed` reproduces a specific output on models that support it (e.g. Ideogram 4.6). 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.
|
|
205
205
|
- `--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.
|
|
206
206
|
- Prefer `seedream-v5.5` for Seedream text-to-image and edits. It accepts up to 10 image references, up to 6 outputs, `--resolution 1K`, `1.5K`, or `2K`, and `--background transparent` for a transparent PNG. `--format png` is the default; `--format jpeg` is available for opaque or automatic backgrounds. `--seed` requires a selected Pika personal key; Fal and Atlas do not expose it. `--image-width` and `--image-height` set an exact size with VideoDraft credits or a Fal key: 921,600-4,624,220 total pixels and 1:16 to 16:1 aspect ratio. These override the resolution and ratio, and can also be passed to `costs`; Pika and Atlas personal keys cannot use them. `--watermark` adds Fal's visible watermark and also requires VideoDraft credits or a Fal key. References add to each output's cost; the final cost rounds up to whole credits. `seedream-v5-pro` remains available.
|
|
207
207
|
- Reference inputs: `--ref <img>` (images, including up to 10 total for Gemini Omni 1.2 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 <=15s each for Gemini Omni 1.2 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.
|
|
@@ -212,7 +212,7 @@ Direct Fabric text/audio, H3 Max Lip Sync, and Sync Labs do not use the managed
|
|
|
212
212
|
|
|
213
213
|
This skill lists no prices because they change with provider routing and sales. Get the current price from `videodraft costs <model> [settings]` or the command's `--estimate` flag; both read live prices from the server and spend nothing. Never quote a price from memory. What each kind of job is billed on:
|
|
214
214
|
|
|
215
|
-
- Images: per image (x `--num`). Matrix-priced models (GPT Image, Nano Banana 2.1 and Pro, Seedream v5 Pro, Ideogram 4.
|
|
215
|
+
- Images: per image (x `--num`). Matrix-priced models (GPT Image, Nano Banana 2.1 and Pro, Seedream v5 Pro, Ideogram 4.6, Grok Imagine 2.0) vary by resolution and/or quality (Nano Banana 2.1 thinking and web search are free); Grok Imagine 2.0 also charges per reference image (up to 3).
|
|
216
216
|
- Video: per output second; the rate depends on model, resolution, quality and native audio on/off.
|
|
217
217
|
- Gemini Omni 1.2 Flash: per output second by resolution (720p default). Extend appends an explicit 3-10 seconds to a 1-30s source, whether uploaded or resolved from a prior interaction; 40 seconds total is reachable only while the source stays at or under 30s. Fal BYOK generation, basic source edits and extensions cost zero VideoDraft credits; interaction-ID continuation and separate edit/extend references are unavailable under Fal BYOK; uploaded-source extension is supported.
|
|
218
218
|
- MiniMax H3: per output second by resolution (768p default). The first 5 reference images are included, then each additional image adds a charge. Reference video and reference audio are NOT billed.
|