feat(landing): surface the CLI wherever the agent surface is described
Feature card, FAQ answer, crawler fallback, /mcp and the automation page all name pip install openshorts alongside MCP and the REST API.
This commit is contained in:
parent
78deea2b15
commit
40f530f9aa
3 changed files with 23 additions and 6 deletions
|
|
@ -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?',
|
||||
|
|
|
|||
|
|
@ -829,7 +829,11 @@ nodes cover it.</p>
|
|||
<p>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.</p>
|
||||
the second half, so nothing stays running in between. If you would rather not
|
||||
write the curl, the CLI wraps it:</p>
|
||||
<pre><code>uvx openshorts process "$EPISODE_URL" \\
|
||||
--webhook https://your-server.com/hooks/openshorts \\
|
||||
--webhook-secret "$SECRET"</code></pre>
|
||||
|
||||
<h2>What automation costs</h2>
|
||||
<p>API and MCP calls draw from the same minute balance as the dashboard. There
|
||||
|
|
@ -960,6 +964,19 @@ request:</p>
|
|||
-d '{"url": "https://youtube.com/watch?v=...", "acknowledged": true,
|
||||
"webhook_url": "https://your-server.com/hooks/openshorts"}'</code></pre>
|
||||
|
||||
<h2>Is there a CLI?</h2>
|
||||
<p>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:</p>
|
||||
<pre><code>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</code></pre>
|
||||
<p>Point <code>OPENSHORTS_API_URL</code> at <code>http://localhost:8000</code>
|
||||
and the same binary drives a self-hosted instance with no key.</p>
|
||||
|
||||
<h2>How do completion webhooks work?</h2>
|
||||
<p>Pass <code>webhook_url</code> when starting a job and OpenShorts sends
|
||||
exactly one POST when the job finishes or fails, with clip titles and download
|
||||
|
|
|
|||
|
|
@ -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?",
|
||||
|
|
|
|||
Loading…
Reference in a new issue