Spaces:
Sleeping

MoneyPrinter / README.md
SeaWolf-AI's picture
Fix: upgrade Gradio to 5.12.0 for huggingface_hub 1.x compat, remove gradio from requirements.txt
f9076a1 verified
|
Raw History Blame Contribute Delete
1.29 kB

A newer version of the Gradio SDK is available: 6.33.0

Upgrade
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:

  1. Topic Generation — LLM generates a video topic from your niche
  2. Script Writing — LLM writes a short video script
  3. Image Generation — Gemini API creates visuals from AI prompts
  4. Text-to-Speech — Edge TTS converts script to natural speech
  5. Subtitle Generation — faster-whisper creates synced subtitles
  6. 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

  1. Enter a niche/topic (e.g., "artificial intelligence", "cooking tips")
  2. Select language, LLM model, TTS voice, and script length
  3. Click "Generate Video"
  4. Download the generated MP4

Note: This demo generates videos only. YouTube upload requires browser automation and is not available on HF Spaces.