videodraft 0.16.0 → 0.18.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 +2 -1
- package/dist/client.d.ts +5 -5
- package/dist/index.js +164 -33
- package/package.json +1 -1
- package/skills/index.json +6 -6
- package/skills/videodraft/SKILL.md +15 -4
- package/skills/videodraft/references/models.md +6 -1
- package/skills/videodraft/references/pipeline.md +5 -3
package/README.md
CHANGED
|
@@ -37,6 +37,7 @@ Standalone images, clips and audio are complete deliverables. They do not need a
|
|
|
37
37
|
```bash
|
|
38
38
|
videodraft generate image "isometric workspace, warm light" --num 4 --download "./out/{job_id}_{index}.{ext}"
|
|
39
39
|
videodraft generate video "slow dolly over a misty lake" --model google-veo3.1 --duration 6 --estimate
|
|
40
|
+
videodraft generate video "A cyclist races through rain at night" --model minimax-h3-max --duration 8 --resolution 768p --prompt-expansion-mode balanced --safety-checker true
|
|
40
41
|
videodraft generate audio "Read this in a calm documentary voice" --voice vivi_mixed_en_zh_ja_es_id --download narration.mp3
|
|
41
42
|
videodraft generate audio "Extend @Audio1 with soft rain" --ref-audio ./opening.wav --download extended.wav --format wav
|
|
42
43
|
videodraft generate voiceover "Welcome to VideoDraft" --download welcome.mp3
|
|
@@ -109,7 +110,7 @@ late Byteplus output refusals are refunded but cannot be rerouted.
|
|
|
109
110
|
| Group | Commands |
|
|
110
111
|
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
111
112
|
| Auth | `login` `logout` `whoami` |
|
|
112
|
-
| Account | `credits` `costs [model]` `models [image\|video\|audio\|voices\|styles]` `workspaces` `sessions list/create/current/reset` `kling-voices list/create/delete`
|
|
113
|
+
| Account | `credits` `costs [model]` `models [image\|video\|audio\|voices\|styles]` `workspaces` `sessions list/create/current/name/reset` `kling-voices list/create/delete` |
|
|
113
114
|
| Projects | `projects list/get/delete/favorite/open` `checkpoint create/list/restore` |
|
|
114
115
|
| Pipeline | `create` `shots` `produce` (`--mode full_video`) `attach` `finalize` `export` `export-status` `video-prompts` |
|
|
115
116
|
| Generate | `generate image/video/audio/voiceover/music/sound-effect/dialogue/voice-changer/dub` `edit video/motion` `upscale image/video` `avatar script/create/render/get/list/fabric/lipsync` |
|
package/dist/client.d.ts
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* The VideoDraft MCP server hands every connection an `Mcp-Session-Id` on
|
|
5
5
|
* `initialize` and files that connection's project-less generations into its
|
|
6
|
-
* own AI Studio session (
|
|
7
|
-
* header for free; the CLI is stateless per invocation, so it
|
|
8
|
-
* header in a small store and replays it on every request.
|
|
6
|
+
* own AI Studio session (initially labelled after the client and date). MCP
|
|
7
|
+
* hosts echo the header for free; the CLI is stateless per invocation, so it
|
|
8
|
+
* keeps the header in a small store and replays it on every request.
|
|
9
9
|
*
|
|
10
10
|
* Scope: one session per (profile, base URL, working directory), expiring
|
|
11
11
|
* after SESSION_IDLE_MS without use. A working directory is a good proxy for
|
|
@@ -114,8 +114,8 @@ interface VideoDraftClientOptions {
|
|
|
114
114
|
session?: ConnectionSessionStore;
|
|
115
115
|
/**
|
|
116
116
|
* Name reported as MCP clientInfo.name during the session handshake; it
|
|
117
|
-
*
|
|
118
|
-
*
|
|
117
|
+
* labels the automatic placeholder until the agent gives the session a
|
|
118
|
+
* task-specific name. Defaults to the user-agent's product token.
|
|
119
119
|
*/
|
|
120
120
|
clientName?: string;
|
|
121
121
|
}
|