Where Words Come to Life
Transform simple text into stunning cinematic animations using AI-powered generative models.
- 🎨 Cinematic Text Animations - Generate stunning 3D text animations with AI
- 🖼️ Style Customization - Customize visual styles, typography, and environments
- 🎭 Reference Images - Use reference images to match specific visual styles
- 🌓 Dark/Light Mode - Beautiful theme switching with persistent preferences
- 📱 Responsive Design - Works seamlessly on desktop and mobile devices
- 🎬 Video Generation - Powered by Google's Veo 3.1 model for high-quality video output
- 🎁 GIF Export - Download your creations as animated GIFs
- Node.js 18.0.0 or higher
- npm or yarn
- Google Gemini API Key with billing enabled (required for Veo models)
-
Clone the repository
git clone https://github.com/drdhavaltrivedi/motioncraft.git cd motioncraft -
Install dependencies
npm install
-
Set up environment variables
Create a
.env.localfile in the root directory:GEMINI_API_KEY=your_api_key_here
⚠️ Note: You need a Google Cloud project with billing enabled to use Veo models for video generation. -
Run the development server
npm run dev
-
Open your browser
Navigate to
http://localhost:3000to see the app in action!
npm run buildThe built files will be in the dist directory.
- Push your code to GitHub
- Import your repository on Vercel
- Add the
GEMINI_API_KEYenvironment variable in Vercel dashboard - Deploy! 🚀
The app is automatically configured for Vercel deployment with the included vercel.json.
- Framework: React 19.2.1
- Build Tool: Vite 6.2.0
- Language: TypeScript
- Styling: Tailwind CSS (via CDN)
- AI Models:
- Google Gemini 3 Flash (for style suggestions)
- Google Gemini 3 Pro Image (for image generation)
- Google Veo 3.1 (for video generation)
- Icons: Lucide React
- GIF Generation: gifenc
motioncraft/
├── services/
│ └── geminiService.ts # AI service integration
├── App.tsx # Main application component
├── index.tsx # Application entry point
├── types.ts # TypeScript type definitions
├── utils.ts # Utility functions
├── vite.config.ts # Vite configuration
└── package.json # Dependencies and scripts
- Enter your text - Type the word or phrase you want to animate
- Customize style - Describe the visual environment or use the AI suggestion feature
- Add typography - Specify font aesthetics or choose from presets
- Optional reference - Upload a reference image to match a specific style
- Generate - Click "GENERATE MOTION ART" and watch the magic happen!
| Variable | Description | Required |
|---|---|---|
GEMINI_API_KEY |
Your Google Gemini API key | Yes |
The app is configured to run on port 3000 by default. You can modify this in vite.config.ts.
This project is licensed under the Apache-2.0 License.
Developed by Dhaval Trivedi
Made with ❤️ using React, Vite, and Google Gemini AI