mulmocast 2.22.0 → 2.23.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.
@@ -12,6 +12,7 @@ import { agentIncorrectAPIKeyError, agentAPIRateLimitError, imageAction, imageFi
12
12
  import { getOutputStudioFilePath, mkdir } from "../utils/file.js";
13
13
  import { audioCheckerError } from "../utils/error_cause.js";
14
14
  import { extractImageFromMovie, ffmpegGetMediaDuration, trimMusic } from "../utils/ffmpeg_utils.js";
15
+ import { audioProbeSource } from "../utils/audio_probe_source.js";
15
16
  import { getMediaRefs, resolveBeatLocalRefs } from "./image_references.js";
16
17
  import { imagePreprocessAgent, imagePluginAgent, htmlImageGeneratorAgent, beatFrameResolverAgent } from "./image_agents.js";
17
18
  import { imageGraphOption } from "./graph_option.js";
@@ -232,7 +233,7 @@ export const beat_graph_data = {
232
233
  if (namedInputs.soundEffectFile) {
233
234
  return { hasMovieAudio: true };
234
235
  }
235
- const sourceFile = namedInputs.movieFile || namedInputs.imageFile;
236
+ const sourceFile = audioProbeSource(namedInputs);
236
237
  if (!sourceFile) {
237
238
  // no need to check if the file exists (ffmpegGetMediaDuration will check it if it is local file)
238
239
  return { hasMovieAudio: false };
@@ -0,0 +1,5 @@
1
+ export declare const isStillImageFile: (filePath: string) => boolean;
2
+ export declare const audioProbeSource: (files: {
3
+ movieFile?: string;
4
+ imageFile?: string;
5
+ }) => string | undefined;
@@ -0,0 +1,16 @@
1
+ import path from "node:path";
2
+ // A still image never carries an audio track, so probing it only makes ffprobe a requirement for image-only renders.
3
+ const STILL_IMAGE_EXTENSIONS = new Set([".png", ".jpg", ".jpeg", ".gif", ".webp", ".bmp", ".svg"]);
4
+ export const isStillImageFile = (filePath) => {
5
+ const withoutQuery = filePath.split(/[?#]/)[0];
6
+ return STILL_IMAGE_EXTENSIONS.has(path.extname(withoutQuery).toLowerCase());
7
+ };
8
+ export const audioProbeSource = (files) => {
9
+ if (files.movieFile) {
10
+ return files.movieFile;
11
+ }
12
+ if (!files.imageFile || isStillImageFile(files.imageFile)) {
13
+ return undefined;
14
+ }
15
+ return files.imageFile;
16
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mulmocast",
3
- "version": "2.22.0",
3
+ "version": "2.23.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "lib/index.node.js",
@@ -99,7 +99,7 @@
99
99
  "homepage": "https://github.com/receptron/mulmocast-cli#readme",
100
100
  "dependencies": {
101
101
  "@google-cloud/text-to-speech": "^7.1.1",
102
- "@google/genai": "^2.28.0",
102
+ "@google/genai": "^2.29.1",
103
103
  "@graphai/anthropic_agent": "^2.1.0",
104
104
  "@graphai/browserless_agent": "^2.0.4",
105
105
  "@graphai/gemini_agent": "^2.1.0",
@@ -118,15 +118,15 @@
118
118
  "@tavily/core": "^0.7.14",
119
119
  "archiver": "^8.0.0",
120
120
  "clipboardy": "^5.3.2",
121
- "dotenv": "^18.0.7",
121
+ "dotenv": "^18.0.8",
122
122
  "graphai": "^2.0.18",
123
- "jinglescript": "^0.7.0",
123
+ "jinglescript": "^0.8.0",
124
124
  "js-tiktoken": "^1.0.21",
125
125
  "jsdom": "^30.1.2",
126
- "marked": "^18.1.0",
126
+ "marked": "^18.1.1",
127
127
  "mulmocast-vision": "^1.0.12",
128
128
  "ora": "^9.4.1",
129
- "puppeteer": "^25.13.0",
129
+ "puppeteer": "^25.14.0",
130
130
  "replicate": "^1.4.0",
131
131
  "yaml": "^2.9.1",
132
132
  "yargs": "^18.2.0",
@@ -134,39 +134,39 @@
134
134
  },
135
135
  "devDependencies": {
136
136
  "@eslint/js": "^10.0.1",
137
- "@react-three/fiber": "^9.8.1",
137
+ "@react-three/fiber": "^9.8.2",
138
138
  "@receptron/test_utils": "^2.0.3",
139
- "@remotion/bundler": "^4.0.534",
140
- "@remotion/effects": "^4.0.534",
141
- "@remotion/layout-utils": "^4.0.534",
142
- "@remotion/motion-blur": "^4.0.534",
143
- "@remotion/noise": "^4.0.534",
144
- "@remotion/paths": "^4.0.534",
145
- "@remotion/renderer": "^4.0.534",
146
- "@remotion/shapes": "^4.0.534",
147
- "@remotion/three": "^4.0.534",
148
- "@remotion/transitions": "^4.0.534",
139
+ "@remotion/bundler": "^4.0.535",
140
+ "@remotion/effects": "^4.0.535",
141
+ "@remotion/layout-utils": "^4.0.535",
142
+ "@remotion/motion-blur": "^4.0.535",
143
+ "@remotion/noise": "^4.0.535",
144
+ "@remotion/paths": "^4.0.535",
145
+ "@remotion/renderer": "^4.0.535",
146
+ "@remotion/shapes": "^4.0.535",
147
+ "@remotion/three": "^4.0.535",
148
+ "@remotion/transitions": "^4.0.535",
149
149
  "@types/archiver": "^8.0.0",
150
150
  "@types/jsdom": "^30.0.0",
151
151
  "@types/node": "^26.6.5",
152
152
  "@types/yargs": "^17.0.35",
153
- "avatarscript": "^0.4.0",
153
+ "avatarscript": "^0.5.0",
154
154
  "cross-env": "^10.1.0",
155
155
  "esbuild": "^0.28.2",
156
156
  "eslint": "^10.12.0",
157
157
  "eslint-config-prettier": "^10.1.8",
158
158
  "eslint-plugin-import": "^2.32.0",
159
- "eslint-plugin-prettier": "^5.5.6",
159
+ "eslint-plugin-prettier": "^5.5.7",
160
160
  "eslint-plugin-sonarjs": "^4.2.2",
161
161
  "globals": "^17.13.0",
162
162
  "prettier": "^3.9.10",
163
- "react": "^19.2.0",
164
- "react-dom": "^19.2.0",
165
- "remotion": "^4.0.534",
163
+ "react": "^19.3.1",
164
+ "react-dom": "^19.3.1",
165
+ "remotion": "^4.0.535",
166
166
  "three": "^0.186.1",
167
167
  "tsx": "^4.23.15",
168
168
  "typescript": "6.0.3",
169
- "typescript-eslint": "^8.71.1"
169
+ "typescript-eslint": "^8.71.2"
170
170
  },
171
171
  "peerDependencies": {
172
172
  "@react-three/fiber": "^9.8.1",
@@ -180,7 +180,7 @@
180
180
  "@remotion/shapes": "^4.0.533",
181
181
  "@remotion/three": "^4.0.533",
182
182
  "@remotion/transitions": "^4.0.533",
183
- "avatarscript": "^0.4.0",
183
+ "avatarscript": "^0.5.0",
184
184
  "onnxruntime-node": "^1.30.0",
185
185
  "react": "^19.2.0",
186
186
  "react-dom": "^19.2.0",
@@ -1,278 +0,0 @@
1
- {
2
- "$mulmocast": {
3
- "version": "1.1"
4
- },
5
- "lang": "en",
6
- "title": "Media Test",
7
- "references": [
8
- {
9
- "url": "https://www.mulmocast.com",
10
- "title": "Mulmocast",
11
- "type": "article"
12
- }
13
- ],
14
- "speechParams": {
15
- "speakers": {
16
- "Presenter": {
17
- "voiceId": "shimmer",
18
- "displayName": {
19
- "en": "Presenter"
20
- }
21
- }
22
- }
23
- },
24
- "beats": [
25
- {
26
- "id": "first",
27
- "speaker": "Presenter",
28
- "text": "This is a local image.",
29
- "image": {
30
- "type": "image",
31
- "source": {
32
- "kind": "path",
33
- "path": "../../assets/images/mulmocast_credit.png"
34
- }
35
- }
36
- },
37
- {
38
- "id": "hidden",
39
- "hidden": true,
40
- "speaker": "Presenter",
41
- "text": "This is a hidden beat.",
42
- "image": {
43
- "type": "textSlide",
44
- "slide": {
45
- "title": "Hidden Beat",
46
- "bullets": ["This is a hidden beat."]
47
- }
48
- }
49
- },
50
- {
51
- "speaker": "Presenter",
52
- "text": "This is a image reference beat.",
53
- "duration": 0.5,
54
- "image": {
55
- "type": "beat",
56
- "id": "first"
57
- }
58
- },
59
- {
60
- "speaker": "Presenter",
61
- "text": "",
62
- "duration": 0.5,
63
- "id": "1A57B3F5-B6CB-4948-96BB-6F018DCCBBD4",
64
- "image": {
65
- "type": "textSlide",
66
- "slide": {
67
- "title": "No Audio",
68
- "bullets": ["0.5 seconds"]
69
- }
70
- }
71
- },
72
- {
73
- "speaker": "Presenter",
74
- "text": "This is a remote image.",
75
- "image": {
76
- "type": "image",
77
- "source": {
78
- "kind": "url",
79
- "url": "https://raw.githubusercontent.com/receptron/mulmocast-cli/refs/heads/main/assets/images/mulmocast_credit.png"
80
- }
81
- }
82
- },
83
- {
84
- "id": "textSlide",
85
- "speaker": "Presenter",
86
- "text": "",
87
- "duration": 2,
88
- "image": {
89
- "type": "textSlide",
90
- "slide": {
91
- "title": "No Audio",
92
- "bullets": ["2 seconds"]
93
- }
94
- }
95
- },
96
- {
97
- "speaker": "Presenter",
98
- "id": "pingpongmov",
99
- "text": "This is a local movie with audio.",
100
- "image": {
101
- "type": "movie",
102
- "source": {
103
- "kind": "url",
104
- "url": "https://github.com/receptron/mulmocast-media/raw/refs/heads/main/test/pingpong.mov"
105
- }
106
- }
107
- },
108
- {
109
- "speaker": "Presenter",
110
- "text": "",
111
- "image": {
112
- "type": "textSlide",
113
- "slide": {
114
- "title": "Local Audio Test",
115
- "bullets": ["Something"]
116
- }
117
- },
118
- "audio": {
119
- "type": "audio",
120
- "source": {
121
- "kind": "path",
122
- "path": "../../assets/audio/local_voice.mp3"
123
- }
124
- }
125
- },
126
- {
127
- "speaker": "Presenter",
128
- "text": "This is a bulleted list in text slide format.",
129
- "image": {
130
- "type": "textSlide",
131
- "slide": {
132
- "title": "Human Evolution",
133
- "bullets": [
134
- "Early Primates",
135
- "Hominids and Hominins",
136
- "Australopithecus",
137
- "Genus Homo Emerges",
138
- "Homo erectus and Migration",
139
- "Neanderthals and Other Archaic Humans",
140
- "Homo sapiens"
141
- ]
142
- }
143
- }
144
- },
145
- {
146
- "speaker": "Presenter",
147
- "text": "This is a table in markdown format.",
148
- "image": {
149
- "type": "markdown",
150
- "markdown": [
151
- "# Markdown Table Example",
152
- "### Table",
153
- "| Item | In Stock | Price |",
154
- "| :---------------- | :------: | ----: |",
155
- "| Python Hat | True | 23.99 |",
156
- "| SQL Hat | True | 23.99 |",
157
- "| Codecademy Tee | False | 19.99 |",
158
- "| Codecademy Hoodie | False | 42.99 |",
159
- "### Paragraph",
160
- "This is a paragraph."
161
- ]
162
- }
163
- },
164
- {
165
- "speaker": "Presenter",
166
- "text": "This is a chart in chart format.",
167
- "image": {
168
- "type": "chart",
169
- "title": "Sales and Profits (from Jan to June)",
170
- "chartData": {
171
- "type": "bar",
172
- "data": {
173
- "labels": ["January", "February", "March", "April", "May", "June"],
174
- "datasets": [
175
- {
176
- "label": "Revenue ($1000s)",
177
- "data": [120, 135, 180, 155, 170, 190],
178
- "backgroundColor": "rgba(54, 162, 235, 0.5)",
179
- "borderColor": "rgba(54, 162, 235, 1)",
180
- "borderWidth": 1
181
- },
182
- {
183
- "label": "Profit ($1000s)",
184
- "data": [45, 52, 68, 53, 61, 73],
185
- "backgroundColor": "rgba(75, 192, 192, 0.5)",
186
- "borderColor": "rgba(75, 192, 192, 1)",
187
- "borderWidth": 1
188
- }
189
- ]
190
- },
191
- "options": {
192
- "responsive": true,
193
- "animation": false
194
- }
195
- }
196
- }
197
- },
198
- {
199
- "speaker": "Presenter",
200
- "text": "This is a diagram in mermaid format.",
201
- "image": {
202
- "type": "mermaid",
203
- "title": "Business Process Flow",
204
- "code": {
205
- "kind": "text",
206
- "text": "graph LR\n A[Market Research] --> B[Product Planning]\n B --> C[Development]\n C --> D[Testing]\n D --> E[Manufacturing]\n E --> F[Marketing]\n F --> G[Sales]\n G --> H[Customer Support]\n H --> A"
207
- }
208
- }
209
- },
210
- {
211
- "speaker": "Presenter",
212
- "text": "This is a tailwind html format.",
213
- "image": {
214
- "type": "html_tailwind",
215
- "html": [
216
- "<main class=\"flex-grow\">",
217
- " <!-- Hero Section -->",
218
- " <section class=\"bg-blue-600 text-white py-20\">",
219
- " <div class=\"container mx-auto px-6 text-center\">",
220
- " <h1 class=\"text-4xl md:text-5xl font-bold mb-4\">Welcome to Mulmocast</h1>",
221
- " <p class=\"text-lg md:text-xl mb-8\">A modern web experience powered by Tailwind CSS</p>",
222
- " <a href=\"#features\" class=\"bg-white text-blue-600 px-6 py-3 rounded-lg font-semibold shadow hover:bg-gray-100 transition\">",
223
- " Learn More",
224
- " </a>",
225
- " </div>",
226
- " </section>",
227
- "",
228
- " <!-- Features Section -->",
229
- " <section id=\"features\" class=\"py-16 bg-gray-100\">",
230
- " <div class=\"container mx-auto px-6\">",
231
- " <div class=\"grid grid-cols-1 md:grid-cols-3 gap-8 text-center\">",
232
- " <div>",
233
- " <div class=\"text-blue-600 text-4xl mb-2\">⚡</div>",
234
- " <h3 class=\"text-xl font-semibold mb-2\">Fast</h3>",
235
- " <p class=\"text-gray-600\">Built with performance in mind using modern tools.</p>",
236
- " </div>",
237
- " <div>",
238
- " <div class=\"text-blue-600 text-4xl mb-2\">🎨</div>",
239
- " <h3 class=\"text-xl font-semibold mb-2\">Beautiful</h3>",
240
- " <p class=\"text-gray-600\">Styled with Tailwind CSS for clean, responsive design.</p>",
241
- " </div>",
242
- " <div>",
243
- " <div class=\"text-blue-600 text-4xl mb-2\">🚀</div>",
244
- " <h3 class=\"text-xl font-semibold mb-2\">Launch Ready</h3>",
245
- " <p class=\"text-gray-600\">Easy to deploy and extend for your next big idea.</p>",
246
- " </div>",
247
- " </div>",
248
- " </div>",
249
- " </section>",
250
- "</main>",
251
- "",
252
- "<!-- Footer -->",
253
- "<footer class=\"bg-white text-gray-500 text-center py-6 border-t\">",
254
- " 2025 Mulmocast.",
255
- "</footer>"
256
- ]
257
- }
258
- },
259
- {
260
- "speaker": "Presenter",
261
- "text": "This is a text slide reference beat.",
262
- "duration": 0.5,
263
- "image": {
264
- "type": "beat",
265
- "id": "textSlide"
266
- }
267
- },
268
- {
269
- "speaker": "Presenter",
270
- "text": "This is a movie reference beat.",
271
- "duration": 0.5,
272
- "image": {
273
- "type": "beat",
274
- "id": "pingpongmov"
275
- }
276
- }
277
- ]
278
- }
@@ -1,31 +0,0 @@
1
- {
2
- "$mulmocast": {
3
- "version": "1.1",
4
- "credit": "closing"
5
- },
6
- "canvasSize": { "width": 1024 "height": 1536, },
7
- "title": "THE ROAD TO SUPERINTELLIGENCE: EXPLORING AI-2027",
8
- "speechParams": {
9
- "speakers": {
10
- "Host": {
11
- "voiceId": "shimmer",
12
- "displayName": {
13
- "en": "Host"
14
- }
15
- }
16
- }
17
- },
18
- "lang": "en",
19
- "beats": [
20
- {
21
- "id": "beat1",
22
- "speaker": "Host",
23
- "text": "Welcome to Mulmocast Tech Insights."
24
- },
25
- {
26
- "id": "beat2",
27
- "speaker": "Host",
28
- "text": "AI-2028 is a project from the AI Futures Project."
29
- }
30
- ]
31
- }
@@ -1,289 +0,0 @@
1
- {
2
- "$mulmocast": { "version": "1.1" },
3
- "lang": "en",
4
- "title": "The Higgs Boson — Exploring the Origin of Mass",
5
- "slideParams": {
6
- "theme": {
7
- "colors": {
8
- "bg": "0B1120",
9
- "bgCard": "162032",
10
- "bgCardAlt": "1E2D45",
11
- "text": "F0F4F8",
12
- "textMuted": "A0AEC0",
13
- "textDim": "4A5568",
14
- "primary": "63B3ED",
15
- "accent": "B794F4",
16
- "success": "68D391",
17
- "warning": "F6AD55",
18
- "danger": "FC8181",
19
- "info": "4FD1C5",
20
- "highlight": "F687B3"
21
- },
22
- "fonts": { "title": "Georgia", "body": "Calibri", "mono": "Consolas" }
23
- }
24
- },
25
- "imageParams": {
26
- "provider": "genai",
27
- "model": "gemini-3-pro-image-preview",
28
- "images": {
29
- "detector": {
30
- "type": "imagePrompt",
31
- "prompt": "A massive cylindrical particle detector at CERN, showing intricate layers of sensors and electronics in warm orange and gold lighting, photorealistic, wide-angle view from inside the detector barrel"
32
- },
33
- "lhc": {
34
- "type": "imagePrompt",
35
- "prompt": "The Large Hadron Collider tunnel at CERN, a long curved underground tunnel with blue superconducting magnets stretching into the distance, cool blue lighting, photorealistic"
36
- },
37
- "higgs_event": {
38
- "type": "imagePrompt",
39
- "prompt": "A colorful particle collision event display from the CMS detector at CERN, showing radiating particle tracks in green, red and blue lines emanating from a central collision point on a dark background, scientific visualization style"
40
- }
41
- }
42
- },
43
- "beats": [
44
- {
45
- "text": "What is the Higgs boson? Let's look back at the history of its discovery.",
46
- "image": {
47
- "type": "slide",
48
- "slide": {
49
- "layout": "title",
50
- "title": "The Higgs Boson",
51
- "subtitle": "A Journey to the Origin of Mass",
52
- "author": "Introduction to Particle Physics"
53
- }
54
- }
55
- },
56
- {
57
- "text": "The Higgs boson holds a special place in the Standard Model.",
58
- "image": {
59
- "type": "slide",
60
- "slide": {
61
- "layout": "columns",
62
- "title": "Particles of the Standard Model",
63
- "subtitle": "17 Elementary Particles",
64
- "columns": [
65
- {
66
- "title": "Fermions",
67
- "accentColor": "primary",
68
- "content": [
69
- { "type": "imageRef", "ref": "detector", "alt": "Fermion interactions" },
70
- { "type": "bullets", "items": ["Quarks (6 types)", "Leptons (6 types)"], "icon": "⚛" },
71
- { "type": "text", "value": "Particles that make up matter", "dim": true }
72
- ]
73
- },
74
- {
75
- "title": "Bosons",
76
- "accentColor": "accent",
77
- "content": [
78
- { "type": "imageRef", "ref": "lhc", "alt": "LHC tunnel" },
79
- { "type": "bullets", "items": ["Photon", "W & Z bosons", "Gluon"], "icon": "⚡" },
80
- { "type": "text", "value": "Force-carrying particles", "dim": true }
81
- ]
82
- },
83
- {
84
- "title": "Higgs Boson",
85
- "accentColor": "highlight",
86
- "content": [
87
- { "type": "imageRef", "ref": "higgs_event", "alt": "Higgs boson decay" },
88
- { "type": "text", "value": "Origin of Mass", "bold": true, "color": "highlight" },
89
- { "type": "text", "value": "The only scalar particle. Discovered at CERN in 2012.", "dim": true }
90
- ]
91
- }
92
- ]
93
- }
94
- }
95
- },
96
- {
97
- "text": "Let's look at the Higgs boson decay event captured by the LHC detector.",
98
- "image": {
99
- "type": "slide",
100
- "slide": {
101
- "layout": "split",
102
- "left": {
103
- "title": "CMS Detector Event",
104
- "content": [{ "type": "imageRef", "ref": "detector", "alt": "CMS detector event display", "fit": "cover" }]
105
- },
106
- "right": {
107
- "title": "What Are We Seeing?",
108
- "content": [
109
- { "type": "text", "value": "Protons are collided at near light speed, and the resulting particle tracks are captured by the detector." },
110
- {
111
- "type": "callout",
112
- "text": "The Higgs boson cannot be observed directly — its existence is inferred from pairs of decay particles.",
113
- "label": "Key Point",
114
- "color": "info",
115
- "style": "info"
116
- },
117
- { "type": "metric", "value": "125 GeV", "label": "Mass of the Higgs boson" }
118
- ]
119
- }
120
- }
121
- }
122
- },
123
- {
124
- "text": "A comparison of the ATLAS and CMS experiments.",
125
- "image": {
126
- "type": "slide",
127
- "slide": {
128
- "layout": "comparison",
129
- "title": "Two Experiments, One Discovery",
130
- "subtitle": "Each independently achieved 5σ significance",
131
- "left": {
132
- "title": "ATLAS Experiment",
133
- "accentColor": "primary",
134
- "content": [
135
- { "type": "imageRef", "ref": "detector", "alt": "ATLAS detector" },
136
- { "type": "metric", "value": "5.9σ", "label": "Statistical significance", "color": "primary" },
137
- { "type": "text", "value": "25m diameter, 46m long. About 3,000 physicists participated." }
138
- ]
139
- },
140
- "right": {
141
- "title": "CMS Experiment",
142
- "accentColor": "accent",
143
- "content": [
144
- { "type": "imageRef", "ref": "lhc", "alt": "CMS detector" },
145
- { "type": "metric", "value": "5.0σ", "label": "Statistical significance", "color": "accent" },
146
- { "type": "text", "value": "More compact but equipped with a superconducting solenoid magnet. About 4,000 participants." }
147
- ]
148
- },
149
- "callout": {
150
- "text": "The simultaneous confirmation by two independent experiments dramatically increased confidence in the result",
151
- "color": "success"
152
- }
153
- }
154
- }
155
- },
156
- {
157
- "text": "Here's a grid overview of CERN's key facilities.",
158
- "image": {
159
- "type": "slide",
160
- "slide": {
161
- "layout": "grid",
162
- "title": "CERN Experimental Facilities",
163
- "subtitle": "The world's largest particle physics laboratory on the Swiss-French border",
164
- "gridColumns": 2,
165
- "items": [
166
- {
167
- "title": "LHC Accelerator",
168
- "accentColor": "primary",
169
- "content": [
170
- { "type": "imageRef", "ref": "lhc", "alt": "LHC tunnel", "fit": "cover" },
171
- { "type": "text", "value": "27km circumference, 100m underground", "dim": true }
172
- ]
173
- },
174
- {
175
- "title": "ATLAS Detector",
176
- "accentColor": "accent",
177
- "content": [
178
- { "type": "imageRef", "ref": "detector", "alt": "ATLAS detector overview", "fit": "cover" },
179
- { "type": "text", "value": "25m diameter, weighing 7,000 tonnes", "dim": true }
180
- ]
181
- },
182
- {
183
- "title": "CMS Detector",
184
- "accentColor": "info",
185
- "content": [
186
- { "type": "imageRef", "ref": "higgs_event", "alt": "CMS detector", "fit": "cover" },
187
- { "type": "text", "value": "Features superconducting solenoid", "dim": true }
188
- ]
189
- },
190
- {
191
- "title": "CERN Control Centre",
192
- "accentColor": "warning",
193
- "content": [
194
- { "type": "imageRef", "ref": "detector", "alt": "CERN control room", "fit": "cover" },
195
- { "type": "text", "value": "24/7 accelerator monitoring", "dim": true }
196
- ]
197
- }
198
- ]
199
- }
200
- }
201
- },
202
- {
203
- "text": "Here are the key milestones leading to the discovery.",
204
- "image": {
205
- "type": "slide",
206
- "slide": {
207
- "layout": "timeline",
208
- "title": "Road to Discovery",
209
- "items": [
210
- { "date": "1964", "title": "Higgs Mechanism Proposed", "description": "P. Higgs et al. published the mass acquisition theory", "done": true },
211
- { "date": "1983", "title": "W & Z Bosons Discovered", "description": "Confirmed at CERN's SPS experiments", "done": true, "color": "accent" },
212
- {
213
- "date": "2008",
214
- "title": "LHC Begins Operation",
215
- "description": "The world's largest particle accelerator starts up",
216
- "done": true,
217
- "color": "info"
218
- },
219
- {
220
- "date": "2012.7.4",
221
- "title": "Higgs Boson Discovered",
222
- "description": "ATLAS and CMS experiments announce simultaneously",
223
- "done": true,
224
- "color": "highlight"
225
- },
226
- { "date": "2013", "title": "Nobel Prize in Physics", "description": "Awarded to Higgs and Englert", "done": true, "color": "success" }
227
- ]
228
- }
229
- }
230
- },
231
- {
232
- "text": "Let's explore the relationship between the Higgs field and mass.",
233
- "image": {
234
- "type": "slide",
235
- "slide": {
236
- "layout": "split",
237
- "left": {
238
- "title": "Visualizing the Higgs Field",
239
- "content": [
240
- { "type": "imageRef", "ref": "higgs_event", "alt": "Higgs field concept", "fit": "contain" },
241
- { "type": "text", "value": "A field that fills all of space", "dim": true, "align": "center" }
242
- ]
243
- },
244
- "right": {
245
- "title": "Why Does Mass Arise?",
246
- "content": [
247
- {
248
- "type": "callout",
249
- "text": "The Higgs field exists everywhere in the universe. Particles acquire mass by interacting with this field.",
250
- "style": "quote"
251
- },
252
- { "type": "divider", "color": "accent" },
253
- {
254
- "type": "bullets",
255
- "items": [
256
- "Photon: no interaction with Higgs field → zero mass",
257
- "W boson: strong interaction → heavy",
258
- "Top quark: strongest interaction → heaviest"
259
- ],
260
- "icon": "→"
261
- },
262
- { "type": "callout", "text": "Mass = strength of coupling to the Higgs field", "label": "Key Insight", "color": "highlight" }
263
- ]
264
- }
265
- }
266
- }
267
- },
268
- {
269
- "text": "Let's look at the statistical significance of the discovery in numbers.",
270
- "image": {
271
- "type": "slide",
272
- "slide": {
273
- "layout": "stats",
274
- "title": "The Higgs Discovery in Numbers",
275
- "stats": [
276
- { "value": "5σ", "label": "Statistical significance", "color": "highlight" },
277
- { "value": "125.25 GeV", "label": "Measured mass" },
278
- { "value": "~10⁻²² s", "label": "Lifetime" },
279
- { "value": "10,000+", "label": "Researchers involved", "color": "info" }
280
- ],
281
- "callout": {
282
- "text": "5σ means the probability of a fluke is 1 in 3.5 million — the threshold for 'discovery' in particle physics.",
283
- "color": "warning"
284
- }
285
- }
286
- }
287
- }
288
- ]
289
- }
@@ -1,21 +0,0 @@
1
- {
2
- "$schema": "../../assets/schema.json",
3
- "title": "Vertex AI Test",
4
- "description": "Test Vertex AI integration",
5
- "lang": "en",
6
- "imageParams": {
7
- "provider": "google",
8
- "model": "imagen-4.0-generate-001",
9
- "vertexai_project": "${GOOGLE_PROJECT_ID}",
10
- "vertexai_location": "us-central1"
11
- },
12
- "speechParams": {
13
- "provider": "mock"
14
- },
15
- "beats": [
16
- {
17
- "text": "Hello",
18
- "imagePrompt": "A simple blue circle on white background"
19
- }
20
- ]
21
- }