A full-stack SaaS platform for removing watermarks from AI-generated videos using DeMark-World.
Frontend (Next.js 15)
β Upload Request
Backend (FastAPI)
β Job Queue (Redis)
Worker (Celery on GPU)
β DeMark-World Processing
Storage (Cloudflare R2)
/
βββ frontend/ # Next.js application
βββ backend/ # FastAPI server
β βββ main.py # API endpoints
β βββ database.py # SQLAlchemy setup
β βββ models.py # Database models
β βββ schemas.py # Pydantic schemas
βββ worker/ # GPU worker
β βββ demark_world/ # Cloned DeMark-World repo
β βββ tasks.py # Celery tasks
β βββ Dockerfile # GPU Docker image
βββ docker-compose.yml
# Run the setup script
./start-dev.sh
# This will start Redis and PostgreSQL
# Follow the printed instructions to start backend and frontend
cd aiWatermarkRemover
Copy .env.template and fill in your values:
cp .env.template .env
You'll need:
# Start Redis & PostgreSQL
docker-compose up redis postgres -d
# Install backend dependencies
cd backend
pip install -r requirements.txt
# Run backend
uvicorn main:app --reload
Backend will be available at http://localhost:8000
cd frontend
npm install
npm run dev
Frontend will be available at http://localhost:3000
The worker requires a GPU for processing. For local development without GPU, you can skip this step.
cd worker
pip install -r requirements.txt
# Make sure REDIS_URL and S3 credentials are set
celery -A tasks worker --loglevel=info
cd backend
railway up
.env.template)frontend/NEXT_PUBLIC_API_URL=https://your-backend.railway.app
Since Railway doesn't support GPU instances, deploy the worker separately:
cd worker
docker build -t your-username/watermark-worker .
docker push your-username/watermark-worker
S3_ENDPOINT_URL=https://<account-id>.r2.cloudflarestorage.com
AWS_ACCESS_KEY_ID=<your-key>
AWS_SECRET_ACCESS_KEY=<your-secret>
BUCKET_NAME=<your-bucket>
PUBLIC_URL_BASE=https://pub-xxx.r2.dev
| Service | Provider | Cost |
|---|---|---|
| GPU Workers | RunPod/Lava | $1,200-$1,800 |
| Backend+DB | Railway | $80-$150 |
| Frontend | Vercel | Free-$20 |
| Storage | Cloudflare R2 | $30 |
| Total | ~$1,500-$2,200 |
This tool is intended only for removing watermarks from videos that you generated yourself. Using this tool on copyrighted or third-party content may violate laws including:
By using this service, you confirm that you have the legal right to remove the watermark from the video.
This project uses DeMark-World which is licensed under Apache 2.0, allowing commercial use.
For questions or issues, please open an issue on GitHub.
A full-stack SaaS platform for removing watermarks from AI-generated videos using DeMark-World.
Frontend (Next.js 15)
β Upload Request
Backend (FastAPI)
β Job Queue (Redis)
Worker (Celery on GPU)
β DeMark-World Processing
Storage (Cloudflare R2)
/
βββ frontend/ # Next.js application
βββ backend/ # FastAPI server
β βββ main.py # API endpoints
β βββ database.py # SQLAlchemy setup
β βββ models.py # Database models
β βββ schemas.py # Pydantic schemas
βββ worker/ # GPU worker
β βββ demark_world/ # Cloned DeMark-World repo
β βββ tasks.py # Celery tasks
β βββ Dockerfile # GPU Docker image
βββ docker-compose.yml
# Run the setup script
./start-dev.sh
# This will start Redis and PostgreSQL
# Follow the printed instructions to start backend and frontend
cd aiWatermarkRemover
Copy .env.template and fill in your values:
cp .env.template .env
You'll need:
# Start Redis & PostgreSQL
docker-compose up redis postgres -d
# Install backend dependencies
cd backend
pip install -r requirements.txt
# Run backend
uvicorn main:app --reload
Backend will be available at http://localhost:8000
cd frontend
npm install
npm run dev
Frontend will be available at http://localhost:3000
The worker requires a GPU for processing. For local development without GPU, you can skip this step.
cd worker
pip install -r requirements.txt
# Make sure REDIS_URL and S3 credentials are set
celery -A tasks worker --loglevel=info
cd backend
railway up
.env.template)frontend/NEXT_PUBLIC_API_URL=https://your-backend.railway.app
Since Railway doesn't support GPU instances, deploy the worker separately:
cd worker
docker build -t your-username/watermark-worker .
docker push your-username/watermark-worker
S3_ENDPOINT_URL=https://<account-id>.r2.cloudflarestorage.com
AWS_ACCESS_KEY_ID=<your-key>
AWS_SECRET_ACCESS_KEY=<your-secret>
BUCKET_NAME=<your-bucket>
PUBLIC_URL_BASE=https://pub-xxx.r2.dev
| Service | Provider | Cost |
|---|---|---|
| GPU Workers | RunPod/Lava | $1,200-$1,800 |
| Backend+DB | Railway | $80-$150 |
| Frontend | Vercel | Free-$20 |
| Storage | Cloudflare R2 | $30 |
| Total | ~$1,500-$2,200 |
This tool is intended only for removing watermarks from videos that you generated yourself. Using this tool on copyrighted or third-party content may violate laws including:
By using this service, you confirm that you have the legal right to remove the watermark from the video.
This project uses DeMark-World which is licensed under Apache 2.0, allowing commercial use.
For questions or issues, please open an issue on GitHub.