videodraft 0.35.0 → 0.36.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.36.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/cloud-render.md",
|
|
15
|
-
"sha256": "
|
|
16
|
-
"bytes":
|
|
15
|
+
"sha256": "d10389868d89b076b8ebd92afe41e6f3687eeb9839a724e961e95ba49aae784c",
|
|
16
|
+
"bytes": 11832
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"path": "references/editor.md",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
"path": "references/models.md",
|
|
30
|
-
"sha256": "
|
|
31
|
-
"bytes":
|
|
30
|
+
"sha256": "70d958c7cf864d26059f086868ad1e36bc4e7e2c4f43d16bfbe57754fbf3f126",
|
|
31
|
+
"bytes": 55590
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
"path": "references/pipeline.md",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"path": "SKILL.md",
|
|
40
|
-
"sha256": "
|
|
41
|
-
"bytes":
|
|
40
|
+
"sha256": "e4fb73ccccaaa982bd1b723f278575ffeb9798b119ee5491588e9ca4c5abf404",
|
|
41
|
+
"bytes": 60378
|
|
42
42
|
}
|
|
43
43
|
]
|
|
44
44
|
}
|
|
@@ -177,6 +177,7 @@ videodraft render stop # switch every GPU off whe
|
|
|
177
177
|
- Pack the scene first (Blender: File > External Data > Pack Resources, then save). Files outside the `.blend` are missing on the GPU, and scripts inside it never run. The engine (Cycles or Eevee) is whatever the scene is set to.
|
|
178
178
|
- `videodraft render prices` lists the GPU sizes on offer; `--gpu full` (96 GB) is the default and fastest. When smaller sizes (`half`, `quarter`) are offered they cost less per frame but take longer: use them when the user wants it cheaper and is not in a hurry, and run a render again on a bigger size if it fails for GPU memory.
|
|
179
179
|
- Every job gets its own machine, so several renders run at the same time. A machine bills per second while it is on, at the rate `videodraft render prices` returns, and switches itself off 1 minute after its last job. State the rate and get a go-ahead before long renders; `render status` shows a job's cost so far and an estimate. When your task is done, run `videodraft render stop` so idle time is not billed.
|
|
180
|
+
- When Google has no regular GPU for a few minutes, a full-GPU job also asks for a Spot GPU at a higher rate (`render prices` shows it), and the first GPU found takes the job; a Spot machine that is already on can also take the next job at once. When you state the rate before a long render, give the Spot rate too. Google can reclaim a Spot machine; the job then continues from its finished segments. Tell the user when a job runs on Spot, and use `--no-spot` when they want the regular rate only or the render must not be interrupted.
|
|
180
181
|
- Waiting for a GPU is never billed. A job waits for Google to hand over a machine (usually 1 to 10 minutes, longer at busy times), then pays for about 15 seconds of start-up, the rendering, and about a minute of idle time before its machine switches off (none when another job takes the machine over). Test renders cost a few credits, so run tests and proofs in the cloud too, and submit jobs together. A queued job may have a machine starting or charges from an earlier attempt; check its phase and cost. Its displayed machine is only a candidate until the job is claimed.
|
|
181
182
|
- Name jobs with `--name "S4 final"` (default: the scene's file name and frames); `render status`, `wait`, `cancel` and `resume` take the name, and `render list --name` finds it, so you need no file of job ids.
|
|
182
183
|
- Exit code 4 means credits ran low, before the job started or mid-render (the job pauses and keeps its finished segments; uploading and starting need a minimum balance). Tell the user; after they top up, run `videodraft render resume <job_id>`.
|
|
@@ -28,6 +28,7 @@ videodraft render stop # switch every GPU off now
|
|
|
28
28
|
- `--procs <n>`: Blender processes running in parallel on the GPU, 1-4.
|
|
29
29
|
- `--blender 5.2|4.5`: Blender version (default 5.2).
|
|
30
30
|
- `--gpu full|half|quarter`: GPU size (default `full`). See [Choosing a GPU size](#choosing-a-gpu-size).
|
|
31
|
+
- `--no-spot`: wait for a regular GPU only. See [Spot GPUs](#spot-gpus-when-regular-ones-run-out).
|
|
31
32
|
- `--out <dir|file.mp4>`: where the clip goes (default `media/renders/<job_id>.mp4`).
|
|
32
33
|
- `--no-wait`: submit, print the job id and return. Resume with `videodraft render wait <job_id>`.
|
|
33
34
|
|
|
@@ -55,6 +56,14 @@ Exit codes: 0 done; 1 failed, cancelled or another error; 2 bad flags; 3 not sig
|
|
|
55
56
|
|
|
56
57
|
All bill per second. A smaller GPU is cheaper overall, not just per minute, because one render rarely uses a whole RTX PRO 6000. Use `full` when the user is waiting, has a deadline or the scene is heavy; a smaller size when they want it cheaper and are not in a hurry. The scene has to fit in the GPU memory: if a render fails for memory, run it again on a bigger size. `render status` shows a job's cost so far and, while it renders, an estimate for the whole job.
|
|
57
58
|
|
|
59
|
+
## Spot GPUs, when regular ones run out
|
|
60
|
+
|
|
61
|
+
When Google has no regular GPU for a few minutes (`after_minutes` in `render prices`), a full-GPU job also asks for a Spot GPU, while its request for a regular one keeps its place. Whichever GPU comes first takes the job, and a Spot machine that is already on (one that just finished a job) can also take the next job at once. Spot has one higher rate everywhere (`spot.credits_per_minute` in `render prices`): when you state the rate and get a go-ahead before a long render, give the Spot rate too, and tell the user when a job runs on Spot. The fallback itself needs no further go-ahead.
|
|
62
|
+
|
|
63
|
+
Google can reclaim a Spot machine at any time. The job then goes back to the queue and continues from its finished segments, so only the segment in progress renders again; a Spot machine reclaimed in its first minute is not billed. `render wait` says when a job starts asking for Spot and when Google reclaims its machine; `render status` has a `spot` line, and `render machine` marks Spot machines.
|
|
64
|
+
|
|
65
|
+
Use `--no-spot` (MCP: `spot: "never"`) when the user wants the regular rate only, or a render must not be interrupted, for example close to a deadline where a restart costs more time than a wait. The half and quarter sizes never use Spot.
|
|
66
|
+
|
|
58
67
|
## Scenes must be self-contained
|
|
59
68
|
|
|
60
69
|
Pack external files before rendering: in Blender, File > External Data > Pack Resources, then save. Linked libraries, simulation caches and images outside the `.blend` are missing on the machine, and the machine has no internet. Blender runs in background mode with auto-run off, so scripts and drivers that need Python inside the file do not run.
|
|
@@ -84,6 +93,6 @@ Never submit the same render twice to recover from a lost wait or a timeout: the
|
|
|
84
93
|
|
|
85
94
|
1. `cloud_render_upload_scene` with the file's `sha256` and `size`. `exists: true` means skip to step 3.
|
|
86
95
|
2. PUT the bytes to `upload_url`: one PUT of the whole file, or chunks that are multiples of 256 KiB with `Content-Range: bytes <first>-<last>/<size>` (308 means send the next chunk from the Range header, 200 or 201 means complete). Then `cloud_render_finalize_scene` with the same `sha256`.
|
|
87
|
-
3. `cloud_render_submit` with `scene_sha`, `start`, `end` and optional `name`, `gpu`, `fps`, `chunk`, `procs`, `blender_version
|
|
88
|
-
4. Poll `cloud_render_status` every 10 seconds or more. `message` and `machine.phase` distinguish a free GPU wait from billable start-up; a queued job's machine is a candidate that can change. `queued_seconds` includes time queued; `wait_seconds` gives the free wait when known. `clip_url` is the finished MP4; `segment_urls` lists finished pieces before then; `cost` has the credits so far, `start_up_seconds`, `render_seconds` and `idle_seconds`, and `estimated_total_credits` (plus `estimated_minutes_left` while rendering).
|
|
96
|
+
3. `cloud_render_submit` with `scene_sha`, `start`, `end` and optional `name`, `gpu`, `fps`, `chunk`, `procs`, `blender_version`, `spot` (`auto` by default, or `never`).
|
|
97
|
+
4. Poll `cloud_render_status` every 10 seconds or more. `message` and `machine.phase` distinguish a free GPU wait from billable start-up; a queued job's machine is a candidate that can change. `queued_seconds` includes time queued; `wait_seconds` gives the free wait when known. `machine.spot` is true on a Spot machine, `spot_note` explains Spot when the job asks for or runs on one, and `spot_reclaims` counts the times Google reclaimed its machine. `clip_url` is the finished MP4; `segment_urls` lists finished pieces before then; `cost` has the credits so far, `start_up_seconds`, `render_seconds` and `idle_seconds`, and `estimated_total_credits` (plus `estimated_minutes_left` while rendering).
|
|
89
98
|
5. `cloud_render_stop` when the work is done. `cloud_render_list` (with `name` to find jobs by name), `cloud_render_cancel`, `cloud_render_resume` and `cloud_render_machine` (each machine's `phase` and `billing`) match the CLI commands above.
|
|
@@ -202,7 +202,7 @@ Direct Fabric text/audio, H3 Max Lip Sync, and Sync Labs do not use the managed
|
|
|
202
202
|
- Most video models support only 16:9 / 9:16 / 1:1. A 3:4 request hard-fails on most.
|
|
203
203
|
- `--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.
|
|
204
204
|
- `--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.
|
|
205
|
-
- `seedream-v5
|
|
205
|
+
- 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.
|
|
206
206
|
- 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.
|
|
207
207
|
- The top-level prompt is OPTIONAL for Gemini Omni 1.2 Flash media-input or continuation calls, Wan 3.0 frame/reference modes, `generate video` with multi-prompt models, and Kling 3.0 Turbo (`--model kling-v3-turbo`) image-to-video. Text-only Gemini and Wan calls still require a prompt unless their live schema says otherwise.
|
|
208
208
|
- Hosted AI Production fallback: `videodraft produce <project> --mode full_video` generates one Seedance 2 video per scene. The MCP equivalent is `produce_project` with `mode: "full_video"`. Poll with `videodraft generations`, then `videodraft finalize <project>` swaps them into the hosted timeline before `export`. In VideoDraft ADE, do not choose this path while `videodraft_editor` is available unless the user explicitly requests hosted production. A selected external app or existing external project also takes precedence over this hosted fallback. Generate or download the scene assets, import them, and assemble/export in the selected app (the native editor by default). If the user explicitly requests another compatible video model for a hosted production, do not use this fixed Seedance path; generate the project shots manually with the requested model and attach them to the hosted timeline.
|