diff --git a/dashboard/seo/landing-fallback.js b/dashboard/seo/landing-fallback.js index 40893b1..a10dee0 100644 --- a/dashboard/seo/landing-fallback.js +++ b/dashboard/seo/landing-fallback.js @@ -47,7 +47,7 @@ const FEATURES = [ ['Self-hosted and private', 'Run it with Docker on your own machine and the source video never leaves your infrastructure.'], ['Free AI YouTube studio', 'AI thumbnail generator, 10 viral title suggestions and auto-written descriptions with chapter timestamps.'], ['Direct social publishing', 'Post to TikTok, Instagram Reels and YouTube Shorts from the dashboard.'], - ['MCP server and API for AI agents', 'Connect Claude, ChatGPT or n8n to an always-on endpoint (mcp.openshorts.app/mcp) and automate clipping end to end, with a REST API, per-user keys and completion webhooks. Guide at /mcp.'], + ['MCP server, API and CLI for AI agents', 'Connect Claude, ChatGPT or n8n to an always-on endpoint (mcp.openshorts.app/mcp) and automate clipping end to end, with a REST API, per-user keys, completion webhooks and a zero-dependency CLI (pip install openshorts). Guide at /mcp.'], ['AI UGC video generator', 'The AI writes a script and generates a lip-synced avatar video for any product or business, from $0.65 per video.'], ['AI actors with lip-sync', 'Pick an AI actor or upload a photo to get a talking-head video with matched lip movement.'], ] @@ -85,7 +85,7 @@ const FAQ = [ ], [ 'Can I automate OpenShorts from Claude, ChatGPT or n8n?', - 'Yes. OpenShorts has a native MCP server at mcp.openshorts.app/mcp plus a REST API with per-user keys and completion webhooks, so an agent can submit a video URL, wait for processing, list the clips and publish them. The hosted endpoint is always on, with the API key created in your account page; the self-hosted edition serves the same /mcp endpoint while your machine is running. Full guide at /mcp.', + 'Yes. OpenShorts has a native MCP server at mcp.openshorts.app/mcp plus a REST API with per-user keys and completion webhooks, so an agent can submit a video URL, wait for processing, list the clips and publish them. The hosted endpoint is always on, with the API key created in your account page; the self-hosted edition serves the same /mcp endpoint while your machine is running. A zero-dependency CLI is on PyPI as openshorts. Full guide at /mcp.', ], [ 'What are the system requirements to self-host?', diff --git a/dashboard/seo/pages.js b/dashboard/seo/pages.js index f32b6d6..1556382 100644 --- a/dashboard/seo/pages.js +++ b/dashboard/seo/pages.js @@ -829,7 +829,11 @@ nodes cover it.

Because the API is one POST, scheduling is whatever scheduler you already have. A cron job that submits the latest episode URL every Monday, a GitHub Action on your podcast repo, or an agent that watches a feed. The webhook does -the second half, so nothing stays running in between.

+the second half, so nothing stays running in between. If you would rather not +write the curl, the CLI wraps it:

+
uvx openshorts process "$EPISODE_URL" \\
+  --webhook https://your-server.com/hooks/openshorts \\
+  --webhook-secret "$SECRET"

What automation costs

API and MCP calls draw from the same minute balance as the dashboard. There @@ -960,6 +964,19 @@ request:

-d '{"url": "https://youtube.com/watch?v=...", "acknowledged": true, "webhook_url": "https://your-server.com/hooks/openshorts"}' +

Is there a CLI?

+

Yes, a zero-dependency one on PyPI. It talks to the same REST surface as +everything else, so the terminal, the dashboard and the agents can never +disagree about what a job did:

+
pip install openshorts   # or: uvx openshorts
+
+export OPENSHORTS_API_KEY=osk_...
+openshorts process "https://youtube.com/watch?v=..." --wait
+openshorts clips <job_id>
+openshorts publish <job_id> 0 --platforms tiktok,youtube
+

Point OPENSHORTS_API_URL at http://localhost:8000 +and the same binary drives a self-hosted instance with no key.

+

How do completion webhooks work?

Pass webhook_url when starting a job and OpenShorts sends exactly one POST when the job finishes or fails, with clip titles and download diff --git a/dashboard/src/Landing.jsx b/dashboard/src/Landing.jsx index 231a612..9e3265e 100644 --- a/dashboard/src/Landing.jsx +++ b/dashboard/src/Landing.jsx @@ -142,8 +142,8 @@ export default function Landing({ onLaunchApp }) { }, { icon: Bot, - title: "MCP Server & API for AI Agents", - description: "Connect Claude, ChatGPT or n8n to an always-on endpoint and automate clipping end to end: no dashboard, no machine of yours running." + title: "MCP Server, API & CLI for AI Agents", + description: "Connect Claude, ChatGPT or n8n to an always-on endpoint, or run pip install openshorts and clip from the terminal. Same pipeline, no dashboard needed." }, { icon: Sparkles, @@ -216,7 +216,7 @@ export default function Landing({ onLaunchApp }) { }, { question: "Can I automate OpenShorts from Claude, ChatGPT or n8n?", - answer: "Yes. OpenShorts has a native MCP server at mcp.openshorts.app/mcp plus a REST API with per-user keys and completion webhooks, so an AI agent can run the whole flow: submit a video URL, wait for processing, list the clips and publish them to TikTok, Instagram or YouTube. This is where the hosted service shines: an agent needs an endpoint that is always on, and the hosted one is, with the API key created in your account page in one click. The self-hosted edition serves the same /mcp endpoint, but only while your own machine is running. Full guide at openshorts.app/mcp." + answer: "Yes. OpenShorts has a native MCP server at mcp.openshorts.app/mcp plus a REST API with per-user keys and completion webhooks, so an AI agent can run the whole flow: submit a video URL, wait for processing, list the clips and publish them to TikTok, Instagram or YouTube. This is where the hosted service shines: an agent needs an endpoint that is always on, and the hosted one is, with the API key created in your account page in one click. The self-hosted edition serves the same /mcp endpoint, but only while your own machine is running. There is also a zero-dependency CLI (pip install openshorts) and an importable n8n workflow. Full guide at openshorts.app/mcp." }, { question: "What are the system requirements to run OpenShorts?",