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.4.tar.gz (115.1 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.4-py3-none-any.whl (140.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: videopython-0.16.4.tar.gz
  • Upload date:
  • Size: 115.1 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.4.tar.gz
Algorithm Hash digest
SHA256 3e7575a522afcdf2fb5fad8ccd5f99774618da3503504007954dea8e1ee34367
MD5 b77286f5ad7e3f879f5627fef92c4e42
BLAKE2b-256 ad504e168033ebafee6829b732e04e0409b631a50e94f82cb7bc2d22e6e46434

See more details on using hashes here.

Provenance

The following attestation bundles were made for videopython-0.16.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: videopython-0.16.4-py3-none-any.whl
  • Upload date:
  • Size: 140.8 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 55461d5a216e5bb360b8bff8aaded1e4f1de41b398cd5fa6e6ba60f0f49abd44
MD5 b0d03b80c040ff7310e62d5b9276239a
BLAKE2b-256 c05f79226676d4e201e62d3ae154d584080bf3eb7e6c7cb20b66fdbc2458c151

See more details on using hashes here.

Provenance

The following attestation bundles were made for videopython-0.16.4-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