Skip to content

LRxDarkDevil/PromptMotion

Repository files navigation

PromptMotion

Is it perfect? No. Is it cheap? Yes. Does it always work? No. But it works most of the time, and it's fun!

Create stunning motion graphics videos from text prompts using Google Gemini and Remotion.


🎬 Sample Videos


🚀 Use Online

The easiest way to use PromptMotion is online:

👉 https://prompt-motion.vercel.app/

  1. Open the link above.
  2. On first visit, enter your own Gemini API key (no key is ever stored on the server).
  3. Select your preferred Gemini model (2.5 Pro, 2.5 Flash, 2.0 Flash).
  4. Start creating videos!

🖥️ Local Development

  1. Clone the repo:

    git clone https://github.com/YOUR_GITHUB_USERNAME/PromptMotion.git
    cd PromptMotion
  2. Install dependencies:

    npm install
  3. Start the dev server:

    npm run dev
  4. Visit http://localhost:3000

  5. Enter your Gemini API key and select a model on first use.


🔒 Security & Open Source

  • No API keys are stored on the server or in the repo.
  • Each user provides their own Gemini API key in the browser.
  • Safe for open source and Vercel deployment.

✨ Features

  • Prompt user for Gemini API key on first visit (modal)
  • Model selection dropdown (2.5 Pro, 2.5 Flash, 2.0 Flash)
  • All settings stored in browser (localStorage)
  • No backend secrets required
  • SweetAlert2 for all error handling
  • Fully Playwright-tested end-to-end

🛠️ Troubleshooting

  • If you see errors about missing Remotion modules, make sure you are using the latest version of Remotion.
  • If video rendering fails, check the backend logs for details.
  • For API key issues, ensure you are using a valid Gemini API key (the UI will tell you if it's invalid).

📄 License

MIT

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published