PitchHut logo
prompt-to-video
Transform text prompts into stunning videos effortlessly.
Pitch

Prompt to Video enables the rapid creation of polished, 1080p MP4 videos from simple text prompts. By selecting a style and entering an idea, users can produce engaging presentations, animated charts, and more without any editing skills. This open-source solution is perfect for creators, developers, and AI enthusiasts alike.

Description

Prompt to Video is a powerful tool that transforms simple text prompts into high-quality, downloadable videos in a matter of seconds. By simply describing an idea and selecting a style, users can create polished 1080p MP4 videos without any prior video editing experience.

Features

  • Instantly converts text into engaging videos
  • User-friendly API and interface for quick experimentation
  • Supports multiple video styles including presentations, bar chart races, and line charts
  • Open-source, allowing for customization and integration into various projects
  • Perfect for creators, developers, and AI enthusiasts looking to visualize data or narratives

Video Types Supported

  1. Presentation Videos: Create cinematic or corporate-style videos with split-screen layouts and smooth transitions.
  2. Bar Chart Races: Generate dynamic ranking charts that animate growth and reorder as values change over specified time periods.
  3. Line Charts: Illustrate trends with multi-series visualizations, complete with smooth progressive animations.

How It Works

The process involves several automated steps:

Your prompt
/api/generate
    ├── Presentation  →  Llama 4 Scout  →  JSON scene graph
    │       └── Unsplash API  →  auto stock imagery per scene
    ├── Bar Chart     →  Gemini 2.0 Flash  →  JSON time-series frames
    └── Line Chart    →  Gemini 2.0 Flash  →  JSON series data
Remotion <Player>  →  live in-browser preview
/api/render  →  server-side MP4 render  →  browser download

Example Prompts

  • Presentations:

    • "The history of space exploration from Sputnik to SpaceX"
    • "How the internet changed society over 30 years"
    • "The story of the iPhone from 2007 to today"
  • Bar Chart Races:

    • "Top 10 most subscribed YouTube channels 2005–2024"
    • "Most valuable companies by market cap 2000–2024"
    • "Top programming languages by popularity 2010–2024"
  • Line Charts:

    • "Revenue growth of Apple, Google, and Microsoft 2010–2024"
    • "Global CO2 emissions by country 2000–2023"
    • "Bitcoin vs Ethereum price 2018–2024"

Technical Stack

Prompt to Video is built using modern and robust technologies:

  • Framework: Next.js 15 (App Router)
  • Language: TypeScript 5
  • Video Rendering: Remotion 4
  • Styling: Tailwind CSS 4
  • AI: OpenRouter (Llama 4 Scout, Gemini 2.0 Flash)
  • Images: Unsplash API
  • Deployment: Compatible with Vercel and Netlify

Contributing

Contributions in the form of pull requests and issue reporting are actively encouraged. Adding new video types, AI models, or export options is especially welcome.

0 comments

No comments yet.

Sign in to be the first to comment.