Spaces:
Running
Running
Fix: upgrade Gradio to 5.12.0 for huggingface_hub 1.x compat, remove gradio from requirements.txt
f9076a1 verified A newer version of the Gradio SDK is available: 6.12.0
metadata
title: MoneyPrinterV2 - YouTube Shorts Generator
emoji: π¬
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.12.0
python_version: '3.12'
app_file: app.py
pinned: false
MoneyPrinterV2 β YouTube Shorts Generator
AI-powered YouTube Shorts video generation pipeline:
- Topic Generation β LLM generates a video topic from your niche
- Script Writing β LLM writes a short video script
- Image Generation β Gemini API creates visuals from AI prompts
- Text-to-Speech β Edge TTS converts script to natural speech
- Subtitle Generation β faster-whisper creates synced subtitles
- Video Assembly β MoviePy combines everything into a downloadable MP4
Required Secrets
Set these in your Space Settings > Secrets:
| Secret | Description |
|---|---|
HF_TOKEN |
Hugging Face API token (for LLM text generation) |
GEMINI_API_KEY |
Google Gemini API key (for AI image generation) |
Usage
- Enter a niche/topic (e.g., "artificial intelligence", "cooking tips")
- Select language, LLM model, TTS voice, and script length
- Click "Generate Video"
- Download the generated MP4
Note: This demo generates videos only. YouTube upload requires browser automation and is not available on HF Spaces.