Skip to main content

Minimal video generation and processing library.

Project description

videopython

A minimal video generation and processing library designed for short-form videos, with focus on simplicity and ease of use for both humans and AI agents.

Installation

Install ffmpeg

# MacOS
brew install ffmpeg
# Ubuntu
sudo apt-get install ffmpeg

Install library

# With AI features
uv add videopython --extra ai
# or
pip install "videopython[ai]"

# Base only (no AI dependencies)
uv add videopython
# or
pip install videopython

Features

Video processing, AI generation, understanding, dubbing, and object swapping. See full documentation for examples and API reference.

AI Backend Support

Cloud backends require API keys: OPENAI_API_KEY, GOOGLE_API_KEY, ELEVENLABS_API_KEY, RUNWAYML_API_KEY, LUMAAI_API_KEY, REPLICATE_API_TOKEN.

Class local openai gemini elevenlabs luma runway replicate
TextToVideo CogVideoX1.5-5B - - - Dream Machine - -
ImageToVideo CogVideoX1.5-5B-I2V - - - Dream Machine Gen-4 Turbo -
TextToSpeech Bark TTS - Multilingual v2 - - -
TextToMusic MusicGen - - - - - -
TextToImage SDXL DALL-E 3 - - - - -
ImageToText BLIP GPT-4o Gemini - - - -
AudioToText Whisper Whisper API Gemini - - - -
AudioClassifier AST - - - - - -
ObjectDetector YOLO GPT-4o Gemini - - - -
TextDetector EasyOCR GPT-4o Gemini - - - -
FaceDetector OpenCV - - - - - -
ShotTypeClassifier - GPT-4o Gemini - - - -
CameraMotionDetector OpenCV - - - - - -
MotionAnalyzer OpenCV - - - - - -
ActionRecognizer VideoMAE - - - - - -
SemanticSceneDetector TransNetV2 - - - - - -
VideoDubber Local Pipeline - - Dubbing API - - -
TextTranslator Helsinki-NLP GPT-4o Gemini - - - -
AudioSeparator Demucs - - - - - -
ObjectSwapper SAM2+SDXL - - - - - SAM2+SDXL

Development

See DEVELOPMENT.md for setup instructions and contribution guidelines.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

videopython-0.16.2.tar.gz (114.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

videopython-0.16.2-py3-none-any.whl (139.7 kB view details)

Uploaded Python 3

File details

Details for the file videopython-0.16.2.tar.gz.

File metadata

  • Download URL: videopython-0.16.2.tar.gz
  • Upload date:
  • Size: 114.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for videopython-0.16.2.tar.gz
Algorithm Hash digest
SHA256 1c996e70d674d8a500209b0fd7ea878e851fe7450bcdca97ab62ad6e32795df4
MD5 54ca9b26aedfc190b26907cd28603c71
BLAKE2b-256 ec7684a34ea5332999c98626e919a8b4d04a4477488f5a972a49faa7fccca317

See more details on using hashes here.

Provenance

The following attestation bundles were made for videopython-0.16.2.tar.gz:

Publisher: publish.yml on BartWojtowicz/videopython

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file videopython-0.16.2-py3-none-any.whl.

File metadata

  • Download URL: videopython-0.16.2-py3-none-any.whl
  • Upload date:
  • Size: 139.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for videopython-0.16.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8545b2b6c2d172538ee68374e583bcc0b0d7246bce5b5fd7a1a22a69f86a837e
MD5 fd9c7f6951229d09ecf65288a049e68b
BLAKE2b-256 b28ad1b6de7d4d7fea23b4fd4777143a6a3529b7c8aa5eead84fcc0c8b17e5b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for videopython-0.16.2-py3-none-any.whl:

Publisher: publish.yml on BartWojtowicz/videopython

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page