Back to Home
tayyab415 icon

directors-cut

Verified Safe

by tayyab415

Overview

Transforms long-form YouTube videos into viral-ready vertical edits using multi-modal AI for content analysis, editing, and production polish.

Installation

Run Command
python app.py

Environment Variables

  • GEMINI_API_KEY
  • VIDEO_API_KEY
  • ELEVENLABS_API_KEY
  • NEBIUS_API_KEY
  • DIRECTORS_CUT_RUNTIME_DIR
  • YOUTUBE_PROXY_URL
  • YOUTUBE_COOKIES_FILE
  • YOUTUBE_PROXY
  • OPENAI_API_KEY

Security Notes

The core server logic (app.py, src/server.py) uses `json.loads` for parsing JSON inputs and constructs `subprocess.run` commands with lists of arguments, which mitigates common command injection vulnerabilities. API keys (Gemini, ElevenLabs, Nebius) are correctly loaded from environment variables. File paths are constructed using `os.path.join` to prevent path traversal. A test script (`verify_workflow.py`) contains an `eval()` call, which is a security risk if exposed to untrusted input, but it is isolated to a test context. Network requests to various AI APIs are expected for functionality but depend on external service security. YouTube download features may encounter network restrictions on certain deployment platforms (e.g., Hugging Face Spaces), requiring proxies or cookie workarounds.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassHigh
Avg Tokens15000
Stars0
Forks0
Last Update2025-11-29

Tags

video-editingaiyoutubeshort-form-contentmcp-server