Conflicts were the parallel override parameters: render_clip / process_video_to_vertical / reframe_v2.render / perform_recut now carry BOTH force_strategy (whole-clip framing, main) and crop_overrides (per-scene manual framing, PR #70). The v1-fallback safety net now also raises for force_strategy, which had the same silent-revert hole the PR fixed for crop_overrides. |
||
|---|---|---|
| .. | ||
| openshorts.egg-info | ||
| openshorts_cli.py | ||
| pyproject.toml | ||
| README.md | ||
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.