check_video_deps (video/__init__.py)

cheetahclaws · cheetahclaws/modular/video/__init__.py · python · Apache-2.0
voice

Video content factory for CheetahClaws. Idea → AI Story → AI Voice → AI Images → Subtitles → Final Video Zero-cost path: Edge TTS (free) + Gemini Web images (Playwright, free). Paid path: Gemini TTS / ElevenLabs + SDXL local GPU.

# Source: https://github.com/SAIL-Research-Lab/cheetahclaws | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
# Provided via justclaw.it.com; keep this notice with the code.
"""
Video content factory for CheetahClaws.
Idea → AI Story → AI Voice → AI Images → Subtitles → Final Video

Zero-cost path: Edge TTS (free) + Gemini Web images (Playwright, free).
Paid path: Gemini TTS / ElevenLabs + SDXL local GPU.
"""

import shutil


def check_video_deps() -> dict:
    """Return a dict of which video pipeline dependencies are available."""
    deps: dict = {}

    # ── System tools ──────────────────────────────────────────────────────────
    deps["ffmpeg"]        = bool(shutil.which("ffmpeg"))
    deps["ffprobe"]       = bool(shutil.which("ffprobe"))



... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key