@contractspec/example.video-marketing-clip 2.4.0 → 2.6.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/.turbo/turbo-build.log +3 -3
- package/CHANGELOG.md +31 -0
- package/README.md +28 -0
- package/package.json +6 -6
package/.turbo/turbo-build.log
CHANGED
|
@@ -3,7 +3,7 @@ $ bun run prebuild && bun run build:bundle && bun run build:types
|
|
|
3
3
|
$ contractspec-bun-build prebuild
|
|
4
4
|
$ contractspec-bun-build transpile
|
|
5
5
|
[contractspec-bun-build] transpile target=bun root=src entries=6
|
|
6
|
-
Bundled 6 modules in
|
|
6
|
+
Bundled 6 modules in 30ms
|
|
7
7
|
|
|
8
8
|
./briefs.js 2.65 KB (entry point)
|
|
9
9
|
./index.js 7.76 KB (entry point)
|
|
@@ -13,7 +13,7 @@ Bundled 6 modules in 35ms
|
|
|
13
13
|
./generate-clip.js 1.0 KB (entry point)
|
|
14
14
|
|
|
15
15
|
[contractspec-bun-build] transpile target=node root=src entries=6
|
|
16
|
-
Bundled 6 modules in
|
|
16
|
+
Bundled 6 modules in 35ms
|
|
17
17
|
|
|
18
18
|
./briefs.js 2.64 KB (entry point)
|
|
19
19
|
./index.js 7.76 KB (entry point)
|
|
@@ -23,7 +23,7 @@ Bundled 6 modules in 39ms
|
|
|
23
23
|
./generate-clip.js 1.0 KB (entry point)
|
|
24
24
|
|
|
25
25
|
[contractspec-bun-build] transpile target=browser root=src entries=6
|
|
26
|
-
Bundled 6 modules in
|
|
26
|
+
Bundled 6 modules in 35ms
|
|
27
27
|
|
|
28
28
|
./briefs.js 2.64 KB (entry point)
|
|
29
29
|
./index.js 7.76 KB (entry point)
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @contractspec/example.video-marketing-clip
|
|
2
2
|
|
|
3
|
+
## 2.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- bae3db1: fix: build issues
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [bae3db1]
|
|
12
|
+
- @contractspec/lib.video-gen@1.47.0
|
|
13
|
+
- @contractspec/lib.content-gen@2.6.0
|
|
14
|
+
- @contractspec/lib.contracts-spec@2.6.0
|
|
15
|
+
|
|
16
|
+
## 2.5.0
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
20
|
+
- c83c323: feat: major change to content generation
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies [4fa3bd4]
|
|
25
|
+
- Updated dependencies [63eee9b]
|
|
26
|
+
- Updated dependencies [284cbe2]
|
|
27
|
+
- Updated dependencies [c83c323]
|
|
28
|
+
- Updated dependencies [397b7c0]
|
|
29
|
+
- Updated dependencies [4d19382]
|
|
30
|
+
- @contractspec/lib.contracts-spec@2.5.0
|
|
31
|
+
- @contractspec/lib.video-gen@1.46.0
|
|
32
|
+
- @contractspec/lib.content-gen@2.5.0
|
|
33
|
+
|
|
3
34
|
## 2.4.0
|
|
4
35
|
|
|
5
36
|
### Minor Changes
|
package/README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# @contractspec/example.video-marketing-clip
|
|
2
|
+
|
|
3
|
+
Website: https://contractspec.io/
|
|
4
|
+
|
|
5
|
+
Generate short-form marketing videos from content briefs using the video-gen pipeline.
|
|
6
|
+
|
|
7
|
+
This package demonstrates:
|
|
8
|
+
|
|
9
|
+
- End-to-end video generation: `ContentBrief` to `VideoBrief` to `VideoProject` via `VideoGenerator`
|
|
10
|
+
- Multi-format output: landscape (16:9), square (1:1), and portrait (9:16)
|
|
11
|
+
- Generating all three format variants in parallel with `generateAllFormats`
|
|
12
|
+
- Fully deterministic pipeline without LLM or voice provider
|
|
13
|
+
|
|
14
|
+
## Quickstart
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { generateMarketingClip, generateAllFormats } from "@contractspec/example.video-marketing-clip";
|
|
18
|
+
import { productLaunchBrief } from "@contractspec/example.video-marketing-clip";
|
|
19
|
+
|
|
20
|
+
// Generate a single landscape clip
|
|
21
|
+
const project = await generateMarketingClip(productLaunchBrief, "landscape");
|
|
22
|
+
|
|
23
|
+
// Generate all three format variants in parallel
|
|
24
|
+
const formats = await generateAllFormats(productLaunchBrief);
|
|
25
|
+
// formats.landscape, formats.square, formats.portrait
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Three sample briefs are included: a product launch ("Ship APIs 10x Faster"), a feature announcement ("Now Generating MCP Tools from Your Specs"), and a case study ("How Acme Corp Cut API Dev Time by 80%"). The scene planner automatically maps brief sections to `SocialClip` compositions.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.video-marketing-clip",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "Generate short-form marketing videos from content briefs using the video-gen pipeline.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -71,13 +71,13 @@
|
|
|
71
71
|
"typecheck": "tsc --noEmit"
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"@contractspec/lib.contracts-spec": "2.
|
|
75
|
-
"@contractspec/lib.video-gen": "1.
|
|
76
|
-
"@contractspec/lib.content-gen": "2.
|
|
74
|
+
"@contractspec/lib.contracts-spec": "2.6.0",
|
|
75
|
+
"@contractspec/lib.video-gen": "1.47.0",
|
|
76
|
+
"@contractspec/lib.content-gen": "2.6.0"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
|
-
"@contractspec/tool.typescript": "2.
|
|
80
|
-
"@contractspec/tool.bun": "2.
|
|
79
|
+
"@contractspec/tool.typescript": "2.6.0",
|
|
80
|
+
"@contractspec/tool.bun": "2.6.0",
|
|
81
81
|
"typescript": "^5.9.3"
|
|
82
82
|
},
|
|
83
83
|
"publishConfig": {
|