Dexpull YouTube Automation — full installation and usage guide
This product runs on your own Windows machine. All AI inference is local (Ollama, ComfyUI, Kokoro ONNX). There is no cloud AI, no paid API, and no generated progress: every job is real and backed by SQLite plus live engine logs.
1. Download the product
- Open https://dexpull.in
- Choose Products, then "Dexpull YouTube Automation".
- Press "Continue with Google" and sign in.
- Press "Issue free 30-day key". The key looks like DEXP-XXXX-XXXX-XXXX and is valid for 30 days.
- Press "Download for localhost". A ZIP named dexpull-youtube-automation.zip is downloaded.
The download endpoint checks the key on the server before streaming the ZIP. The key is not stored in the ZIP. No payment is collected; Razorpay is not connected yet.
2. Extract and install
Open PowerShell in the folder that contains the ZIP:
Expand-Archive .\dexpull-youtube-automation.zip -DestinationPath .\dexpull-youtube-automation -Force
cd .\dexpull-youtube-automation
setup-windows.cmd
setup-windows.cmd does four things, and is safe to run again:
Creates backend\.venv and installs backend\requirements.txt
Runs npm install in frontend
Writes frontend\.env.local from frontend\.env.example if missing
Downloads FFmpeg into E:\YouTubeAI\ffmpeg if it is not already there (about 114 MB)
Requirements: Windows 10/11, Node.js 20+, Python 3.10+, 8 GB RAM minimum. A CUDA GPU helps a lot for motion clips but scripts, voice and editing work without one.
3. Start the studio
cd .\dexpull-youtube-automation
start-studio.cmd
Two terminals open and stay open:
Frontend: http://localhost:3000
Backend: http://127.0.0.1:8000
API docs: http://127.0.0.1:8000/docs
Live check: http://127.0.0.1:8000/api/health/live
Close the two windows to stop the product. Nothing is installed system-wide and nothing is uploaded.
4. Frontend configuration
frontend.env.example contains the only browser-side setting:
NEXT_PUBLIC_API_URL=http://127.0.0.1:8000
Copy it to frontend.env.local if setup did not. Change the port only if you also change the backend port. The theme toggle is in the header; light is default, dark is pure black. Aspect-ratio buttons replace width/height fields in Image Studio and the Video Editor: 9:16, 16:9 and 1:1.
Frontend commands:
cd frontend
npm install
npm run dev
npx tsc --noEmit
npm run build
5. Backend configuration
backend.env.example (copy to backend.env to override):
YOUTUBE_STUDIO_STORAGE_ROOT=E:\YouTubeAI
YOUTUBE_STUDIO_OLLAMA_URL=http://127.0.0.1:11434
YOUTUBE_STUDIO_COMFYUI_URL=http://127.0.0.1:8188
YOUTUBE_STUDIO_DEFAULT_LLM=qwen3:4b
YOUTUBE_STUDIO_CORS_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
YOUTUBE_STUDIO_MAX_GENERATION_CONCURRENCY=1
Settings edited in the UI are also persisted in backend.runtime.json, which survives restarts. Everything is local:
E:\YouTubeAI\models Ollama, ComfyUI and Kokoro model files
E:\YouTubeAI\projects project data
E:\YouTubeAI\images generated PNGs
E:\YouTubeAI\videos Wan motion clips
E:\YouTubeAI\audio Kokoro WAV narration
E:\YouTubeAI\exports final rendered MP4s
E:\YouTubeAI\database SQLite studio.db and YouTube token
E:\YouTubeAI\ffmpeg local FFmpeg binary
Backend commands:
cd backend
.\.venv\Scripts\python.exe run.py
.\.venv\Scripts\python.exe -m pytest tests -q
6. Local engines
Ollama: start the Ollama app from E:\YouTubeAI\ollama-app, then install a model:
& "E:\YouTubeAI\ollama-app\ollama.exe" pull qwen3:4b
You can also install models in the app: Model Manager -> Install local models -> Language models.
ComfyUI: the app includes a button at Model Manager -> Install local models -> Generation engine. To launch it manually, use low-VRAM settings and tiled VAE:
Start-Process -FilePath "E:\YouTubeAI\comfyui\.venv\Scripts\python.exe" -ArgumentList "E:\YouTubeAI\comfyui\main.py --listen 127.0.0.1 --port 8188 --lowvram --disable-cuda-malloc"
Do not add --cpu-vae on the 4 GB RTX 2050; it is much slower. Wan 2.2 TI2V-5B files are downloaded from Model Manager -> Video & image with real progress. SD 1.5 is used for scene images.
FFmpeg: setup-windows.cmd installs it. If missing:
powershell -ExecutionPolicy Bypass -File install-ffmpeg.ps1
7. File structure
dexpull-youtube-automation\
setup-windows.cmd one-time installer
start-studio.cmd launches backend + frontend
install-ffmpeg.ps1 idempotent FFmpeg installer
verify-install.ps1 local verification helper
INSTALL.md short install guide
README.md feature and architecture overview
CONTRIBUTING.md contribution rules
LICENSE open-source license
backend\
run.py uvicorn entry point (port 8000)
requirements.txt Python dependencies
.env.example local configuration template
.runtime.json UI-persisted settings
app\
main.py FastAPI app, CORS, routers, WebSocket
config.py settings and storage paths
database.py SQLite schema and helpers
api\ health, projects, ideas, scripts, scenes, images, videos,
audio, editor, generation, models, youtube, automation, settings, stats
schemas\ Pydantic request/response models
services\ ollama, comfyui, ffmpeg, tts, timeline renderer,
generation worker, youtube service, job manager
tools\ Wan render driver and helper scripts
tests\ pytest suite (12 tests)
frontend\
package.json Next.js scripts
.env.example NEXT_PUBLIC_API_URL
app\
page.tsx dashboard
script-studio\ local Qwen script generation
image-studio\ SD 1.5 images, aspect-ratio control
video-production\ scene images and Wan motion
voice-studio\ Kokoro narration
video-editor\ FFmpeg timeline render
youtube-studio\ OAuth, local AI metadata, upload
model-manager\ engine status and real model downloads
settings\ local paths and defaults
components\ UI primitives, sidebar, theme, ratio picker
lib\ api client, store, types, job hooks
docs\WINDOWS_START.md detailed Windows walkthrough
8. First production run
- Open http://localhost:3000 and check Model Manager. Ollama, ComfyUI and FFmpeg must all report real status.
- Install qwen3:4b if no model is listed, and set it as default.
- Script Studio: enter a topic and generate a validated script. Scenes come from the local model.
- Video Production: for each scene, generate an image (SD 1.5) and optionally a Wan motion clip. On a 4 GB GPU use 512x320, 61 frames, 6 steps and 12 fps; expect minutes per clip.
- Voice Studio: turn the narration into Kokoro WAV audio.
- Video Editor: arrange scenes, captions and audio, then render an H.264/AAC MP4 into E:\YouTubeAI\exports.
- YouTube Studio: connect your own channel with a Desktop-app OAuth client secret placed at E:\YouTubeAI\database\youtube_client_secret.json. The token stays on this machine.
Every step is a persistent job. The UI shows real progress from the engine and the jobs table; restarting the backend never invents completion.
9. Title, description and tags by local AI
In YouTube Studio there is a "Metadata by local AI" panel:
Enter a topic or brief (required), optional niche and audience, language, and a local model.
Press "Generate title, description & tags".
The backend calls POST /api/youtube/metadata/generate, queues a youtube_metadata job, and the local Ollama model returns exactly one JSON object:
title, description, tags, hashtags, thumbnail_ideas
The backend validates and normalizes it (title under 100 characters, at most 15 tags, 10 hashtags, 3 thumbnail ideas) and fills the upload form. If Ollama is unreachable the API returns a real 503 with the reason; nothing is generated by a cloud service and nothing is faked.
10. Upload to YouTube
Select the rendered MP4 from E:\YouTubeAI\exports
Confirm the AI-written title, description and tags
Choose privacy: private (default), unlisted or public
Press Upload
Uploads use the official YouTube Data API with your own OAuth credentials. Privacy is explicit at upload and can be changed afterwards from the upload history. The Data API cannot schedule uploads; a date entered locally is stored locally only.
11. Verify the install
curl http://127.0.0.1:8000/api/health/live
curl http://127.0.0.1:8000/api/health/integrations
cd backend && .\.venv\Scripts\python.exe -m pytest tests -q
cd frontend && npx tsc --noEmit && npm run build
Expected: health returns status ok, integrations report real engine versions, tests pass 12/12, TypeScript and the production build are clean.
12. Troubleshooting
Backend unreachable run start-studio.cmd again; check port 8000
No local model install qwen3:4b in Model Manager or run ollama.exe pull qwen3:4b
Metadata button disabled install a model and set a default, then reload YouTube Studio
ffmpeg not found powershell -ExecutionPolicy Bypass -File install-ffmpeg.ps1
Wan generation very slow expected on 4 GB; use 512x320, 61 frames, 6 steps
ComfyUI VAE out of memory keep --lowvram --disable-cuda-malloc and tiled VAE; avoid --cpu-vae
npm audit warnings upstream advisories; fixes require major Next.js/archiver upgrades
13. Privacy and limits
No cloud AI inference, no API key for generation, no telemetry from the studio.
Supabase is used only by the platform website for Google auth, keys and download counts.
The product ZIP excludes node_modules, .venv, .next, .env*, logs and temporary files.
YouTube scheduling is not supported by the Data API.
Thumbnail composition and LLM idea generation are still pending features.
14. Local or online generation and credits
The Dexpull website offers two generation paths:
Dexpull Local free, runs on your own GPU through the downloaded studio, no credits
Dexpull Cloud online generation through Replicate, charged in credits
Sign in, open the Dashboard or the product page, and use the "Generate a video" panel. New accounts receive 100 free credits. The server calculates the cost; the browser cannot change it:
4-5 seconds at 480p = 5 credits
4-5 seconds at 720p = 10 credits
4-5 seconds at 1080p = 20 credits
longer clips scale by duration
Credits are spent when a cloud job is accepted and refunded automatically if the provider rejects or cannot reach the job. Each debit and refund is recorded in credit_transactions. The live balance is shown next to your email in the header.
The Replicate API token is stored only on the server (Wrangler secret on Cloudflare, .env.local locally) and is never sent to the browser. The default online model is bytedance/seedance-1-lite; it accepts text-to-video and an optional image URL for image-to-video. Cloud output links expire in about an hour, so download the result promptly.
No online API is required for the local studio. Adding another online provider later only needs a new entry in lib/providers.ts and a server adapter.
15. Paste this into ChatGPT
The raw, machine-readable version of this document is served at:
https://dexpull.in/api/docs/youtube-automation
On a local install the same path is:
http://localhost:4000/api/docs/youtube-automation
Open the product documentation page in your browser and press "Copy link", or copy either URL above and paste it into ChatGPT. The response is plain Markdown with Content-Type text/markdown, so ChatGPT can read the setup commands, ports, paths, file structure and troubleshooting steps directly and answer follow-up questions about this product.