# 🌿 DOMYWO *A fully automated Video Generation Tool using Text Generation, Image Generation, Video Generation and a VLM to create Social Media Shorts from content with a colloquial sentence and a click* --- ## 🚀 Overview DOMYWO is a one‑stop, end‑to‑end pipeline that turns raw text into engaging short videos ready for TikTok, Reels, Shorts, etc. With a single command you can: | Step | What happens | Tech | |------|--------------|------| | 1️⃣ | **Text** → *Story* | GPT‑4 / LLM | | 2️⃣ | *Story* → **Images** | Stable Diffusion / SD‑XL | | 3️⃣ | **Images** + *Story* → *Video* | FFmpeg + SRT / VTT | | 4️⃣ | Add a **colloquial sentence** as a caption | BLIP / LLaVA (VLM) | | 5️⃣ | **Export** as MP4 / WebM | FFmpeg | > “Create a viral short in 60 s, no editing skills required.” --- ## 🎯 Why DOMYWO? | Problem | DOMYWO’s Solution | |---------|-------------------| | Content creators spend hours writing scripts → **DOMYWO** auto‑writes story outlines. | | Finding royalty‑free images is tedious → **DOMYWO** generates custom visuals on demand. | | Video editing is time‑consuming → **DOMYWO** stitches everything automatically. | | Captions that match tone & context are hard → **DOMYWO** injects colloquial captions via a VLM. | | Need a quick shareable clip → **DOMYWO** outputs ready‑to‑post videos. | --- ## 🛠️ Tech Stack | Layer | Technology | Reason | |-------|------------|--------| | **Text Generation** | OpenAI GPT‑4 (or local LLM) | Natural language scripting | | **Image Generation** | Stable Diffusion 1.5 / 2.1 / SD‑XL | High‑quality visuals | | **Video Assembly** | FFmpeg + Python `moviepy` | Robust, cross‑platform media processing | | **VLM Captioning** | BLIP‑2 / LLaVA | Context‑aware subtitle generation | | **CLI** | Click / Typer | User‑friendly command line | | **Containerization** | Docker | Reproducible environment | | **CI** | GitHub Actions | Automated tests & release | --- ## 📦 Installation > ⚡ **Prerequisites** > • Python 3.10+ (tested on 3.10‑3.12) > • `git` ### 1. Clone & Setup ```bash git clone https://gitea.zephyre.one/Pakobbix/DOMYWO.git cd DOMYWO python -m venv .venv source .venv/bin/activate # Windows: .venv\Scripts\activate pip install -e .[dev] # Installs core + dev dependencies ``` --- ## 🎬 Usage ### Basic One‑Command Demo ```bash domywo generate \ --title "The Future of Remote Work" \ --prompt "Explain why remote work is here to stay" \ --output ./output/future-remote-work.mp4 ``` #### Flags | Flag | Description | Default | |------|-------------|---------| | `--title` | Title of the video | Auto‑derived | | `--prompt` | Text prompt for generation | None (interactive) | | `--style` | Image style (e.g., “minimalist”, “illustration”) | “photo” | | `--length` | Video length in seconds (max 120) | 60 | | `--output` | Output path | `./video.mp4` | | `--offline` | Use local models only | `False` | ### Interactive Mode If you omit `--prompt`, the CLI will ask you for a prompt: ```bash $ domywo generate Enter a prompt (or type 'exit'): The benefits of mindfulness for students ``` ### Batch Mode Create a `prompts.json`: ```json [ {"title": "Healthy Snacks", "prompt": "List 5 quick healthy snacks"}, {"title": "Morning Routine", "prompt": "Explain a 10‑min morning routine"} ] ``` Run: ```bash domywo batch --file prompts.json --output-dir ./videos/ ``` --- ## 🤝 Contributing We ❤️ community contributions! 1. Fork the repo. 2. Create a branch: `git checkout -b feature/my‑awesome‑feature`. 3. Run tests: `pytest`. 4. Commit and push. 5. Open a Pull Request → describe your changes clearly. ### Coding Guidelines - Follow PEP 8 (flake8). - Write docstrings for public functions. - Add tests for new features. ### Reporting Issues - Use the GitHub Issues tracker. - Include reproducible steps, logs, and any relevant screenshots. --- ## 📄 License MIT © 2025 Pakobbix – feel free to use, modify, and distribute. --- ## 📌 Roadmap (v1.0) | Feature | Status | |---------|--------| | 🔜 CLI wrapper | 🚧 | | 🔜 Text → Image → Video pipeline | 🚧 | | 🔜 VLM captioning | 🚧 | | 🔜 Support for 4K output | 🚧 | | 🔜 UI dashboard | 🚧 | | 🔜 Automatic subtitle sync | 🚧 | --- ## 📞 Get in Touch - **Issue tracker**: - **Email**: pakobbix@example.com --- Happy creating! 🚀