Spaces:
Running
Running
Update GhostPackDemo/readme.md
Browse files- GhostPackDemo/readme.md +78 -116
GhostPackDemo/readme.md
CHANGED
|
@@ -1,71 +1,83 @@
|
|
| 1 |
-
#
|
| 2 |
|
| 3 |
-
**
|
| 4 |
-
Create stunning **30 FPS** AI videos from a single image with advanced local GPU acceleration.
|
| 5 |
[](https://python.org)
|
| 6 |
[](LICENSE)
|
| 7 |
-
[
|
| 155 |
-
|
| 156 |
-
---
|
| 157 |
-
|
| 158 |
-
## 🖼️ Screenshots
|
| 159 |
-
|
| 160 |
-
**Main UI:**
|
| 161 |
-

|
| 162 |
-
|
| 163 |
-
**Advanced Settings:**
|
| 164 |
-

|
| 165 |
-
|
| 166 |
-
**Logs:**
|
| 167 |
-

|
| 168 |
-
|
| 169 |
-
---
|
| 170 |
-
|
| 171 |
-
## 🗂️ Latest Files
|
| 172 |
-
|
| 173 |
-
- **ghostgradio.py**
|
| 174 |
-
- [Logs](#)
|
| 175 |
-
- [Refresh Repo](#) | [Refresh Logs](#)
|
| 176 |
|
| 177 |
---
|
| 178 |
|
| 179 |
## 📜 License
|
| 180 |
|
| 181 |
-
Apache 2.0.
|
| 182 |
-
|
| 183 |
-
---
|
| 184 |
-
|
| 185 |
-
**👻 GhostPack by [ghostai1](https://github.com/ghostai1/GhostPack) | [Hugging Face](https://huggingface.co/ghostai1)**
|
| 186 |
*Created June 11, 2025*
|
|
|
|
| 1 |
+
# 👻 GhostPackDemo: Next-Gen AI Video Engine
|
| 2 |
|
| 3 |
+
**Create real 30FPS AI videos from a single image on any modern GPU!**
|
|
|
|
| 4 |
[](https://python.org)
|
| 5 |
[](LICENSE)
|
| 6 |
+
[](https://huggingface.co/spaces/ghostai1/GhostPackDemo)
|
| 7 |
|
| 8 |
---
|
| 9 |
|
| 10 |
+
## 🚀 What is GhostPackDemo?
|
| 11 |
|
| 12 |
+
GhostPackDemo is a **laptop-friendly, open-source AI video generator** that merges HunyuanVideo and FramePack into one supercharged pipeline with an intuitive Gradio UI.
|
| 13 |
+
No cloud, no rental GPUs: **make stunning, smooth videos on your own hardware** (6GB+ VRAM/8GB+ RAM).
|
| 14 |
+
|
| 15 |
+
- **Blazing Fast**: Up to 40% faster with Teacache & Sage-Attention
|
| 16 |
+
- **Efficient**: 50% less VRAM required (context packing, batching, tcmalloc, cache tricks)
|
| 17 |
+
- **Customizable**: Control every parameter, live preview, tune batch size & prompts
|
| 18 |
+
- **Real Results**: 10–15s/frame (RTX 3060), full 30FPS from one photo
|
| 19 |
+
- **Fully Open Source**: Apache 2.0
|
| 20 |
|
| 21 |
---
|
| 22 |
|
| 23 |
+
## ✨ Features
|
| 24 |
|
| 25 |
+
- **Veo 3-Level AI**: Advanced frame prediction for lifelike motion
|
| 26 |
+
- **Phantom Speed**: 12–15s/frame (RTX 3060), up to 50% throughput boost with dynamic batching
|
| 27 |
+
- **Laptop & Desktop Ready**: Works on 6GB/8GB+ VRAM (GTX 1650 and up)
|
| 28 |
+
- **Custom Workflow**: Batch, frame count, prompt, CRF—dial it all in
|
| 29 |
+
- **Instant Preview**: See frames as they're built (Gradio)
|
| 30 |
+
- **Community Built**: Free, extensible, remixable
|
| 31 |
|
| 32 |
---
|
| 33 |
|
| 34 |
+
## 🧙♂️ Math Sorcery (Optimizations)
|
| 35 |
+
|
| 36 |
+
- **Speed**:
|
| 37 |
+
- Teacache: ~40% faster (`T_total ≈ 0.6 × T_base`)
|
| 38 |
+
- Sage-Attention: 5–10% faster
|
| 39 |
+
- CUDA tweaks: –15% latency
|
| 40 |
+
- Dynamic scheduling: –20% gen time
|
| 41 |
+
- **Memory**:
|
| 42 |
+
- Context packing: –50% VRAM
|
| 43 |
+
- tcmalloc: –20% overhead
|
| 44 |
+
- VRAM cache: –25% swap ops
|
| 45 |
+
- **Compute**:
|
| 46 |
+
- Dynamic batching: +50% throughput
|
| 47 |
+
- **Efficiency**:
|
| 48 |
+
- Power savings: –30% idle draw
|
| 49 |
+
- Thread tuning: +15% CPU
|
| 50 |
+
- **VRAM Needs**:
|
| 51 |
+
- GTX 1650 (6GB): 18–25s/frame
|
| 52 |
+
- RTX 3050 (8GB): 15–20s/frame
|
| 53 |
+
- RTX 3060 (12GB): 10–15s/frame
|
| 54 |
+
- RTX 4090 (24GB): 1.5–2.5s/frame
|
| 55 |
|
| 56 |
---
|
| 57 |
|
| 58 |
+
## 📺 Demos & Screenshots
|
| 59 |
+
|
| 60 |
+
<div align="center">
|
| 61 |
+
|
| 62 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/6421b1c68adc8881b974a89d/k8pgUlg4OvdUZpbMNTcp5.gif" alt="GhostPack Demo GIF" style="max-width: 480px; border-radius: 14px; box-shadow: 0 0 30px #ff00ff; margin-bottom: 20px;">
|
| 63 |
+
<br>
|
| 64 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/6421b1c68adc8881b974a89d/7ABE2lOA4LOUtPfh1mhxP.png" alt="Main Interface" width="310" style="margin:12px; border-radius:12px; box-shadow:0 0 16px #00ffcc;">
|
| 65 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/6421b1c68adc8881b974a89d/9qNVRX2eM2iCY8xQKcOwW.png" alt="Advanced Settings" width="310" style="margin:12px; border-radius:12px; box-shadow:0 0 16px #00ffcc;">
|
| 66 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/6421b1c68adc8881b974a89d/--fIS9ITg4-VqN22ySoa2.png" alt="Logs Display" width="310" style="margin:12px; border-radius:12px; box-shadow:0 0 16px #00ffcc;">
|
| 67 |
+
|
| 68 |
+
</div>
|
| 69 |
|
| 70 |
+
> **Main Interface · Advanced Settings · Logs**
|
| 71 |
+
|
| 72 |
+
See more: [Demo Videos](https://github.com/ghostai1/GhostPack/blob/main/demo_videos)
|
| 73 |
|
| 74 |
---
|
| 75 |
|
| 76 |
## 🛠️ Installation
|
| 77 |
|
| 78 |
+
**Requires:** NVIDIA GPU (6GB+ VRAM), 8GB+ RAM, 30GB+ disk, Python 3.10, CUDA 12.6+
|
|
|
|
|
|
|
| 79 |
|
| 80 |
### Ubuntu
|
|
|
|
| 81 |
```bash
|
| 82 |
git clone https://github.com/ghostai1/GhostPack
|
| 83 |
cd GhostPack
|
|
|
|
| 86 |
```
|
| 87 |
|
| 88 |
### Windows
|
|
|
|
| 89 |
```bash
|
| 90 |
git clone https://github.com/ghostai1/GhostPack
|
| 91 |
cd GhostPack
|
|
|
|
| 93 |
```
|
| 94 |
|
| 95 |
### macOS
|
|
|
|
| 96 |
```bash
|
| 97 |
git clone https://github.com/ghostai1/GhostPack
|
| 98 |
cd GhostPack
|
|
|
|
| 102 |
|
| 103 |
---
|
| 104 |
|
| 105 |
+
## 🚦 Quick Start
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 106 |
|
| 107 |
+
```bash
|
| 108 |
+
source ~/ghostpack_venv/bin/activate
|
| 109 |
+
cd ~/ghostpack_venv
|
| 110 |
+
python ghostgradio.py --port 5666 --server 0.0.0.0
|
| 111 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
|
| 113 |
+
- **Upload an image**, set your prompt, choose batch size/FPS/CRF.
|
| 114 |
+
- **Enable Teacache** for best speed.
|
| 115 |
+
- **Watch the live preview.**
|
| 116 |
+
- **Export your video** (MP4, any quality).
|
| 117 |
+
- **Monitor GPU:** run `nvidia-smi` for full load.
|
| 118 |
|
| 119 |
---
|
| 120 |
|
| 121 |
+
## 🌟 Roadmap
|
| 122 |
|
| 123 |
+
- **AI Voice Generation**: Narrate your videos with custom AI voices
|
| 124 |
+
- **AI Image Creation**: Start with pro-quality AI-generated frames
|
| 125 |
+
- **VR Video**: Native support for 3D/VR video rendering
|
| 126 |
|
| 127 |
---
|
| 128 |
|
| 129 |
+
## 🤝 Community
|
| 130 |
|
| 131 |
+
- [Discord](https://discord.gg/ghostpack) — Support, collabs, & feedback
|
| 132 |
+
- [GitHub Issues](https://github.com/ghostai1/GhostPack/issues) — Report bugs, request features
|
| 133 |
+
- [Hugging Face Space](https://huggingface.co/spaces/ghostai1/GhostPackDemo) — Try the demo live
|
|
|
|
|
|
|
|
|
|
| 134 |
|
| 135 |
---
|
| 136 |
|
| 137 |
## 🧑💻 Contributing
|
| 138 |
|
| 139 |
+
- Fork & branch, submit PRs, follow [CONTRIBUTING.md](https://github.com/ghostai1/GhostPack/blob/main/CONTRIBUTING.md)
|
| 140 |
+
- All improvements welcome—GUI, docs, optimization, features
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 141 |
|
| 142 |
---
|
| 143 |
|
| 144 |
## 📜 License
|
| 145 |
|
| 146 |
+
Apache 2.0.
|
| 147 |
+
**GhostPack by [ghostai1](https://github.com/ghostai1/GhostPack) · [Hugging Face](https://huggingface.co/ghostai1)**
|
|
|
|
|
|
|
|
|
|
| 148 |
*Created June 11, 2025*
|