返回 html-video
template.html-video.yaml
根目录 / templates / vfx-text-cursor / template.html-video.yaml
1 spec_version: 1
2 id: vfx-text-cursor
3 name: Text + Cursor VFX
4 description: >
5 Typewriter text effect with blinking terminal cursor — perfect for code-style reveals or tech demos.
6
7 engine: hyperframes
8 engine_version: ^0.4.0
9 source_entry: source/index.html
10
11 category: presentation
12 subcategory: text-card
13 tags: [text, typewriter, cursor, terminal, code, reveal]
14
15 best_for:
16 - "Code demo intro"
17 - "Tech narrative"
18 - "Terminal vibe"
19
20 output:
21 formats: [mp4, webm]
22 default_format: mp4
23 resolution:
24 default: { width: 1920, height: 1080 }
25 supported_aspects: ["16:9", "9:16", "1:1"]
26 fps:
27 default: 60
28 supported: [30, 60]
29 duration:
30 type: variable
31 min_sec: 3
32 max_sec: 10
33 alpha: false
34 audio:
35 supported: true
36 expected_inputs: [bgm]
37
38 inputs:
39 schema:
40 type: object
41 required: [text]
42 properties:
43 text:
44 type: "string"
45 maxLength: 240
46 description: "Text to type out"
47 speed_cps:
48 type: "number"
49 minimum: 5
50 maximum: 40
51 default: 15
52 description: "Characters per second"
53 duration_sec:
54 type: "number"
55 minimum: 3
56 maximum: 10
57 default: 5
58 examples:
59 - {"text": "$ html-video render --template frame-logo-outro", "speed_cps": 15, "duration_sec": 5}
60
61 license:
62 spdx: Apache-2.0
63 attribution_required: false
64 redistribution_allowed: true
65 commercial_use: true
66
67 author:
68 name: nexu-io
69 url: https://github.com/nexu-io
70 contact: open-design@nexu.io
71
72 version: 0.1.0
73 changelog:
74 - version: 0.1.0
75 date: 2026-05-27
76 notes: Cherry-picked from open-design/repo/skills/vfx-text-cursor/example.html
77
78 preview:
79 poster: preview.png
80
81 performance:
82 reference_render:
83 duration_sec: 5
84 render_wall_clock_sec: 9
85 machine: "M2 MacBook Air"
86
86 lines YAML