File size: 2,937 Bytes
fa5c7f4 2016e6e fa5c7f4 7fa9d90 fa5c7f4 7fa9d90 fa5c7f4 7fa9d90 fa5c7f4 7fa9d90 fa5c7f4 7fa9d90 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | ---
title: NCAkit
emoji: π¬
colorFrom: purple
colorTo: blue
sdk: docker
app_port: 8880
pinned: false
license: mit
Api Docs: https://robiul487-NCAkit.hf.space/docs
---
# NCAkit - Neural Content Automation Toolkit π€
A modular Python toolkit for content automation, featuring video creation, AI story reels, and more.
## β¨ Features
- π¬ **Video Creator** - Short-form videos with TTS, captions, and music
- οΏ½ **Story Reels** - AI-powered character-consistent story videos (NEW!)
- οΏ½π **Modular Architecture** - Easy to add new features
- π **REST API** - FastAPI with auto-generated docs
- π **Ready for Deployment** - Docker & Hugging Face Spaces
## ποΈ Project Structure
```
NCAkit/
βββ app.py # Main FastAPI application
βββ config.py # Unified configuration
βββ requirements.txt # All dependencies
βββ Dockerfile # Docker deployment
β
βββ core/ # Shared infrastructure
β βββ module_registry.py # Auto module discovery
β βββ utils/ # Shared utilities
β
βββ modules/ # Feature modules
β βββ video_creator/ # Video creation module
β βββ story_reels/ # AI Story Reels (NEW!)
β βββ _template/ # Template for new modules
β
βββ static/ # Web UI & assets
```
## π Quick Start
### Install
```bash
cd NCAkit
pip install -r requirements.txt
```
### Configure
```bash
cp .env.example .env
# Edit .env with your API keys
```
### Run
```bash
python app.py
# Or: uvicorn app:app --host 0.0.0.0 --port 8880 --reload
```
### Access
- **Web UI**: http://localhost:8880
- **API Docs**: http://localhost:8880/docs
- **Modules**: http://localhost:8880/api/modules
## π‘ API Endpoints
### Video Creator
| Endpoint | Method | Description |
|----------|--------|-------------|
| `/api/video/short-video` | POST | Create video |
| `/api/video/short-video/{id}/status` | GET | Check status |
| `/api/video/short-video/{id}` | GET | Download video |
### Story Reels (NEW!)
| Endpoint | Method | Description |
|----------|--------|-------------|
| `/api/story-reels/generate` | POST | Generate AI story video |
| `/api/story-reels/status/{id}` | GET | Check status |
| `/api/story-reels/download/{id}` | GET | Download video |
## βοΈ Environment Variables
| Variable | Required | Module |
|----------|----------|--------|
| `PEXELS_API_KEY` | β
| Video Creator |
| `HF_TTS` | β
| Video Creator / Story Reels |
| `NVIDIA_API_KEY` | β
| Story Reels (Primary) |
| `CF_URL` | β | Story Reels (Fallback) |
| `CF_API` | β | Story Reels (Fallback) |
| `GEMINI_API_KEY` | β
| Story Reels (AI Scripts) |
## π³ Docker
```bash
docker build -t ncakit .
docker run -p 8880:8880 --env-file .env ncakit
```
## π License
MIT
|