Skip to content

🎥 Make videos programmatically with React

Add story gen with content

Vlad Maef9406cd134
diff --git a/packages/template-ai-video/cli.ts b/packages/template-ai-video/cli.ts
index 144445a6fb..aadc7ee7fe 100644
--- a/packages/template-ai-video/cli.ts
+++ b/packages/template-ai-video/cli.ts
@@ -19,10 +19,12 @@ import {
StoryMetadataWithDetails,
StoryScript,
StoryWithImages,
+ Timeline,
} from "./src/types";
import { v4 as uuidv4 } from "uuid";
import * as fs from "fs";
import * as path from "path";
+import { createTimeLineFromStoryWithDetails } from "./src/timeline";
dotenv.config();
@@ -48,6 +50,12 @@ class ContentFS {
fs.writeFileSync(filePath, JSON.stringify(descriptor, null, 2));
}
+ saveTimeline(timeline: Timeline) {
+ const dirPath = this.getDir();
+ const filePath = path.join(dirPath, "timeline.json");
+ fs.writeFileSync(filePath, JSON.stringify(timeline, null, 2));
+ }
+
getDir(dir?: string): string {
const segments = ["public", "content", this.slug];
if (dir) {
@@ -193,17 +201,19 @@ async function generateStory(options: GenerateOptions) {
storyItem.imageDescription,
contentFs.getImagePath(storyItem.uid),
);
- await generateVoice(
+ const timings = await generateVoice(
storyItem.text,
elevenlabsApiKey!,
contentFs.getAudioPath(storyItem.uid),
);
- break;
+ storyItem.audioTimestamps = timings;
}
contentFs.saveDescriptor(storyWithDetails);
imagesSpinner.succeed(chalk.green("Images generated!"));
const finalSpinner = ora("Generating final result...").start();
+ const timeline = createTimeLineFromStoryWithDetails(storyWithDetails);
+ contentFs.saveTimeline(timeline);
finalSpinner.succeed(chalk.green("Final result generated!"));
console.log(chalk.green.bold("\n✨ Story generation complete!\n"));
diff --git a/packages/template-ai-video/public/content/demo/timeline.json b/packages/template-ai-video/public/content/demo/timeline.json
deleted file mode 100644
index 42da4077ed..0000000000
--- a/packages/template-ai-video/public/content/demo/timeline.json
+++ /dev/null
@@ -1,1335 +0,0 @@
-{
- "text": [
- {
- "text": "In 2012, ",
- "endMs": 1370,
- "startMs": 0,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": -6.241814031811098,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- }
- ]
- },
- {
- "text": "scientists ",
- "endMs": 1962,
- "startMs": 1370,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 0,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 1,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "discovered ",
- "endMs": 2473,
- "startMs": 1962,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 0,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 1,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "an ",
- "endMs": 2635,
- "startMs": 2473,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 0,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 1,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "underwater ",
- "endMs": 3216,
- "startMs": 2635,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 8.675968479802927,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- }
- ]
- },
- {
- "text": "river at the ",
- "endMs": 3808,
- "startMs": 3216,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": -7.351100219935402,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 1,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "bottom of ",
- "endMs": 4238,
- "startMs": 3808,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 0.06342549764921879,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- }
- ]
- },
- {
- "text": "the Black Sea.",
- "endMs": 4923,
- "startMs": 4238,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": -2.688267362235037,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 0.6668409556238707,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "This river, ",
- "endMs": 5666,
- "startMs": 4923,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 0,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 0.5777696316685244,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "complete ",
- "endMs": 6003,
- "startMs": 5666,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 0,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 0.6630797308800843,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "with trees ",
- "endMs": 6456,
- "startMs": 6003,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": -6.189399244871341,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- }
- ]
- },
- {
- "text": "and leaves, ",
- "endMs": 7257,
- "startMs": 6456,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": -1.299757099038057,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 1,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "snakes ",
- "endMs": 7466,
- "startMs": 7257,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 0,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 1,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "through the ",
- "endMs": 7953,
- "startMs": 7466,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 5.755492293271276,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 0.5131951569121614,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- }
- ]
- },
- {
- "text": "sea bed like ",
- "endMs": 8464,
- "startMs": 7953,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 0,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 0.6310645152750947,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- }
- ]
- },
- {
- "text": "a hidden world.",
- "endMs": 9103,
- "startMs": 8464,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 0,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 0.695390195780089,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- }
- ]
- },
- {
- "text": "It is so ",
- "endMs": 9869,
- "startMs": 9103,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 9.111545499261505,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 1,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "large that ",
- "endMs": 10380,
- "startMs": 9869,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": -0.8034394443138271,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 0.6442416553612305,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "if it were ",
- "endMs": 10926,
- "startMs": 10380,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": -2.345797686238651,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 1,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "on land, it ",
- "endMs": 11564,
- "startMs": 10926,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 0,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 1,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "would be the ",
- "endMs": 12203,
- "startMs": 11564,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": -6.204234490090734,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 0.638385065770432,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- }
- ]
- },
- {
- "text": "sixth-largest ",
- "endMs": 13039,
- "startMs": 12203,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 0,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 1,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "river in the world.",
- "endMs": 13840,
- "startMs": 13039,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": -9.394805967165409,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 1,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "The ",
- "endMs": 14200,
- "startMs": 13840,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": -4.189079363777132,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 0.5041451572066585,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "mysterious ",
- "endMs": 14804,
- "startMs": 14200,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 0,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 0.6839265059020809,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "phenomenon ",
- "endMs": 15489,
- "startMs": 14804,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 0,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 0.6812350956986389,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "is caused by ",
- "endMs": 16185,
- "startMs": 15489,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 0,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 1,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "the high ",
- "endMs": 16777,
- "startMs": 16185,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 0,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 0.6639595003794697,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- }
- ]
- },
- {
- "text": "salinity of ",
- "endMs": 17404,
- "startMs": 16777,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 0,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 0.5206367333917523,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "the water, ",
- "endMs": 18310,
- "startMs": 17404,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 0,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- }
- ]
- },
- {
- "text": "which makes ",
- "endMs": 19018,
- "startMs": 18310,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 0,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 1,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "it denser ",
- "endMs": 19575,
- "startMs": 19018,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 0,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- }
- ]
- },
- {
- "text": "and causes ",
- "endMs": 20133,
- "startMs": 19575,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 4.813699655582793,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 0.5932744503084951,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "it to flow ",
- "endMs": 20725,
- "startMs": 20133,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 0.459350604502744,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 0.6075095798109468,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- }
- ]
- },
- {
- "text": "downward ",
- "endMs": 21236,
- "startMs": 20725,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 0,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 0.657788702201715,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "like a river.",
- "endMs": 21503,
- "startMs": 21236,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 4.816891204446692,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- }
- ]
- },
- {
- "text": "Explorers ",
- "endMs": 22467,
- "startMs": 21503,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": -1.699881943461752,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 0.654074994623422,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- }
- ]
- },
- {
- "text": "and marine ",
- "endMs": 23082,
- "startMs": 22467,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 0.6860478683455429,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 0.6621468949664628,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "biologists ",
- "endMs": 23779,
- "startMs": 23082,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": -5.939251651476651,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- }
- ]
- },
- {
- "text": "continue to ",
- "endMs": 24464,
- "startMs": 23779,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": -8.492680637263012,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 0.5148904464016304,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "study this ",
- "endMs": 25137,
- "startMs": 24464,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 2.684549343162226,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 0.5441884365079986,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "enigmatic ",
- "endMs": 25834,
- "startMs": 25137,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 2.770609243512785,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- }
- ]
- },
- {
- "text": "and ",
- "endMs": 26089,
- "startMs": 25834,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 0.7189665184792982,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 0.5784255347420383,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- }
- ]
- },
- {
- "text": "otherworldly ",
- "endMs": 26948,
- "startMs": 26089,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": 7.685816506488175,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 1,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- },
- {
- "text": "aquatic landscape.",
- "endMs": 27726,
- "startMs": 26948,
- "position": "center",
- "animations": [
- {
- "to": 0,
- "from": -4.098349388732498,
- "type": "rotate",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1.25,
- "from": 0.6338857334957155,
- "type": "scale",
- "endMs": 300,
- "startMs": 0
- },
- {
- "to": 1,
- "from": 1.25,
- "type": "scale",
- "endMs": 500,
- "startMs": 300
- }
- ]
- }
- ],
- "audio": [
- {
- "endMs": 4923,
- "startMs": 0,
- "audioUrl": "https://stories.matolabs.dev/1e91daf1-32c6-487b-af1a-b55e633044c8-audio-0.mp3"
- },
- {
- "endMs": 9103,
- "startMs": 4923,
- "audioUrl": "https://stories.matolabs.dev/1e91daf1-32c6-487b-af1a-b55e633044c8-audio-1.mp3"
- },
- {
- "endMs": 13840,
- "startMs": 9103,
- "audioUrl": "https://stories.matolabs.dev/1e91daf1-32c6-487b-af1a-b55e633044c8-audio-2.mp3"
- },
- {
- "endMs": 21503,
- "startMs": 13840,
- "audioUrl": "https://stories.matolabs.dev/1e91daf1-32c6-487b-af1a-b55e633044c8-audio-3.mp3"
- },
- {
- "endMs": 27726,
- "startMs": 21503,
- "audioUrl": "https://stories.matolabs.dev/1e91daf1-32c6-487b-af1a-b55e633044c8-audio-4.mp3"
- }
- ],
- "elements": [
- {
- "endMs": 4923,
- "startMs": 0,
- "imageUrl": "https://stories.matolabs.dev/1e91daf1-32c6-487b-af1a-b55e633044c8-0-0.jpg",
- "animations": [
- {
- "to": 1,
- "from": 1.5,
- "type": "scale",
- "endMs": 4923,
- "startMs": 0
- },
- {
- "to": -3.197558487589267,
- "from": 0,
- "type": "rotate",
- "endMs": 4923,
- "startMs": 0
- }
- ],
- "exitTransition": "blur",
- "enterTransition": "blur"
- },
- {
- "endMs": 9103,
- "startMs": 4923,
- "imageUrl": "https://stories.matolabs.dev/1e91daf1-32c6-487b-af1a-b55e633044c8-1-0.jpg",
- "animations": [
- {
- "to": 1.5,
- "from": 1,
- "type": "scale",
- "endMs": 4180,
- "startMs": 0
- },
- {
- "to": 0,
- "from": -6.060903269034625,
- "type": "rotate",
- "endMs": 4180,
- "startMs": 0
- }
- ],
- "exitTransition": "blur",
- "enterTransition": "blur"
- },
- {
- "endMs": 13840,
- "startMs": 9103,
- "imageUrl": "https://stories.matolabs.dev/1e91daf1-32c6-487b-af1a-b55e633044c8-2-0.jpg",
- "animations": [
- {
- "to": 1,
- "from": 1.5,
- "type": "scale",
- "endMs": 4737,
- "startMs": 0
- },
- {
- "to": 0,
- "from": -8.443021468201962,
- "type": "rotate",
- "endMs": 4737,
- "startMs": 0
- }
- ],
- "exitTransition": "blur",
- "enterTransition": "blur"
- },
- {
- "endMs": 21503,
- "startMs": 13840,
- "imageUrl": "https://stories.matolabs.dev/1e91daf1-32c6-487b-af1a-b55e633044c8-3-0.jpg",
- "animations": [
- {
- "to": 1.5,
- "from": 1,
- "type": "scale",
- "endMs": 7663,
- "startMs": 0
- },
- {
- "to": 0,
- "from": -6.571383632983783,
- "type": "rotate",
- "endMs": 7663,
- "startMs": 0
- }
- ],
- "exitTransition": "blur",
- "enterTransition": "blur"
- },
- {
- "endMs": 27726,
- "startMs": 21503,
- "imageUrl": "https://stories.matolabs.dev/1e91daf1-32c6-487b-af1a-b55e633044c8-4-0.jpg",
- "animations": [
- {
- "to": 1,
- "from": 1.5,
- "type": "scale",
- "endMs": 6223,
- "startMs": 0
- },
- {
- "to": 0,
- "from": -3.331646297233046,
- "type": "rotate",
- "endMs": 6223,
- "startMs": 0
- }
- ],
- "exitTransition": "blur",
- "enterTransition": "blur"
- }
- ],
- "shortTitle": "Underwater Treasures"
-}
diff --git a/packages/template-ai-video/public/content/history_of_venus/audio/11f4911a-f39f-4567-8963-41511d05b593.mp3 b/packages/template-ai-video/public/content/history_of_venus/audio/11f4911a-f39f-4567-8963-41511d05b593.mp3
new file mode 100644
index 0000000000..1aeec4f756
Binary files /dev/null and b/packages/template-ai-video/public/content/history_of_venus/audio/11f4911a-f39f-4567-8963-41511d05b593.mp3 differ
diff --git a/packages/template-ai-video/public/content/history_of_venus/audio/20cf0ab8-49cb-4ead-816d-6af0b588668a.mp3 b/packages/template-ai-video/public/content/history_of_venus/audio/20cf0ab8-49cb-4ead-816d-6af0b588668a.mp3
new file mode 100644
index 0000000000..95b8da2639
Binary files /dev/null and b/packages/template-ai-video/public/content/history_of_venus/audio/20cf0ab8-49cb-4ead-816d-6af0b588668a.mp3 differ
diff --git a/packages/template-ai-video/public/content/history_of_venus/audio/33b24fbd-dc71-4692-87af-fdff7661c222.mp3 b/packages/template-ai-video/public/content/history_of_venus/audio/33b24fbd-dc71-4692-87af-fdff7661c222.mp3
new file mode 100644
index 0000000000..d370445b13
Binary files /dev/null and b/packages/template-ai-video/public/content/history_of_venus/audio/33b24fbd-dc71-4692-87af-fdff7661c222.mp3 differ
diff --git a/packages/template-ai-video/public/content/history_of_venus/audio/5584e376-d02e-48fc-9e47-fc7bf86000af.mp3 b/packages/template-ai-video/public/content/history_of_venus/audio/5584e376-d02e-48fc-9e47-fc7bf86000af.mp3
new file mode 100644
index 0000000000..8c8b6f7ec7
Binary files /dev/null and b/packages/template-ai-video/public/content/history_of_venus/audio/5584e376-d02e-48fc-9e47-fc7bf86000af.mp3 differ
diff --git a/packages/template-ai-video/public/content/history_of_venus/audio/83e869e5-18fd-4de9-b70f-dc0f180da912.mp3 b/packages/template-ai-video/public/content/history_of_venus/audio/83e869e5-18fd-4de9-b70f-dc0f180da912.mp3
new file mode 100644
index 0000000000..c234dc656f
Binary files /dev/null and b/packages/template-ai-video/public/content/history_of_venus/audio/83e869e5-18fd-4de9-b70f-dc0f180da912.mp3 differ
diff --git a/packages/template-ai-video/public/content/history_of_venus/audio/90917ba0-8b7c-4309-a784-4f1fdc28d9fb.mp3 b/packages/template-ai-video/public/content/history_of_venus/audio/90917ba0-8b7c-4309-a784-4f1fdc28d9fb.mp3
new file mode 100644
index 0000000000..fdbdfc3a6a
Binary files /dev/null and b/packages/template-ai-video/public/content/history_of_venus/audio/90917ba0-8b7c-4309-a784-4f1fdc28d9fb.mp3 differ
diff --git a/packages/template-ai-video/public/content/history_of_venus/audio/919d538b-3407-440a-b26a-73a5321a3af0.mp3 b/packages/template-ai-video/public/content/history_of_venus/audio/919d538b-3407-440a-b26a-73a5321a3af0.mp3
new file mode 100644
index 0000000000..a6b4a112b2
Binary files /dev/null and b/packages/template-ai-video/public/content/history_of_venus/audio/919d538b-3407-440a-b26a-73a5321a3af0.mp3 differ
diff --git a/packages/template-ai-video/public/content/history_of_venus/audio/99af6411-714b-4b72-b66e-f6c02a184493.mp3 b/packages/template-ai-video/public/content/history_of_venus/audio/99af6411-714b-4b72-b66e-f6c02a184493.mp3
new file mode 100644
index 0000000000..0d12f8c0d5
Binary files /dev/null and b/packages/template-ai-video/public/content/history_of_venus/audio/99af6411-714b-4b72-b66e-f6c02a184493.mp3 differ
diff --git a/packages/template-ai-video/public/content/history_of_venus/descriptor.json b/packages/template-ai-video/public/content/history_of_venus/descriptor.json
new file mode 100644
index 0000000000..06237c75b7
--- /dev/null
+++ b/packages/template-ai-video/public/content/history_of_venus/descriptor.json
@@ -0,0 +1,2893 @@
+{
+ "shortTitle": "History of Venus",
+ "content": [
+ {
+ "text": "Once upon a time, long before telescopes watched the sky, people looked up and saw a bright star, not knowing it was Venus.",
+ "imageDescription": "A tranquil nighttime scene from ancient times, with people in simple robes gazing up at a sparkling, brilliantly bright 'star' in the deep indigo sky. The landscape is dotted with flickering bonfires and shadowy figures pointing upwards in wonder. There are no modern instruments, just the natural awe of humans watching the heavens.",
+ "uid": "83e869e5-18fd-4de9-b70f-dc0f180da912",
+ "audioTimestamps": {
+ "characters": [
+ "O",
+ "n",
+ "c",
+ "e",
+ " ",
+ "u",
+ "p",
+ "o",
+ "n",
+ " ",
+ "a",
+ " ",
+ "t",
+ "i",
+ "m",
+ "e",
+ ",",
+ " ",
+ "l",
+ "o",
+ "n",
+ "g",
+ " ",
+ "b",
+ "e",
+ "f",
+ "o",
+ "r",
+ "e",
+ " ",
+ "t",
+ "e",
+ "l",
+ "e",
+ "s",
+ "c",
+ "o",
+ "p",
+ "e",
+ "s",
+ " ",
+ "w",
+ "a",
+ "t",
+ "c",
+ "h",
+ "e",
+ "d",
+ " ",
+ "t",
+ "h",
+ "e",
+ " ",
+ "s",
+ "k",
+ "y",
+ ",",
+ " ",
+ "p",
+ "e",
+ "o",
+ "p",
+ "l",
+ "e",
+ " ",
+ "l",
+ "o",
+ "o",
+ "k",
+ "e",
+ "d",
+ " ",
+ "u",
+ "p",
+ " ",
+ "a",
+ "n",
+ "d",
+ " ",
+ "s",
+ "a",
+ "w",
+ " ",
+ "a",
+ " ",
+ "b",
+ "r",
+ "i",
+ "g",
+ "h",
+ "t",
+ " ",
+ "s",
+ "t",
+ "a",
+ "r",
+ ",",
+ " ",
+ "n",
+ "o",
+ "t",
+ " ",
+ "k",
+ "n",
+ "o",
+ "w",
+ "i",
+ "n",
+ "g",
+ " ",
+ "i",
+ "t",
+ " ",
+ "w",
+ "a",
+ "s",
+ " ",
+ "V",
+ "e",
+ "n",
+ "u",
+ "s",
+ "."
+ ],
+ "characterStartTimesSeconds": [
+ 0,
+ 0.186,
+ 0.255,
+ 0.29,
+ 0.325,
+ 0.36,
+ 0.406,
+ 0.453,
+ 0.522,
+ 0.557,
+ 0.604,
+ 0.627,
+ 0.685,
+ 0.731,
+ 0.882,
+ 0.952,
+ 1.126,
+ 1.161,
+ 1.405,
+ 1.474,
+ 1.556,
+ 1.614,
+ 1.637,
+ 1.695,
+ 1.73,
+ 1.788,
+ 1.834,
+ 1.869,
+ 1.927,
+ 1.962,
+ 1.997,
+ 2.043,
+ 2.113,
+ 2.183,
+ 2.241,
+ 2.31,
+ 2.368,
+ 2.438,
+ 2.485,
+ 2.531,
+ 2.554,
+ 2.612,
+ 2.647,
+ 2.717,
+ 2.763,
+ 2.81,
+ 2.844,
+ 2.879,
+ 2.902,
+ 2.937,
+ 2.961,
+ 2.984,
+ 3.007,
+ 3.042,
+ 3.1,
+ 3.17,
+ 3.448,
+ 3.564,
+ 3.843,
+ 3.901,
+ 3.947,
+ 3.994,
+ 4.04,
+ 4.087,
+ 4.11,
+ 4.145,
+ 4.18,
+ 4.226,
+ 4.261,
+ 4.296,
+ 4.342,
+ 4.365,
+ 4.412,
+ 4.47,
+ 4.516,
+ 4.574,
+ 4.598,
+ 4.621,
+ 4.656,
+ 4.714,
+ 4.76,
+ 4.853,
+ 4.899,
+ 4.957,
+ 4.992,
+ 5.05,
+ 5.108,
+ 5.178,
+ 5.213,
+ 5.248,
+ 5.283,
+ 5.329,
+ 5.41,
+ 5.457,
+ 5.538,
+ 5.689,
+ 5.817,
+ 5.933,
+ 6.142,
+ 6.211,
+ 6.269,
+ 6.304,
+ 6.339,
+ 6.374,
+ 6.409,
+ 6.444,
+ 6.49,
+ 6.548,
+ 6.571,
+ 6.594,
+ 6.641,
+ 6.676,
+ 6.699,
+ 6.734,
+ 6.769,
+ 6.803,
+ 6.838,
+ 6.896,
+ 6.931,
+ 7.001,
+ 7.082,
+ 7.198,
+ 7.314
+ ],
+ "characterEndTimesSeconds": [
+ 0.186,
+ 0.255,
+ 0.29,
+ 0.325,
+ 0.36,
+ 0.406,
+ 0.453,
+ 0.522,
+ 0.557,
+ 0.604,
+ 0.627,
+ 0.685,
+ 0.731,
+ 0.882,
+ 0.952,
+ 1.126,
+ 1.161,
+ 1.405,
+ 1.474,
+ 1.556,
+ 1.614,
+ 1.637,
+ 1.695,
+ 1.73,
+ 1.788,
+ 1.834,
+ 1.869,
+ 1.927,
+ 1.962,
+ 1.997,
+ 2.043,
+ 2.113,
+ 2.183,
+ 2.241,
+ 2.31,
+ 2.368,
+ 2.438,
+ 2.485,
+ 2.531,
+ 2.554,
+ 2.612,
+ 2.647,
+ 2.717,
+ 2.763,
+ 2.81,
+ 2.844,
+ 2.879,
+ 2.902,
+ 2.937,
+ 2.961,
+ 2.984,
+ 3.007,
+ 3.042,
+ 3.1,
+ 3.17,
+ 3.448,
+ 3.564,
+ 3.843,
+ 3.901,
+ 3.947,
+ 3.994,
+ 4.04,
+ 4.087,
+ 4.11,
+ 4.145,
+ 4.18,
+ 4.226,
+ 4.261,
+ 4.296,
+ 4.342,
+ 4.365,
+ 4.412,
+ 4.47,
+ 4.516,
+ 4.574,
+ 4.598,
+ 4.621,
+ 4.656,
+ 4.714,
+ 4.76,
+ 4.853,
+ 4.899,
+ 4.957,
+ 4.992,
+ 5.05,
+ 5.108,
+ 5.178,
+ 5.213,
+ 5.248,
+ 5.283,
+ 5.329,
+ 5.41,
+ 5.457,
+ 5.538,
+ 5.689,
+ 5.817,
+ 5.933,
+ 6.142,
+ 6.211,
+ 6.269,
+ 6.304,
+ 6.339,
+ 6.374,
+ 6.409,
+ 6.444,
+ 6.49,
+ 6.548,
+ 6.571,
+ 6.594,
+ 6.641,
+ 6.676,
+ 6.699,
+ 6.734,
+ 6.769,
+ 6.803,
+ 6.838,
+ 6.896,
+ 6.931,
+ 7.001,
+ 7.082,
+ 7.198,
+ 7.314,
+ 7.616
+ ]
+ }
+ },
+ {
+ "text": "The ancient Romans named it after their goddess of love because of its beautiful glow.",
+ "imageDescription": "A classical Roman courtyard where wise men, women in togas, and children admire Venus's radiant glow in the sky. A statue of the goddess Venus stands prominently, bathed in the same soft, glowing light as the 'star' above, reinforcing the connection between the goddess and the planet.",
+ "uid": "99af6411-714b-4b72-b66e-f6c02a184493",
+ "audioTimestamps": {
+ "characters": [
+ "T",
+ "h",
+ "e",
+ " ",
+ "a",
+ "n",
+ "c",
+ "i",
+ "e",
+ "n",
+ "t",
+ " ",
+ "R",
+ "o",
+ "m",
+ "a",
+ "n",
+ "s",
+ " ",
+ "n",
+ "a",
+ "m",
+ "e",
+ "d",
+ " ",
+ "i",
+ "t",
+ " ",
+ "a",
+ "f",
+ "t",
+ "e",
+ "r",
+ " ",
+ "t",
+ "h",
+ "e",
+ "i",
+ "r",
+ " ",
+ "g",
+ "o",
+ "d",
+ "d",
+ "e",
+ "s",
+ "s",
+ " ",
+ "o",
+ "f",
+ " ",
+ "l",
+ "o",
+ "v",
+ "e",
+ " ",
+ "b",
+ "e",
+ "c",
+ "a",
+ "u",
+ "s",
+ "e",
+ " ",
+ "o",
+ "f",
+ " ",
+ "i",
+ "t",
+ "s",
+ " ",
+ "b",
+ "e",
+ "a",
+ "u",
+ "t",
+ "i",
+ "f",
+ "u",
+ "l",
+ " ",
+ "g",
+ "l",
+ "o",
+ "w",
+ "."
+ ],
+ "characterStartTimesSeconds": [
+ 0,
+ 0.163,
+ 0.209,
+ 0.232,
+ 0.29,
+ 0.325,
+ 0.383,
+ 0.418,
+ 0.464,
+ 0.499,
+ 0.534,
+ 0.557,
+ 0.615,
+ 0.662,
+ 0.743,
+ 0.813,
+ 0.871,
+ 0.917,
+ 0.975,
+ 1.045,
+ 1.091,
+ 1.149,
+ 1.196,
+ 1.242,
+ 1.265,
+ 1.3,
+ 1.335,
+ 1.37,
+ 1.416,
+ 1.474,
+ 1.533,
+ 1.579,
+ 1.614,
+ 1.637,
+ 1.683,
+ 1.707,
+ 1.73,
+ 1.765,
+ 1.8,
+ 1.834,
+ 1.881,
+ 1.927,
+ 1.997,
+ 2.055,
+ 2.09,
+ 2.125,
+ 2.183,
+ 2.229,
+ 2.264,
+ 2.299,
+ 2.322,
+ 2.392,
+ 2.438,
+ 2.519,
+ 2.566,
+ 2.612,
+ 2.659,
+ 2.694,
+ 2.752,
+ 2.798,
+ 2.833,
+ 2.879,
+ 2.914,
+ 2.949,
+ 2.984,
+ 3.007,
+ 3.03,
+ 3.077,
+ 3.111,
+ 3.158,
+ 3.193,
+ 3.239,
+ 3.274,
+ 3.32,
+ 3.367,
+ 3.402,
+ 3.448,
+ 3.495,
+ 3.553,
+ 3.611,
+ 3.657,
+ 3.715,
+ 3.762,
+ 3.843,
+ 3.959,
+ 4.029
+ ],
+ "characterEndTimesSeconds": [
+ 0.163,
+ 0.209,
+ 0.232,
+ 0.29,
+ 0.325,
+ 0.383,
+ 0.418,
+ 0.464,
+ 0.499,
+ 0.534,
+ 0.557,
+ 0.615,
+ 0.662,
+ 0.743,
+ 0.813,
+ 0.871,
+ 0.917,
+ 0.975,
+ 1.045,
+ 1.091,
+ 1.149,
+ 1.196,
+ 1.242,
+ 1.265,
+ 1.3,
+ 1.335,
+ 1.37,
+ 1.416,
+ 1.474,
+ 1.533,
+ 1.579,
+ 1.614,
+ 1.637,
+ 1.683,
+ 1.707,
+ 1.73,
+ 1.765,
+ 1.8,
+ 1.834,
+ 1.881,
+ 1.927,
+ 1.997,
+ 2.055,
+ 2.09,
+ 2.125,
+ 2.183,
+ 2.229,
+ 2.264,
+ 2.299,
+ 2.322,
+ 2.392,
+ 2.438,
+ 2.519,
+ 2.566,
+ 2.612,
+ 2.659,
+ 2.694,
+ 2.752,
+ 2.798,
+ 2.833,
+ 2.879,
+ 2.914,
+ 2.949,
+ 2.984,
+ 3.007,
+ 3.03,
+ 3.077,
+ 3.111,
+ 3.158,
+ 3.193,
+ 3.239,
+ 3.274,
+ 3.32,
+ 3.367,
+ 3.402,
+ 3.448,
+ 3.495,
+ 3.553,
+ 3.611,
+ 3.657,
+ 3.715,
+ 3.762,
+ 3.843,
+ 3.959,
+ 4.029,
+ 4.319
+ ]
+ }
+ },
+ {
+ "text": "Incredibly, there were times it was called both the 'Morning Star' and the 'Evening Star'—no one realized they were the same planet!",
+ "imageDescription": "A magical transition scene showing the same bright planet in a pastel dawn sky labeled 'Morning Star' on one horizon, and again glimmering over a sunset landscape labeled 'Evening Star' on the other. Two groups of people observe at different times, unaware they see the same object.",
+ "uid": "919d538b-3407-440a-b26a-73a5321a3af0",
+ "audioTimestamps": {
+ "characters": [
+ "I",
+ "n",
+ "c",
+ "r",
+ "e",
+ "d",
+ "i",
+ "b",
+ "l",
+ "y",
+ ",",
+ " ",
+ "t",
+ "h",
+ "e",
+ "r",
+ "e",
+ " ",
+ "w",
+ "e",
+ "r",
+ "e",
+ " ",
+ "t",
+ "i",
+ "m",
+ "e",
+ "s",
+ " ",
+ "i",
+ "t",
+ " ",
+ "w",
+ "a",
+ "s",
+ " ",
+ "c",
+ "a",
+ "l",
+ "l",
+ "e",
+ "d",
+ " ",
+ "b",
+ "o",
+ "t",
+ "h",
+ " ",
+ "t",
+ "h",
+ "e",
+ " ",
+ "'",
+ "M",
+ "o",
+ "r",
+ "n",
+ "i",
+ "n",
+ "g",
+ " ",
+ "S",
+ "t",
+ "a",
+ "r",
+ "'",
+ " ",
+ "a",
+ "n",
+ "d",
+ " ",
+ "t",
+ "h",
+ "e",
+ " ",
+ "'",
+ "E",
+ "v",
+ "e",
+ "n",
+ "i",
+ "n",
+ "g",
+ " ",
+ "S",
+ "t",
+ "a",
+ "r",
+ "'",
+ "—",
+ "n",
+ "o",
+ " ",
+ "o",
+ "n",
+ "e",
+ " ",
+ "r",
+ "e",
+ "a",
+ "l",
+ "i",
+ "z",
+ "e",
+ "d",
+ " ",
+ "t",
+ "h",
+ "e",
+ "y",
+ " ",
+ "w",
+ "e",
+ "r",
+ "e",
+ " ",
+ "t",
+ "h",
+ "e",
+ " ",
+ "s",
+ "a",
+ "m",
+ "e",
+ " ",
+ "p",
+ "l",
+ "a",
+ "n",
+ "e",
+ "t",
+ "!"
+ ],
+ "characterStartTimesSeconds": [
+ 0,
+ 0.197,
+ 0.279,
+ 0.337,
+ 0.383,
+ 0.43,
+ 0.488,
+ 0.534,
+ 0.604,
+ 0.673,
+ 0.708,
+ 0.731,
+ 0.755,
+ 0.778,
+ 0.801,
+ 0.836,
+ 0.871,
+ 0.894,
+ 0.929,
+ 0.952,
+ 0.987,
+ 1.022,
+ 1.045,
+ 1.08,
+ 1.126,
+ 1.207,
+ 1.265,
+ 1.324,
+ 1.358,
+ 1.393,
+ 1.428,
+ 1.451,
+ 1.486,
+ 1.509,
+ 1.544,
+ 1.567,
+ 1.625,
+ 1.66,
+ 1.707,
+ 1.741,
+ 1.788,
+ 1.834,
+ 1.858,
+ 1.892,
+ 1.927,
+ 1.974,
+ 2.02,
+ 2.055,
+ 2.09,
+ 2.113,
+ 2.136,
+ 2.159,
+ 2.183,
+ 2.206,
+ 2.252,
+ 2.322,
+ 2.368,
+ 2.415,
+ 2.461,
+ 2.485,
+ 2.519,
+ 2.589,
+ 2.635,
+ 2.705,
+ 2.856,
+ 2.949,
+ 3.123,
+ 3.297,
+ 3.355,
+ 3.402,
+ 3.437,
+ 3.483,
+ 3.506,
+ 3.529,
+ 3.553,
+ 3.587,
+ 3.611,
+ 3.692,
+ 3.738,
+ 3.773,
+ 3.82,
+ 3.866,
+ 3.889,
+ 3.913,
+ 3.982,
+ 4.017,
+ 4.087,
+ 4.203,
+ 4.272,
+ 4.423,
+ 4.69,
+ 4.76,
+ 4.807,
+ 4.865,
+ 4.899,
+ 4.946,
+ 4.981,
+ 5.027,
+ 5.074,
+ 5.132,
+ 5.19,
+ 5.259,
+ 5.341,
+ 5.387,
+ 5.445,
+ 5.468,
+ 5.503,
+ 5.526,
+ 5.55,
+ 5.584,
+ 5.608,
+ 5.642,
+ 5.666,
+ 5.7,
+ 5.724,
+ 5.747,
+ 5.782,
+ 5.805,
+ 5.828,
+ 5.851,
+ 5.886,
+ 5.933,
+ 5.991,
+ 6.037,
+ 6.084,
+ 6.118,
+ 6.165,
+ 6.223,
+ 6.293,
+ 6.362,
+ 6.432,
+ 6.548
+ ],
+ "characterEndTimesSeconds": [
+ 0.197,
+ 0.279,
+ 0.337,
+ 0.383,
+ 0.43,
+ 0.488,
+ 0.534,
+ 0.604,
+ 0.673,
+ 0.708,
+ 0.731,
+ 0.755,
+ 0.778,
+ 0.801,
+ 0.836,
+ 0.871,
+ 0.894,
+ 0.929,
+ 0.952,
+ 0.987,
+ 1.022,
+ 1.045,
+ 1.08,
+ 1.126,
+ 1.207,
+ 1.265,
+ 1.324,
+ 1.358,
+ 1.393,
+ 1.428,
+ 1.451,
+ 1.486,
+ 1.509,
+ 1.544,
+ 1.567,
+ 1.625,
+ 1.66,
+ 1.707,
+ 1.741,
+ 1.788,
+ 1.834,
+ 1.858,
+ 1.892,
+ 1.927,
+ 1.974,
+ 2.02,
+ 2.055,
+ 2.09,
+ 2.113,
+ 2.136,
+ 2.159,
+ 2.183,
+ 2.206,
+ 2.252,
+ 2.322,
+ 2.368,
+ 2.415,
+ 2.461,
+ 2.485,
+ 2.519,
+ 2.589,
+ 2.635,
+ 2.705,
+ 2.856,
+ 2.949,
+ 3.123,
+ 3.297,
+ 3.355,
+ 3.402,
+ 3.437,
+ 3.483,
+ 3.506,
+ 3.529,
+ 3.553,
+ 3.587,
+ 3.611,
+ 3.692,
+ 3.738,
+ 3.773,
+ 3.82,
+ 3.866,
+ 3.889,
+ 3.913,
+ 3.982,
+ 4.017,
+ 4.087,
+ 4.203,
+ 4.272,
+ 4.423,
+ 4.69,
+ 4.76,
+ 4.807,
+ 4.865,
+ 4.899,
+ 4.946,
+ 4.981,
+ 5.027,
+ 5.074,
+ 5.132,
+ 5.19,
+ 5.259,
+ 5.341,
+ 5.387,
+ 5.445,
+ 5.468,
+ 5.503,
+ 5.526,
+ 5.55,
+ 5.584,
+ 5.608,
+ 5.642,
+ 5.666,
+ 5.7,
+ 5.724,
+ 5.747,
+ 5.782,
+ 5.805,
+ 5.828,
+ 5.851,
+ 5.886,
+ 5.933,
+ 5.991,
+ 6.037,
+ 6.084,
+ 6.118,
+ 6.165,
+ 6.223,
+ 6.293,
+ 6.362,
+ 6.432,
+ 6.548,
+ 6.827
+ ]
+ }
+ },
+ {
+ "text": "Unlike any other planet, Venus spins backwards, so the Sun rises in the west and sets in the east.",
+ "imageDescription": "A surreal Venusian landscape with rocky plains and an enormous, thickly clouded sky. The Sun is shown rising in the western part of the sky with unusual shadows, highlighting the alien concept of a backward sunrise.",
+ "uid": "20cf0ab8-49cb-4ead-816d-6af0b588668a",
+ "audioTimestamps": {
+ "characters": [
+ "U",
+ "n",
+ "l",
+ "i",
+ "k",
+ "e",
+ " ",
+ "a",
+ "n",
+ "y",
+ " ",
+ "o",
+ "t",
+ "h",
+ "e",
+ "r",
+ " ",
+ "p",
+ "l",
+ "a",
+ "n",
+ "e",
+ "t",
+ ",",
+ " ",
+ "V",
+ "e",
+ "n",
+ "u",
+ "s",
+ " ",
+ "s",
+ "p",
+ "i",
+ "n",
+ "s",
+ " ",
+ "b",
+ "a",
+ "c",
+ "k",
+ "w",
+ "a",
+ "r",
+ "d",
+ "s",
+ ",",
+ " ",
+ "s",
+ "o",
+ " ",
+ "t",
+ "h",
+ "e",
+ " ",
+ "S",
+ "u",
+ "n",
+ " ",
+ "r",
+ "i",
+ "s",
+ "e",
+ "s",
+ " ",
+ "i",
+ "n",
+ " ",
+ "t",
+ "h",
+ "e",
+ " ",
+ "w",
+ "e",
+ "s",
+ "t",
+ " ",
+ "a",
+ "n",
+ "d",
+ " ",
+ "s",
+ "e",
+ "t",
+ "s",
+ " ",
+ "i",
+ "n",
+ " ",
+ "t",
+ "h",
+ "e",
+ " ",
+ "e",
+ "a",
+ "s",
+ "t",
+ "."
+ ],
+ "characterStartTimesSeconds": [
+ 0,
+ 0.209,
+ 0.29,
+ 0.348,
+ 0.395,
+ 0.441,
+ 0.488,
+ 0.534,
+ 0.569,
+ 0.639,
+ 0.685,
+ 0.743,
+ 0.789,
+ 0.836,
+ 0.859,
+ 0.894,
+ 0.929,
+ 0.987,
+ 1.033,
+ 1.091,
+ 1.161,
+ 1.242,
+ 1.312,
+ 1.428,
+ 1.498,
+ 1.614,
+ 1.683,
+ 1.753,
+ 1.823,
+ 1.892,
+ 1.939,
+ 1.974,
+ 2.02,
+ 2.078,
+ 2.136,
+ 2.194,
+ 2.252,
+ 2.322,
+ 2.368,
+ 2.426,
+ 2.473,
+ 2.531,
+ 2.601,
+ 2.659,
+ 2.705,
+ 2.775,
+ 2.891,
+ 3.042,
+ 3.193,
+ 3.262,
+ 3.332,
+ 3.39,
+ 3.413,
+ 3.437,
+ 3.46,
+ 3.506,
+ 3.553,
+ 3.646,
+ 3.692,
+ 3.762,
+ 3.808,
+ 3.878,
+ 3.936,
+ 4.029,
+ 4.063,
+ 4.11,
+ 4.133,
+ 4.168,
+ 4.203,
+ 4.226,
+ 4.249,
+ 4.272,
+ 4.307,
+ 4.342,
+ 4.458,
+ 4.54,
+ 4.609,
+ 4.679,
+ 4.702,
+ 4.737,
+ 4.772,
+ 4.83,
+ 4.865,
+ 4.946,
+ 5.004,
+ 5.039,
+ 5.085,
+ 5.108,
+ 5.143,
+ 5.178,
+ 5.201,
+ 5.224,
+ 5.248,
+ 5.306,
+ 5.375,
+ 5.433,
+ 5.515,
+ 5.666
+ ],
+ "characterEndTimesSeconds": [
+ 0.209,
+ 0.29,
+ 0.348,
+ 0.395,
+ 0.441,
+ 0.488,
+ 0.534,
+ 0.569,
+ 0.639,
+ 0.685,
+ 0.743,
+ 0.789,
+ 0.836,
+ 0.859,
+ 0.894,
+ 0.929,
+ 0.987,
+ 1.033,
+ 1.091,
+ 1.161,
+ 1.242,
+ 1.312,
+ 1.428,
+ 1.498,
+ 1.614,
+ 1.683,
+ 1.753,
+ 1.823,
+ 1.892,
+ 1.939,
+ 1.974,
+ 2.02,
+ 2.078,
+ 2.136,
+ 2.194,
+ 2.252,
+ 2.322,
+ 2.368,
+ 2.426,
+ 2.473,
+ 2.531,
+ 2.601,
+ 2.659,
+ 2.705,
+ 2.775,
+ 2.891,
+ 3.042,
+ 3.193,
+ 3.262,
+ 3.332,
+ 3.39,
+ 3.413,
+ 3.437,
+ 3.46,
+ 3.506,
+ 3.553,
+ 3.646,
+ 3.692,
+ 3.762,
+ 3.808,
+ 3.878,
+ 3.936,
+ 4.029,
+ 4.063,
+ 4.11,
+ 4.133,
+ 4.168,
+ 4.203,
+ 4.226,
+ 4.249,
+ 4.272,
+ 4.307,
+ 4.342,
+ 4.458,
+ 4.54,
+ 4.609,
+ 4.679,
+ 4.702,
+ 4.737,
+ 4.772,
+ 4.83,
+ 4.865,
+ 4.946,
+ 5.004,
+ 5.039,
+ 5.085,
+ 5.108,
+ 5.143,
+ 5.178,
+ 5.201,
+ 5.224,
+ 5.248,
+ 5.306,
+ 5.375,
+ 5.433,
+ 5.515,
+ 5.666,
+ 5.991
+ ]
+ }
+ },
+ {
+ "text": "Its days are longer than its years, making time seem strange up there.",
+ "imageDescription": "A dreamlike, time-warped scene featuring the surface of Venus with swirling clocks melting over jagged rocks and a skewed horizon hinting at an odd flow of time—a visual metaphor for days lasting longer than years.",
+ "uid": "11f4911a-f39f-4567-8963-41511d05b593",
+ "audioTimestamps": {
+ "characters": [
+ "I",
+ "t",
+ "s",
+ " ",
+ "d",
+ "a",
+ "y",
+ "s",
+ " ",
+ "a",
+ "r",
+ "e",
+ " ",
+ "l",
+ "o",
+ "n",
+ "g",
+ "e",
+ "r",
+ " ",
+ "t",
+ "h",
+ "a",
+ "n",
+ " ",
+ "i",
+ "t",
+ "s",
+ " ",
+ "y",
+ "e",
+ "a",
+ "r",
+ "s",
+ ",",
+ " ",
+ "m",
+ "a",
+ "k",
+ "i",
+ "n",
+ "g",
+ " ",
+ "t",
+ "i",
+ "m",
+ "e",
+ " ",
+ "s",
+ "e",
+ "e",
+ "m",
+ " ",
+ "s",
+ "t",
+ "r",
+ "a",
+ "n",
+ "g",
+ "e",
+ " ",
+ "u",
+ "p",
+ " ",
+ "t",
+ "h",
+ "e",
+ "r",
+ "e",
+ "."
+ ],
+ "characterStartTimesSeconds": [
+ 0,
+ 0.232,
+ 0.29,
+ 0.337,
+ 0.383,
+ 0.43,
+ 0.488,
+ 0.546,
+ 0.592,
+ 0.627,
+ 0.662,
+ 0.708,
+ 0.731,
+ 0.766,
+ 0.813,
+ 0.882,
+ 0.929,
+ 0.987,
+ 1.033,
+ 1.068,
+ 1.115,
+ 1.138,
+ 1.173,
+ 1.219,
+ 1.242,
+ 1.289,
+ 1.324,
+ 1.37,
+ 1.405,
+ 1.463,
+ 1.509,
+ 1.567,
+ 1.614,
+ 1.73,
+ 1.881,
+ 2.055,
+ 2.264,
+ 2.322,
+ 2.368,
+ 2.426,
+ 2.485,
+ 2.519,
+ 2.543,
+ 2.589,
+ 2.635,
+ 2.717,
+ 2.775,
+ 2.821,
+ 2.856,
+ 2.902,
+ 2.949,
+ 3.007,
+ 3.053,
+ 3.123,
+ 3.17,
+ 3.216,
+ 3.274,
+ 3.332,
+ 3.39,
+ 3.448,
+ 3.495,
+ 3.529,
+ 3.576,
+ 3.622,
+ 3.669,
+ 3.692,
+ 3.715,
+ 3.773,
+ 3.82,
+ 3.947
+ ],
+ "characterEndTimesSeconds": [
+ 0.232,
+ 0.29,
+ 0.337,
+ 0.383,
+ 0.43,
+ 0.488,
+ 0.546,
+ 0.592,
+ 0.627,
+ 0.662,
+ 0.708,
+ 0.731,
+ 0.766,
+ 0.813,
+ 0.882,
+ 0.929,
+ 0.987,
+ 1.033,
+ 1.068,
+ 1.115,
+ 1.138,
+ 1.173,
+ 1.219,
+ 1.242,
+ 1.289,
+ 1.324,
+ 1.37,
+ 1.405,
+ 1.463,
+ 1.509,
+ 1.567,
+ 1.614,
+ 1.73,
+ 1.881,
+ 2.055,
+ 2.264,
+ 2.322,
+ 2.368,
+ 2.426,
+ 2.485,
+ 2.519,
+ 2.543,
+ 2.589,
+ 2.635,
+ 2.717,
+ 2.775,
+ 2.821,
+ 2.856,
+ 2.902,
+ 2.949,
+ 3.007,
+ 3.053,
+ 3.123,
+ 3.17,
+ 3.216,
+ 3.274,
+ 3.332,
+ 3.39,
+ 3.448,
+ 3.495,
+ 3.529,
+ 3.576,
+ 3.622,
+ 3.669,
+ 3.692,
+ 3.715,
+ 3.773,
+ 3.82,
+ 3.947,
+ 4.133
+ ]
+ }
+ },
+ {
+ "text": "Volcanoes cover much of its surface, but thick clouds of toxic gas hide them from our view.",
+ "imageDescription": "A dramatic, cross-section image showing tall, craggy volcanoes erupting on Venus’s surface, with waves of bright lava flows partially obscured by dense, swirling yellow-brown clouds, conveying the mysterious hidden world beneath.",
+ "uid": "5584e376-d02e-48fc-9e47-fc7bf86000af",
+ "audioTimestamps": {
+ "characters": [
+ "V",
+ "o",
+ "l",
+ "c",
+ "a",
+ "n",
+ "o",
+ "e",
+ "s",
+ " ",
+ "c",
+ "o",
+ "v",
+ "e",
+ "r",
+ " ",
+ "m",
+ "u",
+ "c",
+ "h",
+ " ",
+ "o",
+ "f",
+ " ",
+ "i",
+ "t",
+ "s",
+ " ",
+ "s",
+ "u",
+ "r",
+ "f",
+ "a",
+ "c",
+ "e",
+ ",",
+ " ",
+ "b",
+ "u",
+ "t",
+ " ",
+ "t",
+ "h",
+ "i",
+ "c",
+ "k",
+ " ",
+ "c",
+ "l",
+ "o",
+ "u",
+ "d",
+ "s",
+ " ",
+ "o",
+ "f",
+ " ",
+ "t",
+ "o",
+ "x",
+ "i",
+ "c",
+ " ",
+ "g",
+ "a",
+ "s",
+ " ",
+ "h",
+ "i",
+ "d",
+ "e",
+ " ",
+ "t",
+ "h",
+ "e",
+ "m",
+ " ",
+ "f",
+ "r",
+ "o",
+ "m",
+ " ",
+ "o",
+ "u",
+ "r",
+ " ",
+ "v",
+ "i",
+ "e",
+ "w",
+ "."
+ ],
+ "characterStartTimesSeconds": [
+ 0,
+ 0.209,
+ 0.267,
+ 0.313,
+ 0.372,
+ 0.464,
+ 0.546,
+ 0.592,
+ 0.65,
+ 0.685,
+ 0.743,
+ 0.778,
+ 0.848,
+ 0.894,
+ 0.94,
+ 0.975,
+ 1.045,
+ 1.08,
+ 1.138,
+ 1.184,
+ 1.219,
+ 1.254,
+ 1.277,
+ 1.312,
+ 1.358,
+ 1.393,
+ 1.44,
+ 1.474,
+ 1.498,
+ 1.533,
+ 1.591,
+ 1.649,
+ 1.707,
+ 1.8,
+ 1.858,
+ 2.009,
+ 2.032,
+ 2.148,
+ 2.218,
+ 2.276,
+ 2.322,
+ 2.38,
+ 2.403,
+ 2.461,
+ 2.508,
+ 2.554,
+ 2.589,
+ 2.647,
+ 2.682,
+ 2.752,
+ 2.81,
+ 2.856,
+ 2.914,
+ 2.961,
+ 2.995,
+ 3.019,
+ 3.053,
+ 3.111,
+ 3.158,
+ 3.309,
+ 3.402,
+ 3.495,
+ 3.541,
+ 3.587,
+ 3.646,
+ 3.82,
+ 3.889,
+ 3.959,
+ 4.017,
+ 4.087,
+ 4.133,
+ 4.18,
+ 4.214,
+ 4.238,
+ 4.261,
+ 4.296,
+ 4.331,
+ 4.389,
+ 4.412,
+ 4.447,
+ 4.481,
+ 4.516,
+ 4.563,
+ 4.598,
+ 4.632,
+ 4.667,
+ 4.714,
+ 4.76,
+ 4.807,
+ 4.853,
+ 4.934
+ ],
+ "characterEndTimesSeconds": [
+ 0.209,
+ 0.267,
+ 0.313,
+ 0.372,
+ 0.464,
+ 0.546,
+ 0.592,
+ 0.65,
+ 0.685,
+ 0.743,
+ 0.778,
+ 0.848,
+ 0.894,
+ 0.94,
+ 0.975,
+ 1.045,
+ 1.08,
+ 1.138,
+ 1.184,
+ 1.219,
+ 1.254,
+ 1.277,
+ 1.312,
+ 1.358,
+ 1.393,
+ 1.44,
+ 1.474,
+ 1.498,
+ 1.533,
+ 1.591,
+ 1.649,
+ 1.707,
+ 1.8,
+ 1.858,
+ 2.009,
+ 2.032,
+ 2.148,
+ 2.218,
+ 2.276,
+ 2.322,
+ 2.38,
+ 2.403,
+ 2.461,
+ 2.508,
+ 2.554,
+ 2.589,
+ 2.647,
+ 2.682,
+ 2.752,
+ 2.81,
+ 2.856,
+ 2.914,
+ 2.961,
+ 2.995,
+ 3.019,
+ 3.053,
+ 3.111,
+ 3.158,
+ 3.309,
+ 3.402,
+ 3.495,
+ 3.541,
+ 3.587,
+ 3.646,
+ 3.82,
+ 3.889,
+ 3.959,
+ 4.017,
+ 4.087,
+ 4.133,
+ 4.18,
+ 4.214,
+ 4.238,
+ 4.261,
+ 4.296,
+ 4.331,
+ 4.389,
+ 4.412,
+ 4.447,
+ 4.481,
+ 4.516,
+ 4.563,
+ 4.598,
+ 4.632,
+ 4.667,
+ 4.714,
+ 4.76,
+ 4.807,
+ 4.853,
+ 4.934,
+ 5.201
+ ]
+ }
+ },
+ {
+ "text": "Although it is Earth's twin in size, Venus is the hottest planet, with surface temperatures high enough to melt lead.",
+ "imageDescription": "A comparative illustration showing Venus and Earth side by side in space, similar in size, but with Venus’s surface glowing intensely red and orange to represent extreme heat; a thermometer graphic dramatically exceeding the melting point of lead.",
+ "uid": "33b24fbd-dc71-4692-87af-fdff7661c222",
+ "audioTimestamps": {
+ "characters": [
+ "A",
+ "l",
+ "t",
+ "h",
+ "o",
+ "u",
+ "g",
+ "h",
+ " ",
+ "i",
+ "t",
+ " ",
+ "i",
+ "s",
+ " ",
+ "E",
+ "a",
+ "r",
+ "t",
+ "h",
+ "'",
+ "s",
+ " ",
+ "t",
+ "w",
+ "i",
+ "n",
+ " ",
+ "i",
+ "n",
+ " ",
+ "s",
+ "i",
+ "z",
+ "e",
+ ",",
+ " ",
+ "V",
+ "e",
+ "n",
+ "u",
+ "s",
+ " ",
+ "i",
+ "s",
+ " ",
+ "t",
+ "h",
+ "e",
+ " ",
+ "h",
+ "o",
+ "t",
+ "t",
+ "e",
+ "s",
+ "t",
+ " ",
+ "p",
+ "l",
+ "a",
+ "n",
+ "e",
+ "t",
+ ",",
+ " ",
+ "w",
+ "i",
+ "t",
+ "h",
+ " ",
+ "s",
+ "u",
+ "r",
+ "f",
+ "a",
+ "c",
+ "e",
+ " ",
+ "t",
+ "e",
+ "m",
+ "p",
+ "e",
+ "r",
+ "a",
+ "t",
+ "u",
+ "r",
+ "e",
+ "s",
+ " ",
+ "h",
+ "i",
+ "g",
+ "h",
+ " ",
+ "e",
+ "n",
+ "o",
+ "u",
+ "g",
+ "h",
+ " ",
+ "t",
+ "o",
+ " ",
+ "m",
+ "e",
+ "l",
+ "t",
+ " ",
+ "l",
+ "e",
+ "a",
+ "d",
+ "."
+ ],
+ "characterStartTimesSeconds": [
+ 0,
+ 0.221,
+ 0.279,
+ 0.313,
+ 0.337,
+ 0.372,
+ 0.395,
+ 0.43,
+ 0.453,
+ 0.488,
+ 0.511,
+ 0.546,
+ 0.58,
+ 0.627,
+ 0.662,
+ 0.72,
+ 0.755,
+ 0.789,
+ 0.824,
+ 0.882,
+ 0.906,
+ 0.952,
+ 0.987,
+ 1.022,
+ 1.08,
+ 1.149,
+ 1.231,
+ 1.277,
+ 1.335,
+ 1.37,
+ 1.405,
+ 1.486,
+ 1.544,
+ 1.753,
+ 1.823,
+ 1.997,
+ 2.032,
+ 2.206,
+ 2.276,
+ 2.345,
+ 2.426,
+ 2.508,
+ 2.554,
+ 2.612,
+ 2.659,
+ 2.694,
+ 2.74,
+ 2.763,
+ 2.786,
+ 2.81,
+ 2.856,
+ 2.902,
+ 2.949,
+ 2.995,
+ 3.042,
+ 3.088,
+ 3.123,
+ 3.158,
+ 3.204,
+ 3.251,
+ 3.309,
+ 3.379,
+ 3.46,
+ 3.529,
+ 3.646,
+ 3.762,
+ 3.971,
+ 4.029,
+ 4.075,
+ 4.11,
+ 4.145,
+ 4.191,
+ 4.238,
+ 4.284,
+ 4.342,
+ 4.389,
+ 4.447,
+ 4.493,
+ 4.516,
+ 4.551,
+ 4.574,
+ 4.621,
+ 4.667,
+ 4.702,
+ 4.737,
+ 4.772,
+ 4.807,
+ 4.853,
+ 4.899,
+ 4.946,
+ 4.992,
+ 5.016,
+ 5.074,
+ 5.108,
+ 5.166,
+ 5.201,
+ 5.236,
+ 5.271,
+ 5.306,
+ 5.352,
+ 5.387,
+ 5.422,
+ 5.457,
+ 5.492,
+ 5.538,
+ 5.561,
+ 5.596,
+ 5.666,
+ 5.701,
+ 5.747,
+ 5.793,
+ 5.84,
+ 5.898,
+ 5.944,
+ 6.014,
+ 6.072,
+ 6.188
+ ],
+ "characterEndTimesSeconds": [
+ 0.221,
+ 0.279,
+ 0.313,
+ 0.337,
+ 0.372,
+ 0.395,
+ 0.43,
+ 0.453,
+ 0.488,
+ 0.511,
+ 0.546,
+ 0.58,
+ 0.627,
+ 0.662,
+ 0.72,
+ 0.755,
+ 0.789,
+ 0.824,
+ 0.882,
+ 0.906,
+ 0.952,
+ 0.987,
+ 1.022,
+ 1.08,
+ 1.149,
+ 1.231,
+ 1.277,
+ 1.335,
+ 1.37,
+ 1.405,
+ 1.486,
+ 1.544,
+ 1.753,
+ 1.823,
+ 1.997,
+ 2.032,
+ 2.206,
+ 2.276,
+ 2.345,
+ 2.426,
+ 2.508,
+ 2.554,
+ 2.612,
+ 2.659,
+ 2.694,
+ 2.74,
+ 2.763,
+ 2.786,
+ 2.81,
+ 2.856,
+ 2.902,
+ 2.949,
+ 2.995,
+ 3.042,
+ 3.088,
+ 3.123,
+ 3.158,
+ 3.204,
+ 3.251,
+ 3.309,
+ 3.379,
+ 3.46,
+ 3.529,
+ 3.646,
+ 3.762,
+ 3.971,
+ 4.029,
+ 4.075,
+ 4.11,
+ 4.145,
+ 4.191,
+ 4.238,
+ 4.284,
+ 4.342,
+ 4.389,
+ 4.447,
+ 4.493,
+ 4.516,
+ 4.551,
+ 4.574,
+ 4.621,
+ 4.667,
+ 4.702,
+ 4.737,
+ 4.772,
+ 4.807,
+ 4.853,
+ 4.899,
+ 4.946,
+ 4.992,
+ 5.016,
+ 5.074,
+ 5.108,
+ 5.166,
+ 5.201,
+ 5.236,
+ 5.271,
+ 5.306,
+ 5.352,
+ 5.387,
+ 5.422,
+ 5.457,
+ 5.492,
+ 5.538,
+ 5.561,
+ 5.596,
+ 5.666,
+ 5.701,
+ 5.747,
+ 5.793,
+ 5.84,
+ 5.898,
+ 5.944,
+ 6.014,
+ 6.072,
+ 6.188,
+ 6.409
+ ]
+ }
+ },
+ {
+ "text": "Despite its harsh environment, it continues to spark our imagination, reminding us that mysteries often hide in plain sight. People dream that one day, we might find a way to explore its hidden secrets up close.",
+ "imageDescription": "An imaginative vision of future explorers in advanced protective suits standing beside a futuristic spacecraft on Venus’s surface. Swirling clouds and shimmering hazes fill the sky, while the explorers look out with wonder, symbolizing hope and the human thirst for discovery.",
+ "uid": "90917ba0-8b7c-4309-a784-4f1fdc28d9fb",
+ "audioTimestamps": {
+ "characters": [
+ "D",
+ "e",
+ "s",
+ "p",
+ "i",
+ "t",
+ "e",
+ " ",
+ "i",
+ "t",
+ "s",
+ " ",
+ "h",
+ "a",
+ "r",
+ "s",
+ "h",
+ " ",
+ "e",
+ "n",
+ "v",
+ "i",
+ "r",
+ "o",
+ "n",
+ "m",
+ "e",
+ "n",
+ "t",
+ ",",
+ " ",
+ "i",
+ "t",
+ " ",
+ "c",
+ "o",
+ "n",
+ "t",
+ "i",
+ "n",
+ "u",
+ "e",
+ "s",
+ " ",
+ "t",
+ "o",
+ " ",
+ "s",
+ "p",
+ "a",
+ "r",
+ "k",
+ " ",
+ "o",
+ "u",
+ "r",
+ " ",
+ "i",
+ "m",
+ "a",
+ "g",
+ "i",
+ "n",
+ "a",
+ "t",
+ "i",
+ "o",
+ "n",
+ ",",
+ " ",
+ "r",
+ "e",
+ "m",
+ "i",
+ "n",
+ "d",
+ "i",
+ "n",
+ "g",
+ " ",
+ "u",
+ "s",
+ " ",
+ "t",
+ "h",
+ "a",
+ "t",
+ " ",
+ "m",
+ "y",
+ "s",
+ "t",
+ "e",
+ "r",
+ "i",
+ "e",
+ "s",
+ " ",
+ "o",
+ "f",
+ "t",
+ "e",
+ "n",
+ " ",
+ "h",
+ "i",
+ "d",
+ "e",
+ " ",
+ "i",
+ "n",
+ " ",
+ "p",
+ "l",
+ "a",
+ "i",
+ "n",
+ " ",
+ "s",
+ "i",
+ "g",
+ "h",
+ "t",
+ ".",
+ " ",
+ "P",
+ "e",
+ "o",
+ "p",
+ "l",
+ "e",
+ " ",
+ "d",
+ "r",
+ "e",
+ "a",
+ "m",
+ " ",
+ "t",
+ "h",
+ "a",
+ "t",
+ " ",
+ "o",
+ "n",
+ "e",
+ " ",
+ "d",
+ "a",
+ "y",
+ ",",
+ " ",
+ "w",
+ "e",
+ " ",
+ "m",
+ "i",
+ "g",
+ "h",
+ "t",
+ " ",
+ "f",
+ "i",
+ "n",
+ "d",
+ " ",
+ "a",
+ " ",
+ "w",
+ "a",
+ "y",
+ " ",
+ "t",
+ "o",
+ " ",
+ "e",
+ "x",
+ "p",
+ "l",
+ "o",
+ "r",
+ "e",
+ " ",
+ "i",
+ "t",
+ "s",
+ " ",
+ "h",
+ "i",
+ "d",
+ "d",
+ "e",
+ "n",
+ " ",
+ "s",
+ "e",
+ "c",
+ "r",
+ "e",
+ "t",
+ "s",
+ " ",
+ "u",
+ "p",
+ " ",
+ "c",
+ "l",
+ "o",
+ "s",
+ "e",
+ "."
+ ],
+ "characterStartTimesSeconds": [
+ 0,
+ 0.197,
+ 0.267,
+ 0.325,
+ 0.406,
+ 0.464,
+ 0.522,
+ 0.569,
+ 0.604,
+ 0.639,
+ 0.685,
+ 0.72,
+ 0.778,
+ 0.813,
+ 0.871,
+ 0.929,
+ 0.975,
+ 1.01,
+ 1.057,
+ 1.091,
+ 1.138,
+ 1.196,
+ 1.289,
+ 1.347,
+ 1.393,
+ 1.44,
+ 1.486,
+ 1.544,
+ 1.591,
+ 1.707,
+ 1.823,
+ 2.032,
+ 2.101,
+ 2.148,
+ 2.194,
+ 2.218,
+ 2.264,
+ 2.322,
+ 2.38,
+ 2.438,
+ 2.519,
+ 2.577,
+ 2.647,
+ 2.67,
+ 2.717,
+ 2.74,
+ 2.775,
+ 2.833,
+ 2.879,
+ 2.949,
+ 2.995,
+ 3.053,
+ 3.123,
+ 3.181,
+ 3.228,
+ 3.262,
+ 3.286,
+ 3.332,
+ 3.367,
+ 3.425,
+ 3.495,
+ 3.553,
+ 3.611,
+ 3.68,
+ 3.773,
+ 3.843,
+ 3.901,
+ 3.947,
+ 4.063,
+ 4.214,
+ 4.54,
+ 4.598,
+ 4.656,
+ 4.725,
+ 4.795,
+ 4.841,
+ 4.888,
+ 4.957,
+ 4.981,
+ 5.004,
+ 5.074,
+ 5.143,
+ 5.236,
+ 5.317,
+ 5.341,
+ 5.399,
+ 5.433,
+ 5.468,
+ 5.526,
+ 5.573,
+ 5.631,
+ 5.7,
+ 5.759,
+ 5.805,
+ 5.863,
+ 5.921,
+ 5.979,
+ 6.026,
+ 6.107,
+ 6.153,
+ 6.246,
+ 6.316,
+ 6.362,
+ 6.397,
+ 6.455,
+ 6.502,
+ 6.594,
+ 6.653,
+ 6.687,
+ 6.722,
+ 6.757,
+ 6.78,
+ 6.838,
+ 6.885,
+ 6.931,
+ 6.978,
+ 7.036,
+ 7.07,
+ 7.14,
+ 7.198,
+ 7.279,
+ 7.326,
+ 7.361,
+ 7.477,
+ 7.57,
+ 8.266,
+ 8.336,
+ 8.394,
+ 8.44,
+ 8.499,
+ 8.557,
+ 8.603,
+ 8.649,
+ 8.707,
+ 8.766,
+ 8.812,
+ 8.87,
+ 8.928,
+ 8.986,
+ 9.009,
+ 9.044,
+ 9.079,
+ 9.114,
+ 9.172,
+ 9.242,
+ 9.311,
+ 9.358,
+ 9.404,
+ 9.451,
+ 9.567,
+ 9.718,
+ 9.868,
+ 10.112,
+ 10.182,
+ 10.24,
+ 10.298,
+ 10.344,
+ 10.391,
+ 10.426,
+ 10.461,
+ 10.495,
+ 10.542,
+ 10.6,
+ 10.67,
+ 10.728,
+ 10.751,
+ 10.809,
+ 10.832,
+ 10.879,
+ 10.913,
+ 10.971,
+ 11.018,
+ 11.088,
+ 11.122,
+ 11.157,
+ 11.238,
+ 11.285,
+ 11.366,
+ 11.447,
+ 11.517,
+ 11.587,
+ 11.633,
+ 11.668,
+ 11.714,
+ 11.749,
+ 11.796,
+ 11.842,
+ 11.889,
+ 11.923,
+ 11.97,
+ 12.016,
+ 12.051,
+ 12.098,
+ 12.132,
+ 12.202,
+ 12.249,
+ 12.341,
+ 12.411,
+ 12.469,
+ 12.516,
+ 12.585,
+ 12.632,
+ 12.678,
+ 12.736,
+ 12.783,
+ 12.852,
+ 12.899,
+ 12.98,
+ 13.096,
+ 13.166,
+ 13.41
+ ],
+ "characterEndTimesSeconds": [
+ 0.197,
+ 0.267,
+ 0.325,
+ 0.406,
+ 0.464,
+ 0.522,
+ 0.569,
+ 0.604,
+ 0.639,
+ 0.685,
+ 0.72,
+ 0.778,
+ 0.813,
+ 0.871,
+ 0.929,
+ 0.975,
+ 1.01,
+ 1.057,
+ 1.091,
+ 1.138,
+ 1.196,
+ 1.289,
+ 1.347,
+ 1.393,
+ 1.44,
+ 1.486,
+ 1.544,
+ 1.591,
+ 1.707,
+ 1.823,
+ 2.032,
+ 2.101,
+ 2.148,
+ 2.194,
+ 2.218,
+ 2.264,
+ 2.322,
+ 2.38,
+ 2.438,
+ 2.519,
+ 2.577,
+ 2.647,
+ 2.67,
+ 2.717,
+ 2.74,
+ 2.775,
+ 2.833,
+ 2.879,
+ 2.949,
+ 2.995,
+ 3.053,
+ 3.123,
+ 3.181,
+ 3.228,
+ 3.262,
+ 3.286,
+ 3.332,
+ 3.367,
+ 3.425,
+ 3.495,
+ 3.553,
+ 3.611,
+ 3.68,
+ 3.773,
+ 3.843,
+ 3.901,
+ 3.947,
+ 4.063,
+ 4.214,
+ 4.54,
+ 4.598,
+ 4.656,
+ 4.725,
+ 4.795,
+ 4.841,
+ 4.888,
+ 4.957,
+ 4.981,
+ 5.004,
+ 5.074,
+ 5.143,
+ 5.236,
+ 5.317,
+ 5.341,
+ 5.399,
+ 5.433,
+ 5.468,
+ 5.526,
+ 5.573,
+ 5.631,
+ 5.7,
+ 5.759,
+ 5.805,
+ 5.863,
+ 5.921,
+ 5.979,
+ 6.026,
+ 6.107,
+ 6.153,
+ 6.246,
+ 6.316,
+ 6.362,
+ 6.397,
+ 6.455,
+ 6.502,
+ 6.594,
+ 6.653,
+ 6.687,
+ 6.722,
+ 6.757,
+ 6.78,
+ 6.838,
+ 6.885,
+ 6.931,
+ 6.978,
+ 7.036,
+ 7.07,
+ 7.14,
+ 7.198,
+ 7.279,
+ 7.326,
+ 7.361,
+ 7.477,
+ 7.57,
+ 8.266,
+ 8.336,
+ 8.394,
+ 8.44,
+ 8.499,
+ 8.557,
+ 8.603,
+ 8.649,
+ 8.707,
+ 8.766,
+ 8.812,
+ 8.87,
+ 8.928,
+ 8.986,
+ 9.009,
+ 9.044,
+ 9.079,
+ 9.114,
+ 9.172,
+ 9.242,
+ 9.311,
+ 9.358,
+ 9.404,
+ 9.451,
+ 9.567,
+ 9.718,
+ 9.868,
+ 10.112,
+ 10.182,
+ 10.24,
+ 10.298,
+ 10.344,
+ 10.391,
+ 10.426,
+ 10.461,
+ 10.495,
+ 10.542,
+ 10.6,
+ 10.67,
+ 10.728,
+ 10.751,
+ 10.809,
+ 10.832,
+ 10.879,
+ 10.913,
+ 10.971,
+ 11.018,
+ 11.088,
+ 11.122,
+ 11.157,
+ 11.238,
+ 11.285,
+ 11.366,
+ 11.447,
+ 11.517,
+ 11.587,
+ 11.633,
+ 11.668,
+ 11.714,
+ 11.749,
+ 11.796,
+ 11.842,
+ 11.889,
+ 11.923,
+ 11.97,
+ 12.016,
+ 12.051,
+ 12.098,
+ 12.132,
+ 12.202,
+ 12.249,
+ 12.341,
+ 12.411,
+ 12.469,
+ 12.516,
+ 12.585,
+ 12.632,
+ 12.678,
+ 12.736,
+ 12.783,
+ 12.852,
+ 12.899,
+ 12.98,
+ 13.096,
+ 13.166,
+ 13.41,
+ 13.56
+ ]
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/packages/template-ai-video/public/content/history_of_venus/images/11f4911a-f39f-4567-8963-41511d05b593.png b/packages/template-ai-video/public/content/history_of_venus/images/11f4911a-f39f-4567-8963-41511d05b593.png
new file mode 100644
index 0000000000..0668858b44
Binary files /dev/null and b/packages/template-ai-video/public/content/history_of_venus/images/11f4911a-f39f-4567-8963-41511d05b593.png differ
diff --git a/packages/template-ai-video/public/content/history_of_venus/images/20cf0ab8-49cb-4ead-816d-6af0b588668a.png b/packages/template-ai-video/public/content/history_of_venus/images/20cf0ab8-49cb-4ead-816d-6af0b588668a.png
new file mode 100644
index 0000000000..f3bcda5fc9
Binary files /dev/null and b/packages/template-ai-video/public/content/history_of_venus/images/20cf0ab8-49cb-4ead-816d-6af0b588668a.png differ
diff --git a/packages/template-ai-video/public/content/history_of_venus/images/33b24fbd-dc71-4692-87af-fdff7661c222.png b/packages/template-ai-video/public/content/history_of_venus/images/33b24fbd-dc71-4692-87af-fdff7661c222.png
new file mode 100644
index 0000000000..c9abdb6f3e
Binary files /dev/null and b/packages/template-ai-video/public/content/history_of_venus/images/33b24fbd-dc71-4692-87af-fdff7661c222.png differ
diff --git a/packages/template-ai-video/public/content/history_of_venus/images/5584e376-d02e-48fc-9e47-fc7bf86000af.png b/packages/template-ai-video/public/content/history_of_venus/images/5584e376-d02e-48fc-9e47-fc7bf86000af.png
new file mode 100644
index 0000000000..b204078679
Binary files /dev/null and b/packages/template-ai-video/public/content/history_of_venus/images/5584e376-d02e-48fc-9e47-fc7bf86000af.png differ
diff --git a/packages/template-ai-video/public/content/history_of_venus/images/83e869e5-18fd-4de9-b70f-dc0f180da912.png b/packages/template-ai-video/public/content/history_of_venus/images/83e869e5-18fd-4de9-b70f-dc0f180da912.png
new file mode 100644
index 0000000000..ccfd4a4c60
Binary files /dev/null and b/packages/template-ai-video/public/content/history_of_venus/images/83e869e5-18fd-4de9-b70f-dc0f180da912.png differ
diff --git a/packages/template-ai-video/public/content/history_of_venus/images/90917ba0-8b7c-4309-a784-4f1fdc28d9fb.png b/packages/template-ai-video/public/content/history_of_venus/images/90917ba0-8b7c-4309-a784-4f1fdc28d9fb.png
new file mode 100644
index 0000000000..a4b85bc60b
Binary files /dev/null and b/packages/template-ai-video/public/content/history_of_venus/images/90917ba0-8b7c-4309-a784-4f1fdc28d9fb.png differ
diff --git a/packages/template-ai-video/public/content/history_of_venus/images/919d538b-3407-440a-b26a-73a5321a3af0.png b/packages/template-ai-video/public/content/history_of_venus/images/919d538b-3407-440a-b26a-73a5321a3af0.png
new file mode 100644
index 0000000000..d5ae39fe4c
Binary files /dev/null and b/packages/template-ai-video/public/content/history_of_venus/images/919d538b-3407-440a-b26a-73a5321a3af0.png differ
diff --git a/packages/template-ai-video/public/content/history_of_venus/images/99af6411-714b-4b72-b66e-f6c02a184493.png b/packages/template-ai-video/public/content/history_of_venus/images/99af6411-714b-4b72-b66e-f6c02a184493.png
new file mode 100644
index 0000000000..0c48cb8cef
Binary files /dev/null and b/packages/template-ai-video/public/content/history_of_venus/images/99af6411-714b-4b72-b66e-f6c02a184493.png differ
diff --git a/packages/template-ai-video/public/content/history_of_venus/timeline.json b/packages/template-ai-video/public/content/history_of_venus/timeline.json
new file mode 100644
index 0000000000..95bc2d04c2
--- /dev/null
+++ b/packages/template-ai-video/public/content/history_of_venus/timeline.json
@@ -0,0 +1,2208 @@
+{
+ "elements": [
+ {
+ "startMs": 0,
+ "endMs": 7616,
+ "imageUrl": "83e869e5-18fd-4de9-b70f-dc0f180da912",
+ "enterTransition": "blur",
+ "exitTransition": "blur",
+ "animations": [
+ {
+ "type": "scale",
+ "from": 1.5,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 7616
+ },
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": -7.105360115918952,
+ "startMs": 0,
+ "endMs": 7616
+ }
+ ]
+ },
+ {
+ "startMs": 7616,
+ "endMs": 11935,
+ "imageUrl": "99af6411-714b-4b72-b66e-f6c02a184493",
+ "enterTransition": "blur",
+ "exitTransition": "blur",
+ "animations": [
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1.5,
+ "startMs": 0,
+ "endMs": 4319
+ },
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": -4.835479712748861,
+ "startMs": 0,
+ "endMs": 4319
+ }
+ ]
+ },
+ {
+ "startMs": 11935,
+ "endMs": 18762,
+ "imageUrl": "919d538b-3407-440a-b26a-73a5321a3af0",
+ "enterTransition": "blur",
+ "exitTransition": "blur",
+ "animations": [
+ {
+ "type": "scale",
+ "from": 1.5,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 6827
+ },
+ {
+ "type": "rotate",
+ "from": 1.9870856892182087,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 6827
+ }
+ ]
+ },
+ {
+ "startMs": 18762,
+ "endMs": 24753,
+ "imageUrl": "20cf0ab8-49cb-4ead-816d-6af0b588668a",
+ "enterTransition": "blur",
+ "exitTransition": "blur",
+ "animations": [
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1.5,
+ "startMs": 0,
+ "endMs": 5991
+ },
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": -8.6385189197096,
+ "startMs": 0,
+ "endMs": 5991
+ }
+ ]
+ },
+ {
+ "startMs": 24753,
+ "endMs": 28886,
+ "imageUrl": "11f4911a-f39f-4567-8963-41511d05b593",
+ "enterTransition": "blur",
+ "exitTransition": "blur",
+ "animations": [
+ {
+ "type": "scale",
+ "from": 1.5,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 4133
+ },
+ {
+ "type": "rotate",
+ "from": 1.0522832008779737,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 4133
+ }
+ ]
+ },
+ {
+ "startMs": 28886,
+ "endMs": 34087,
+ "imageUrl": "5584e376-d02e-48fc-9e47-fc7bf86000af",
+ "enterTransition": "blur",
+ "exitTransition": "blur",
+ "animations": [
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1.5,
+ "startMs": 0,
+ "endMs": 5201
+ },
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 1.3607085888199189,
+ "startMs": 0,
+ "endMs": 5201
+ }
+ ]
+ },
+ {
+ "startMs": 34087,
+ "endMs": 40496,
+ "imageUrl": "33b24fbd-dc71-4692-87af-fdff7661c222",
+ "enterTransition": "blur",
+ "exitTransition": "blur",
+ "animations": [
+ {
+ "type": "scale",
+ "from": 1.5,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 6409
+ },
+ {
+ "type": "rotate",
+ "from": -4.804644959713991,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 6409
+ }
+ ]
+ },
+ {
+ "startMs": 40496,
+ "endMs": 54056,
+ "imageUrl": "90917ba0-8b7c-4309-a784-4f1fdc28d9fb",
+ "enterTransition": "blur",
+ "exitTransition": "blur",
+ "animations": [
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1.5,
+ "startMs": 0,
+ "endMs": 13560
+ },
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": -2.2489889673202015,
+ "startMs": 0,
+ "endMs": 13560
+ }
+ ]
+ }
+ ],
+ "text": [
+ {
+ "startMs": 0,
+ "endMs": 685,
+ "text": "Once upon a",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 685,
+ "endMs": 1695,
+ "text": "time, long",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.5070892202427698,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 1695,
+ "endMs": 1997,
+ "text": "before",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 7.41129280579405,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.650247613480069,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 1997,
+ "endMs": 2612,
+ "text": "telescopes",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": -0.11120221155174304,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 2612,
+ "endMs": 3042,
+ "text": "watched the",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 9.750771800621902,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 3042,
+ "endMs": 4145,
+ "text": "sky, people",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 8.39953751401852,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.5312906191856691,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 4145,
+ "endMs": 4714,
+ "text": "looked up and",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6984326431081123,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 4714,
+ "endMs": 5410,
+ "text": "saw a bright",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 4.810947315043355,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6445892502264121,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 5410,
+ "endMs": 6339,
+ "text": "star, not",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0.7876225703042095,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 6339,
+ "endMs": 6896,
+ "text": "knowing it was",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": -7.638214320691771,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 6896,
+ "endMs": 7616,
+ "text": "Venus.",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 7616,
+ "endMs": 8231,
+ "text": "The ancient",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": -9.327898518604613,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 8231,
+ "endMs": 8916,
+ "text": "Romans named",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.662161653933625,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 8916,
+ "endMs": 9497,
+ "text": "it after their",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 4.508359665555006,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 9497,
+ "endMs": 10008,
+ "text": "goddess of",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6388131110354789,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 10008,
+ "endMs": 10600,
+ "text": "love because",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6323294044608418,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 10600,
+ "endMs": 10855,
+ "text": "of its",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 10855,
+ "endMs": 11331,
+ "text": "beautiful",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.689881743853058,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 11331,
+ "endMs": 11935,
+ "text": "glow.",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": -9.201159551524198,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.5843134627873369,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 11935,
+ "endMs": 12690,
+ "text": "Incredibly,",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": -2.16017933512608,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 12690,
+ "endMs": 13015,
+ "text": "there were",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6822711271671517,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 13015,
+ "endMs": 13560,
+ "text": "times it was",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6171702148398952,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 13560,
+ "endMs": 14025,
+ "text": "called both",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 14025,
+ "endMs": 14524,
+ "text": "the 'Morning",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 2.8532779795346332,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6213784824708739,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 14524,
+ "endMs": 15522,
+ "text": "Star' and the",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": -4.941277294991979,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 15522,
+ "endMs": 15917,
+ "text": "'Evening",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.679307191316065,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 15917,
+ "endMs": 16962,
+ "text": "Star'—no one",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 4.788781402097829,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6175949484127287,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 16962,
+ "endMs": 17577,
+ "text": "realized they",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 8.934363232174972,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 17577,
+ "endMs": 18053,
+ "text": "were the same",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 18053,
+ "endMs": 18762,
+ "text": "planet!",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": -1.2693799782520299,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 18762,
+ "endMs": 19505,
+ "text": "Unlike any",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": -5.637661922079329,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.59875153690998,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 19505,
+ "endMs": 20376,
+ "text": "other planet,",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 3.533298688930447,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.5666186805089255,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 20376,
+ "endMs": 21084,
+ "text": "Venus spins",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": -3.630883509152363,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6654676119000248,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 21084,
+ "endMs": 22152,
+ "text": "backwards, so",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": -9.736131114877832,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6171542494318256,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 22152,
+ "endMs": 22872,
+ "text": "the Sun rises",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6799068445538758,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 22872,
+ "endMs": 23441,
+ "text": "in the west",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6524040045014661,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 23441,
+ "endMs": 23940,
+ "text": "and sets in",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": -3.137604031495914,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6973740497614885,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 23940,
+ "endMs": 24753,
+ "text": "the east.",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": -9.091707303457586,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 24753,
+ "endMs": 25519,
+ "text": "Its days are",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.5017647501826319,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 25519,
+ "endMs": 26042,
+ "text": "longer than",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.5972452883935493,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 26042,
+ "endMs": 27017,
+ "text": "its years,",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.564986619802243,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 27017,
+ "endMs": 27609,
+ "text": "making time",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 2.489366052844666,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6018507711057028,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 27609,
+ "endMs": 28282,
+ "text": "seem strange",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.5782847024126105,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 28282,
+ "endMs": 28886,
+ "text": "up there.",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": -4.190740069548097,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.5055966053795952,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 28886,
+ "endMs": 29629,
+ "text": "Volcanoes",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": -4.914984260179916,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.5629222453413919,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 29629,
+ "endMs": 30244,
+ "text": "cover much of",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 6.033671475696686,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.5699858221834716,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 30244,
+ "endMs": 31034,
+ "text": "its surface,",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.5950691148336467,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 31034,
+ "endMs": 31533,
+ "text": "but thick",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": -6.155938430802468,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.5566802724360221,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 31533,
+ "endMs": 31997,
+ "text": "clouds of",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.5366881194737613,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 31997,
+ "endMs": 33100,
+ "text": "toxic gas hide",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0.6156000954485374,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 33100,
+ "endMs": 33600,
+ "text": "them from our",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": -0.2956705455966857,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6484750077540622,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 33600,
+ "endMs": 34087,
+ "text": "view.",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.5735095017110776,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 34087,
+ "endMs": 34807,
+ "text": "Although it is",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 34807,
+ "endMs": 35422,
+ "text": "Earth's twin",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": -9.088208117785825,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6985425271710941,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 35422,
+ "endMs": 36699,
+ "text": "in size, Venus",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6887989441787467,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 36699,
+ "endMs": 37291,
+ "text": "is the hottest",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6311379480437896,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 37291,
+ "endMs": 38278,
+ "text": "planet, with",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 3.0880349550652064,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.5681166169682664,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 38278,
+ "endMs": 38638,
+ "text": "surface",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.654541893694066,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 38638,
+ "endMs": 39161,
+ "text": "temperatures",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 39161,
+ "endMs": 39753,
+ "text": "high enough to",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6818260316184099,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 39753,
+ "endMs": 40496,
+ "text": "melt lead.",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.5424967449824123,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 40496,
+ "endMs": 41274,
+ "text": "Despite its",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": -7.735823281290651,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.5271325069222614,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 41274,
+ "endMs": 41553,
+ "text": "harsh",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 41553,
+ "endMs": 42528,
+ "text": "environment,",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 42528,
+ "endMs": 43213,
+ "text": "it continues",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6036401812144718,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 43213,
+ "endMs": 43828,
+ "text": "to spark our",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": -3.853160721805775,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 43828,
+ "endMs": 45036,
+ "text": "imagination,",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 45036,
+ "endMs": 45813,
+ "text": "reminding us",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 45813,
+ "endMs": 46603,
+ "text": "that mysteries",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 46603,
+ "endMs": 47334,
+ "text": "often hide in",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6491396876752396,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 47334,
+ "endMs": 48762,
+ "text": "plain sight.",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6418804091035437,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 48762,
+ "endMs": 49482,
+ "text": "People dream",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.5264743831317681,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 49482,
+ "endMs": 50608,
+ "text": "that one day,",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": -7.039075133181622,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 50608,
+ "endMs": 51305,
+ "text": "we might find",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.5898792305191535,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 51305,
+ "endMs": 51734,
+ "text": "a way to",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 1.6760108455025668,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6063143077570282,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 51734,
+ "endMs": 52385,
+ "text": "explore its",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0.19277359187750642,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6772011243839006,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ },
+ {
+ "startMs": 52385,
+ "endMs": 53174,
+ "text": "hidden secrets",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": -3.0010986713851064,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1,
+ "to": 1,
+ "startMs": 0,
+ "endMs": 300
+ }
+ ]
+ },
+ {
+ "startMs": 53174,
+ "endMs": 54056,
+ "text": "up close.",
+ "position": "center",
+ "animations": [
+ {
+ "type": "rotate",
+ "from": 0,
+ "to": 0,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 0.6598653425552847,
+ "to": 1.25,
+ "startMs": 0,
+ "endMs": 300
+ },
+ {
+ "type": "scale",
+ "from": 1.25,
+ "to": 1,
+ "startMs": 300,
+ "endMs": 500
+ }
+ ]
+ }
+ ],
+ "audio": [
+ {
+ "startMs": 0,
+ "endMs": 7616,
+ "audioUrl": "83e869e5-18fd-4de9-b70f-dc0f180da912"
+ },
+ {
+ "startMs": 7616,
+ "endMs": 11935,
+ "audioUrl": "99af6411-714b-4b72-b66e-f6c02a184493"
+ },
+ {
+ "startMs": 11935,
+ "endMs": 18762,
+ "audioUrl": "919d538b-3407-440a-b26a-73a5321a3af0"
+ },
+ {
+ "startMs": 18762,
+ "endMs": 24753,
+ "audioUrl": "20cf0ab8-49cb-4ead-816d-6af0b588668a"
+ },
+ {
+ "startMs": 24753,
+ "endMs": 28886,
+ "audioUrl": "11f4911a-f39f-4567-8963-41511d05b593"
+ },
+ {
+ "startMs": 28886,
+ "endMs": 34087,
+ "audioUrl": "5584e376-d02e-48fc-9e47-fc7bf86000af"
+ },
+ {
+ "startMs": 34087,
+ "endMs": 40496,
+ "audioUrl": "33b24fbd-dc71-4692-87af-fdff7661c222"
+ },
+ {
+ "startMs": 40496,
+ "endMs": 54056,
+ "audioUrl": "90917ba0-8b7c-4309-a784-4f1fdc28d9fb"
+ }
+ ],
+ "shortTitle": "History of Venus"
+}
\ No newline at end of file
diff --git a/packages/template-ai-video/src/AIVideo.tsx b/packages/template-ai-video/src/AIVideo.tsx
index 9362b105e7..cdd7d39cd5 100644
--- a/packages/template-ai-video/src/AIVideo.tsx
+++ b/packages/template-ai-video/src/AIVideo.tsx
@@ -1,4 +1,10 @@
-import { AbsoluteFill, Html5Audio, Sequence, useDelayRender } from "remotion";
+import {
+ AbsoluteFill,
+ Html5Audio,
+ Sequence,
+ staticFile,
+ useDelayRender,
+} from "remotion";
import { z } from "zod";
import { Timeline } from "./types";
import { IntoFrameDuration, FPS } from "./constants";
@@ -6,10 +12,10 @@ import { loadFont } from "@remotion/google-fonts/Signika";
import { Background } from "./components/Background";
import Subtitle from "./components/Subtitle";
import { useEffect, useState } from "react";
-import { loadTimelineFromFile } from "./utils";
+import { getAudioPath, getTimelinePath, loadTimelineFromFile } from "./utils";
export const aiVideoSchema = z.object({
- timelineFile: z.string().min(1),
+ projectName: z.string().min(1),
hasWatermark: z.boolean(),
});
@@ -29,7 +35,7 @@ const calculateFrameTiming = (
};
export const AIVideo: React.FC<z.infer<typeof aiVideoSchema>> = ({
- timelineFile,
+ projectName,
}) => {
const { fontFamily } = loadFont();
const [timeline, setTimeline] = useState<Timeline | null>();
@@ -39,7 +45,9 @@ export const AIVideo: React.FC<z.infer<typeof aiVideoSchema>> = ({
const handle = delayRender("Loading timeline...");
const fetchConfig = async () => {
- const { timeline } = await loadTimelineFromFile(timelineFile);
+ const { timeline } = await loadTimelineFromFile(
+ getTimelinePath(projectName),
+ );
setTimeline(timeline);
continueRender(handle);
};
@@ -49,7 +57,7 @@ export const AIVideo: React.FC<z.infer<typeof aiVideoSchema>> = ({
return () => {
continueRender(handle);
};
- }, [timelineFile]);
+ }, [projectName]);
const ready = true;
@@ -97,7 +105,7 @@ export const AIVideo: React.FC<z.infer<typeof aiVideoSchema>> = ({
from={startFrame}
durationInFrames={duration}
>
- <Background item={element} />
+ <Background project={projectName} item={element} />
</Sequence>
);
})}
@@ -133,7 +141,9 @@ export const AIVideo: React.FC<z.infer<typeof aiVideoSchema>> = ({
from={startFrame}
durationInFrames={duration}
>
- <Html5Audio src={element.audioUrl} />
+ <Html5Audio
+ src={staticFile(getAudioPath(projectName, element.audioUrl))}
+ />
</Sequence>
);
})}
diff --git a/packages/template-ai-video/src/Root.tsx b/packages/template-ai-video/src/Root.tsx
index 74f6395c3c..d0807e32ea 100644
--- a/packages/template-ai-video/src/Root.tsx
+++ b/packages/template-ai-video/src/Root.tsx
@@ -7,10 +7,10 @@ import {
import { AIVideo, aiVideoSchema } from "./AIVideo";
import { useEffect, useState } from "react";
import { FPS, WindowHeight, WindowWidth } from "./constants";
-import { loadTimelineFromFile } from "./utils";
+import { getTimelinePath, loadTimelineFromFile } from "./utils";
interface InputProps extends Record<string, unknown> {
- timelineFileName?: string;
+ projectDir?: string;
hasWatermark?: boolean;
}
@@ -18,14 +18,15 @@ export const RemotionRoot: React.FC = () => {
const inputProps = getInputProps<InputProps>();
const [frameLength, setFrameLength] = useState(1);
- const timelineFile =
- inputProps.timelineFileName ?? "content/demo/timeline.json";
+ const projectDir = inputProps.projectDir ?? "history_of_venus";
useEffect(() => {
const handle = delayRender("Calculating FPS duration...");
const fetchConfig = async () => {
- const { lengthFrames } = await loadTimelineFromFile(timelineFile);
+ const { lengthFrames } = await loadTimelineFromFile(
+ getTimelinePath(projectDir),
+ );
setFrameLength(lengthFrames);
continueRender(handle);
};
@@ -35,7 +36,7 @@ export const RemotionRoot: React.FC = () => {
return () => {
continueRender(handle);
};
- }, [timelineFile]);
+ }, []);
return (
<>
@@ -48,7 +49,7 @@ export const RemotionRoot: React.FC = () => {
height={WindowHeight}
schema={aiVideoSchema}
defaultProps={{
- timelineFile,
+ projectName: projectDir,
hasWatermark: !!inputProps.hasWatermark,
}}
/>
diff --git a/packages/template-ai-video/src/components/Background.tsx b/packages/template-ai-video/src/components/Background.tsx
index 0bc4c40d64..895ad702f7 100644
--- a/packages/template-ai-video/src/components/Background.tsx
+++ b/packages/template-ai-video/src/components/Background.tsx
@@ -1,6 +1,7 @@
-import { AbsoluteFill, Img, useCurrentFrame } from "remotion";
+import { AbsoluteFill, Img, staticFile, useCurrentFrame } from "remotion";
import { FPS, WindowHeight, WindowWidth } from "../constants";
import { BackgroundElement } from "../types";
+import { getImagePath } from "../utils";
const EXTRA_SCALE = 0.2;
@@ -33,7 +34,8 @@ const calcBlur = ({
export const Background: React.FC<{
item: BackgroundElement;
-}> = ({ item }) => {
+ project: string;
+}> = ({ item, project }) => {
const frame = useCurrentFrame();
// const durationFrames = ((item.endMs - item.startMs) * FPS)/1000;
const localMs = (frame / FPS) * 1000;
@@ -72,7 +74,7 @@ export const Background: React.FC<{
return (
<AbsoluteFill style={{ backgroundColor: "blue" }}>
<Img
- src={item.imageUrl}
+ src={staticFile(getImagePath(project, item.imageUrl))}
style={{
width: imgWidth * imgScale,
height: imgHeight * imgScale,
diff --git a/packages/template-ai-video/src/timeline.ts b/packages/template-ai-video/src/timeline.ts
new file mode 100644
index 0000000000..913175ea54
--- /dev/null
+++ b/packages/template-ai-video/src/timeline.ts
@@ -0,0 +1,202 @@
+import type {
+ BackgroundElement,
+ ElementAnimation,
+ StoryMetadataWithDetails,
+ TextElement,
+ Timeline,
+} from "./types";
+
+export const createTimeLineFromStoryWithDetails = (
+ storyWithDetails: StoryMetadataWithDetails,
+): Timeline => {
+ const timeline: Timeline = {
+ elements: [],
+ text: [],
+ audio: [],
+ shortTitle: storyWithDetails.shortTitle,
+ };
+
+ let durationMs = 0;
+ let zoomIn = true;
+
+ for (let i = 0; i < storyWithDetails.content.length; i++) {
+ const content = storyWithDetails.content[i];
+
+ const lenMs = Math.ceil(
+ content.audioTimestamps.characterEndTimesSeconds[
+ content.audioTimestamps.characterEndTimesSeconds.length - 1
+ ] * 1000,
+ );
+
+ const bgElem: BackgroundElement = {
+ startMs: durationMs,
+ endMs: durationMs + lenMs,
+ imageUrl: content.uid,
+ enterTransition: "blur",
+ exitTransition: "blur",
+ animations: getBgAnimations(lenMs, zoomIn),
+ };
+
+ timeline.elements.push(bgElem);
+ timeline.audio.push({
+ startMs: durationMs,
+ endMs: durationMs + lenMs,
+ audioUrl: content.uid,
+ });
+
+ // hadnle text word by word
+ const words = content.text.split(" ");
+ const {
+ characterStartTimesSeconds: character_start_times_seconds,
+ characterEndTimesSeconds: character_end_times_seconds,
+ } = content.audioTimestamps;
+
+ const MaxSentenseSizeChars = 14;
+
+ let currentText = "";
+ let currentStartMs = character_start_times_seconds[0] * 1000 + durationMs;
+ let currentEndMs = durationMs;
+ let currentCharIndex = 0;
+
+ for (const word of words) {
+ if ((currentText + word).length > MaxSentenseSizeChars) {
+ const textElem: TextElement = {
+ startMs: currentStartMs,
+ endMs: currentEndMs,
+ text: currentText.trim(),
+ position: "center",
+ animations: getTextAnimations(),
+ };
+
+ timeline.text.push(textElem);
+
+ currentText = "";
+ currentStartMs = currentEndMs;
+ }
+
+ currentText += `${word} `;
+ for (const char of word) {
+ currentEndMs =
+ character_end_times_seconds[currentCharIndex] * 1000 + durationMs;
+ currentCharIndex++;
+ }
+ // Add space character time
+ currentEndMs =
+ character_end_times_seconds[currentCharIndex] * 1000 + durationMs;
+ currentCharIndex++;
+ }
+
+ if (currentText.trim().length > 0) {
+ const textElem: TextElement = {
+ startMs: currentStartMs,
+ endMs:
+ character_end_times_seconds[character_end_times_seconds.length - 1] *
+ 1000 +
+ durationMs,
+ text: currentText.trim(),
+ position: "center",
+ animations: getTextAnimations(),
+ };
+
+ timeline.text.push(textElem);
+ }
+
+ durationMs += lenMs;
+
+ zoomIn = !zoomIn;
+ }
+
+ return timeline;
+};
+
+export function findAllSpaceIndexes(str: string) {
+ const indexes = [];
+ for (let i = 0; i < str.length; i++) {
+ if (str[i] === " ") {
+ indexes.push(i);
+ }
+ }
+ return indexes;
+}
+
+export const getBgAnimations = (durationMs: number, zoomIn: boolean) => {
+ const animations: ElementAnimation[] = [];
+
+ const startMs = 0;
+ const endMs = durationMs;
+
+ const scaleFrom = zoomIn ? 1.5 : 1;
+ const scaleTo = zoomIn ? 1 : 1.5;
+
+ animations.push({
+ type: "scale",
+ from: scaleFrom,
+ to: scaleTo,
+ startMs,
+ endMs,
+ });
+
+ const randomDir = Math.random() > 0.5 ? 1 : -1;
+ const randomDeg = Math.random() * 10 * randomDir;
+ const startAtZero = Math.random() > 0.5;
+
+ // rotate
+ animations.push({
+ type: "rotate",
+ from: startAtZero ? 0 : randomDeg,
+ to: startAtZero ? randomDeg : 0,
+ startMs,
+ endMs,
+ });
+
+ return animations;
+};
+
+export const getTextAnimations = () => {
+ const animations: ElementAnimation[] = [];
+
+ const durationMs = 300;
+
+ const startMs = 0;
+ const endMs = durationMs;
+
+ const randomDir = Math.random() > 0.5 ? 1 : -1;
+ const randomDeg = Math.random() * 10 * randomDir;
+ const dontRotate = Math.random() > 0.5;
+
+ // rotate
+ animations.push({
+ type: "rotate",
+ from: dontRotate ? 0 : randomDeg,
+ to: 0,
+ startMs,
+ endMs,
+ });
+
+ // start scale from 0.5 to 0.7
+ const startScale = Math.random() * 0.2 + 0.5;
+ // dont scale with 40% chance
+ const dontScale = Math.random() > 0.6;
+ const bounces = Math.random() > 0.5;
+
+ // scale
+ animations.push({
+ type: "scale",
+ from: dontScale ? 1 : startScale,
+ to: bounces ? 1.25 : 1,
+ startMs,
+ endMs,
+ });
+
+ if (bounces) {
+ animations.push({
+ type: "scale",
+ from: 1.25,
+ to: 1,
+ startMs: endMs,
+ endMs: endMs + 200,
+ });
+ }
+
+ return animations;
+};
diff --git a/packages/template-ai-video/src/utils.ts b/packages/template-ai-video/src/utils.ts
index f328632223..d56876c197 100644
--- a/packages/template-ai-video/src/utils.ts
+++ b/packages/template-ai-video/src/utils.ts
@@ -13,3 +13,12 @@ export const loadTimelineFromFile = async (filename: string) => {
return { timeline, lengthFrames };
};
+
+export const getTimelinePath = (proj: string) =>
+ `content/${proj}/timeline.json`;
+
+export const getImagePath = (proj: string, uid: string) =>
+ `content/${proj}/images/${uid}.png`;
+
+export const getAudioPath = (proj: string, uid: string) =>
+ `content/${proj}/audio/${uid}.mp3`;