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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c996e70d674d8a500209b0fd7ea878e851fe7450bcdca97ab62ad6e32795df4
|
|
| MD5 |
54ca9b26aedfc190b26907cd28603c71
|
|
| BLAKE2b-256 |
ec7684a34ea5332999c98626e919a8b4d04a4477488f5a972a49faa7fccca317
|
Provenance
The following attestation bundles were made for videopython-0.16.2.tar.gz:
Publisher:
publish.yml on BartWojtowicz/videopython
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
videopython-0.16.2.tar.gz -
Subject digest:
1c996e70d674d8a500209b0fd7ea878e851fe7450bcdca97ab62ad6e32795df4 - Sigstore transparency entry: 911813321
- Sigstore integration time:
-
Permalink:
BartWojtowicz/videopython@f38a0421aa1be1a4401f23d09909a88cf0d01182 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/BartWojtowicz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f38a0421aa1be1a4401f23d09909a88cf0d01182 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8545b2b6c2d172538ee68374e583bcc0b0d7246bce5b5fd7a1a22a69f86a837e
|
|
| MD5 |
fd9c7f6951229d09ecf65288a049e68b
|
|
| BLAKE2b-256 |
b28ad1b6de7d4d7fea23b4fd4777143a6a3529b7c8aa5eead84fcc0c8b17e5b6
|
Provenance
The following attestation bundles were made for videopython-0.16.2-py3-none-any.whl:
Publisher:
publish.yml on BartWojtowicz/videopython
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
videopython-0.16.2-py3-none-any.whl -
Subject digest:
8545b2b6c2d172538ee68374e583bcc0b0d7246bce5b5fd7a1a22a69f86a837e - Sigstore transparency entry: 911813371
- Sigstore integration time:
-
Permalink:
BartWojtowicz/videopython@f38a0421aa1be1a4401f23d09909a88cf0d01182 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/BartWojtowicz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f38a0421aa1be1a4401f23d09909a88cf0d01182 -
Trigger Event:
push
-
Statement type: