Skip to main content

OpenShorts CLI

Clip long videos into vertical 9:16 shorts from the terminal. Zero dependencies; talks to the same API the dashboard, the MCP server and the webhooks use.

pip install openshorts        # or: uvx openshorts / pipx run openshorts

export OPENSHORTS_API_KEY=osk_...   # from your account page at openshorts.app

openshorts process "https://youtube.com/watch?v=..." --wait
openshorts clips <job_id>
openshorts publish <job_id> 0 --platforms tiktok,youtube
openshorts quota

Self-hosted instance? Point it at your own machine and skip the key:

export OPENSHORTS_API_URL=http://localhost:8000
openshorts process "https://youtube.com/watch?v=..." --wait

For pipelines, prefer the webhook to --wait: pass --webhook and --webhook-secret and OpenShorts POSTs once (HMAC-signed, X-OpenShorts-Signature: sha256=<hex>) when the job ends, with clip titles and durable download links.

The hosted free tier is 20 minutes/month with a watermark; paid plans from $12/month. The self-hosted edition is MIT and has no meter. Agent-native version of the same surface: openshorts.app/mcp.

Release files for openshorts 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openshorts 0.1.0
File Size Uploaded
openshorts-0.1.0.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for openshorts 0.1.0
File Interpreter ABI Platform
openshorts-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.3 kB

Release files / openshorts-0.1.0.tar.gz

Download URL openshorts-0.1.0.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3af416641824f3c1fe2e014d199079e7e7a2f9586c9802a3bb7bad9342326a8a
BLAKE2b-256 checksum
How to use checksums
97f7553e772b90e2e0cd8da51410af9499de1ff6f571e4e7b920388949a8324d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.5

Release files / openshorts-0.1.0-py3-none-any.whl

Download URL openshorts-0.1.0-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
24d077c68e58e577c2500c17d52cf32a852c5962f46c13765759e6c76b614d09
BLAKE2b-256 checksum
How to use checksums
93e83965f2d5ca86ca20820ed3f5ad6f94aafcf7a57d94598e6c2cbe18bc6047
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page