返回 html-video
template.html-video.yaml
根目录 / templates / frame-electric-studio / template.html-video.yaml
1 spec_version: 1
2 id: frame-electric-studio
3 name: Electric Studio
4 description: >
5 Two-panel vertical split with a quote as the hero — white top and electric-blue bottom
6 panels open from the center, a black accent bar grows on the seam, and the quote reveals
7 line by line across the divide. Clean, professional, high contrast. Distilled from the
8 frontend-slides "Electric Studio" preset.
9
10 engine: hyperframes
11 engine_version: ^0.4.0
12 source_entry: source/index.html
13
14 category: presentation
15 subcategory: quote-card
16 tags: [split-panel, quote, blue, high-contrast, studio, editorial]
17
18 best_for:
19 - "Pull-quote / testimonial reveal"
20 - "Mission statement card"
21 - "Clean high-contrast title"
22
23 output:
24 formats: [mp4, webm]
25 default_format: mp4
26 resolution:
27 default: { width: 1920, height: 1080 }
28 supported_aspects: ["16:9", "1:1"]
29 fps:
30 default: 60
31 supported: [30, 60]
32 duration:
33 type: variable
34 min_sec: 3
35 max_sec: 6
36 alpha: false
37 audio:
38 supported: true
39 expected_inputs: [bgm]
40
41 inputs:
42 schema:
43 type: object
44 required: [quote_lines]
45 properties:
46 quote_lines:
47 type: "array"
48 items: { type: "string" }
49 maxItems: 4
50 description: "Quote split into lines; lines crossing into the blue panel render white"
51 name:
52 type: "string"
53 maxLength: 40
54 description: "Attribution name (on blue panel)"
55 role:
56 type: "string"
57 maxLength: 60
58 description: "Attribution role/subtitle (uppercase)"
59 brand:
60 type: "string"
61 maxLength: 24
62 description: "Corner brand mark"
63 duration_sec:
64 type: "number"
65 minimum: 3
66 maximum: 6
67 default: 4
68 examples:
69 - {"quote_lines": ["One agent.", "Every HTML", "video engine."], "name": "html-video", "role": "Meta-layer for coding agents", "brand": "nexu.io"}
70
71 license:
72 spdx: Apache-2.0
73 attribution_required: true
74 redistribution_allowed: true
75 commercial_use: true
76
77 provenance:
78 # L1 — original design inspiration (real world)
79 origin:
80 name: none (original preset by the L2 skill author)
81 kind: none
82 reference: "No specific real-world studio; the 'Electric Studio' look is an original preset composed by the frontend-slides author"
83 # L2 — the open-source skill we actually transformed from (license governs here)
84 via_skill:
85 name: frontend-slides
86 author: "Zara Zhang"
87 url: https://github.com/zarazhangrui/frontend-slides
88 license: MIT
89 source_file: STYLE_PRESETS.md (preset "Electric Studio")
90 # L3 — what this template does
91 transformation: >
92 Static slide preset → animated hyperframes timeline (white/blue panels open from the
93 center, a black accent bar grows on the seam, the quote reveals line by line across
94 the divide) built as original CSS keyframes. Original sample data.
95 No upstream source code copied verbatim.
96
97 author:
98 name: nexu-io
99 url: https://github.com/nexu-io
100 contact: open-design@nexu.io
101
102 version: 0.1.0
103 changelog:
104 - version: 0.1.0
105 date: 2026-06-03
106 notes: Distilled from the frontend-slides Electric Studio preset into an animated html-video template.
107
108 preview:
109 poster: preview.png
110
111 performance:
112 reference_render:
113 duration_sec: 4
114 render_wall_clock_sec: 8
115 machine: "M2 MacBook Air"
116
116 lines YAML