AI-powered generative video studio & scene director built with Google Veo and Gemini 2.5
Create stunning high-definition cinematic videos from text prompts or starting images, seamlessly chain and extend video scenes into continuous narratives, and generate AI soundscape scores tailored to your footage.
- 🎥 Text-to-Video Generation: Turn creative ideas into photorealistic videos using Google's Veo 3.1 model (
veo-3.1-generate-preview). - 🖼️ Image-to-Video Storyboarding: Upload an initial photo or concept art and direct Veo to bring it into dynamic motion.
- 🎞️ Continuous Scene Extension: Extend any existing clip into multi-scene films with full narrative coherence.
- ⚡ Remotion Motion Graphics Studio: Integrated
@remotion/playerrendering programmatic React title cards, spring physics entrances, animated progress bars, and kinetic typography over your AI footage with full theme customization and one-click Remotion code export. - 🎬 Cinematography Preset Chips: Clickable camera angles (dolly shot, FPV drone flyover, 360 orbit), lighting moods (golden hour, cyberpunk neon, film noir), and visual styles (vintage 16mm film, 3D animation, photorealistic 8K).
- 🎵 AI Audio Soundscape Designer: Powered by Gemini 2.5 Flash, generate custom musical scores, ambient foley soundscapes, and tempo recommendations for each scene.
- 📽️ Session Video Reel & History: Horizontal timeline carousel tracking all generated iterations and extensions in your session with one-click MP4 download.
- 🔑 Universal Setup & Key Management: Runs smoothly both locally (
npm run dev) with in-applocalStorageAPI key persistence, or inside the Google AI Studio cloud runner. - 📐 Multiple Aspect Ratios: Supports Landscape (16:9 for YouTube / widescreen) and Portrait (9:16 for Reels, Shorts, and TikTok).
- Node.js (v18 or higher recommended)
- A Gemini API Key from Google AI Studio
-
Clone the repository:
git clone https://github.com/apravint/Video-Editor.git cd Video-Editor -
Install dependencies:
npm install
-
Configure API Key (Choose one):
- Option A (In-App): Run the app and enter your key directly in the secure UI prompt (stored locally in browser storage).
- Option B (.env.local): Create
.env.localbased on.env.example:Add your key:cp .env.example .env.local
GEMINI_API_KEY=your_gemini_api_key_here
-
Launch the development server:
npm run dev
Open
http://localhost:5173in your browser.
For the best results with Google Veo, structure prompts with cinematic descriptors:
| Element | Examples |
|---|---|
| Subject | A cybernetic red fox with luminous amber eyes |
| Action & Motion | sprinting through puddles at high speed, splashing droplets |
| Camera Movement | smooth low-angle tracking dolly shot, dynamic 45-degree pan |
| Lighting & Mood | foggy night, volumetric purple neon reflections, high contrast |
| Aesthetic / Lens | 35mm anamorphic lens, shallow depth of field, 8k resolution |
"Cinematic drone shot flying through a bioluminescent redwood forest at dusk, ethereal blue fireflies floating in the air, soft volumetric light rays, photorealistic 8k, slow smooth forward tracking motion."
Gemini Video Studio includes an integrated Remotion Motion Graphics Studio powered by @remotion/player and remotion. This allows you to compose, preview, and customize parametric React-based title cards, lower thirds, progress bars, and kinetic typography directly over your generated AI video clips.
- Dual Player Modes: Seamlessly toggle between 📹 Raw Video and ⚡ Remotion Studio Player with live keyframe scrubbing.
- Physics-Based Spring Animations: Fluid entrance and exit animations computed with Remotion's
spring()andinterpolate()math primitives. - 4 Visual Themes:
- 👑 Cinematic Gold: Warm amber gradients and gold borders for dramatic narratives.
- 🌆 Cyberpunk Neon: High-contrast cyan and hot pink glows for sci-fi scenes.
- 🔮 Electric Violet: Deep purple and sky-blue highlights for stylized visuals.
- ⚡ Sleek Minimal: Clean slate glassmorphism for modern documentaries and demos.
- Parametric Placements: Position overlays as Lower Third, Centered Intro Card, or Top Banner.
- Synchronized Progress Bar: Frame-accurate visual timeline tracker.
- One-Click Remotion Code Export: Export standalone Remotion JSX composition code pre-populated with your video URL and overlay parameters.
Click "📋 Export Remotion Code" in the studio player to copy the standalone composition snippet, then render it directly to MP4 or ProRes:
npx remotion render VeoSceneWithRemotionOverlay out/cinematic_scene.mp4Video-Editor/
├── components/
│ ├── ApiKeySelector.tsx # Modal for Gemini API key input with localStorage & AI Studio support
│ ├── ClipHistory.tsx # Session video reel showing generated & extended clips
│ ├── Header.tsx # Sticky header with branding, key reset, and repo link
│ ├── Icons.tsx # Clean SVG iconography set
│ ├── ImageUploader.tsx # Drag & drop starter image uploader
│ ├── LoadingIndicator.tsx # Dynamic multi-stage video generation progress indicator
│ ├── PromptInput.tsx # Textarea input for scene descriptions
│ ├── PromptPresets.tsx # Quick-click cinematography and lighting chips
│ ├── RemotionOverlayComposition.tsx # Remotion composition with spring physics & themes
│ └── VideoPlayer.tsx # Player with Remotion Studio toggle, overlay controls & audio suggestions
├── services/
│ └── geminiService.ts # @google/genai SDK integration (Veo 3.1 & Gemini 2.5 Flash)
├── utils/
│ └── fileUtils.ts # File to base64 conversion utilities
├── types.ts # TypeScript definitions for Veo options and operations
├── App.tsx # Main application controller and state
├── index.html # Entry HTML
├── package.json # Project scripts and dependencies
├── vite.config.ts # Vite bundler configuration
└── LICENSE # MIT License
- React 19
- Remotion (
@remotion/player) - Vite
- TypeScript
- Tailwind CSS
- Google Gen AI SDK (
@google/genai) - Google Veo & Gemini 2.5
This project is licensed under the MIT License — free for personal and commercial use.