# Pi Video - Generate Videos Programmatically

**React-based video generation, slideshows, animations.**

Inspired by [remotion-dev/remotion](https://github.com/remotion-dev/remotion)

## Quick Start

```bash
/video create slideshow "My Presentation"
```

## What It Does

```
CODE ──► Remotion ──► Video (MP4/GIF)
  │
  └──► React components → Frame by frame
```

1. **Create** - React-based video project
2. **Preview** - Live preview in browser
3. **Render** - Export as MP4 or GIF
4. **Ship** - Embed anywhere

## Templates

| Template | Use Case |
|----------|----------|
| `slideshow` | Photo presentations |
| `timeline` | Progress animations |
| `logo` | Animated logo reveal |
| `stats` | Data visualizations |
| `countdown` | Timer animations |

## Cost

| Method | Cost |
|--------|------|
| Local render | FREE |
| Remotion Cloud | ~$0.05/min |
| **Local** | **FREE** |

## Installation

```bash
npm install @artale/pi-video
```

## Commands

```bash
/video create slideshow my-presentation
/video create timeline progress-video
/video create logo brand-reveal
/video list
```

## Requirements

- Node.js 18+
- ffmpeg (for rendering)
- npx (comes with Node)