Skip to content

🎥 Make videos programmatically with React

Fix image ratio

Vlad Ma0c0cb775f2f
diff --git a/packages/template-ai-video/src/components/Background.tsx b/packages/template-ai-video/src/components/Background.tsx
index b8da99bd8c..2abc242b73 100644
--- a/packages/template-ai-video/src/components/Background.tsx
+++ b/packages/template-ai-video/src/components/Background.tsx
@@ -41,7 +41,7 @@ export const Background: React.FC<{
const localMs = (frame / FPS) * 1000;
const viewSize = { width: WindowWidth, height: WindowHeight };
- const imageRatio = 1.0;
+ const imageRatio = 1.75;
const imgWidth = viewSize.height;
const imgHeight = imgWidth * imageRatio;