npm short-video-agent-kitstdioMITupdated 10d ago
One agent-first CLI + MCP for short-form AI video. Sora · Veo · xAI · Seedance — dry-run by default, paid generation when explicitly enabled.
Short Video Agent Kit で何ができる?
⭐ If this agent-first tool helps your workflow, please star the repo. Stars make this tooling easier for other builders to discover and help Delx keep shipping open infrastructure. 🧱 Part of the Delx agent stack — 15 open-source MCP servers across body, reach and coordination.
HTTP (v2 stateless)
Default is stdio. Optional Streamable HTTP — no session id, JSON responses, loopback only:
npx -y -p short-video-agent-kit short-video-mcp --http
# GET http://127.0.0.1:3033/health
# POST http://127.0.0.1:3033/mcp (sessionless)
Env: SHORT_VIDEO_MCP_HOST, SHORT_VIDEO_MCP_PORT, SHORT_VIDEO_MCP_TRANSPORT=http.
Provider-neutral short-form AI video toolkit for agents. It gives Codex, Claude, Cursor, Hermes, OpenClaw and other MCP clients one interface for building dry-run payloads and, when explicitly enabled, generating vertical video through Sora/OpenAI, Gemini Veo, xAI/Grok and Seedance/PiAPI-style providers.
Use it when an agent needs one safe interface for prompt-to-video payload validation and optional paid generation across multiple providers.
Why It Is Agent-First
Video generation can be expensive and prompt-sensitive. This package makes agents start with safe steps:
- inspect provider readiness
- return privacy boundaries
- build payloads without spending credits
- require
--liveorSHORT_VIDEO_DRY_RUN=falsebefore provider calls - keep prompts and outputs in local user-controlled paths
Install
npm install -g short-video-agent-kit
Or run directly:
npm exec --yes --package=short-video-agent-kit -- short-video-agent-kit doctor
Quickstart
No API key needed to try it — generation is dry-run by default, so the kit returns the exact provider-neutral plan it would send without spending a credit.
Build a Sora plan for an 8-second vertical teaser:
short-video-agent-kit generate \
--provider openai_sora \
--prompt "Vertical 8-second product teaser for a minimalist water bottle, soft studio light, slow dolly-in" \
--output ./output/teaser.mp4
Real output (no provider call, no credits spent):
{
"ok": true,
"dry_run": true,
"next_step": "Pass --live or set SHORT_VIDEO_DRY_RUN=false to call the provider API.",
"provider": "openai_sora",
"endpoint": "POST /v1/videos",
"payload": {
"model": "sora-2",
"prompt": "Vertical 8-second product teaser for a minimalist water bottle, soft studio light, slow dolly-in",
"seconds": "8",
"size": "720x1280"
}
}
Same prompt, different provider — the plan re-targets the endpoint and parameter shape for you. payload returns just the plan (no dry_run wrapper):
short-video-agent-kit payload --provider gemini_veo --prompt "Same teaser, 9:16, cinematic"
{
"provider": "gemini_veo",
"endpoint": "POST /models/{model}:predictLongRunning",
"payload": {
"instances": [
{
"prompt": "Same teaser, 9:16, cinematic"
}
],
"parameters": {
"aspectRatio": "9:16",
"durationSeconds": 8
}
}
}
Check which providers are wired up (keys are detected, never printed):
short-video-agent-kit doctor
{
"ok": false,
"dry_run": true,
"providers": {
"openai_sora": { "configured": false, "env_keys": ["OPENAI_API_KEY"], "models": ["sora-2"] },
"gemini_veo": { "configured": false, "env_keys": ["GEMINI_API_KEY", "GOOGLE_API_KEY"], "models": ["veo-3.1-fast-generate-preview"] },
"xai_grok": { "configured": false, "env_keys": ["XAI_API_KEY"], "models": ["grok-imagine-video", "grok-imagine-image"] },
"seedance_piapi": { "configured": false, "env_keys": ["PIAPI_KEY", "SEEDANCE_API_KEY"], "models": ["seedance-2-fast-preview"] }
},
"output_dir": "./output",
"next_steps": [
"Set one provider key: OPENAI_API_KEY, GEMINI_API_KEY, XAI_API_KEY or PIAPI_KEY."
]
}
When you are ready to actually render, set a provider key and re-run generate with --live (or SHORT_VIDEO_DRY_RUN=false).
CLI
short-video-agent-kit manifest --client codex
short-video-agent-kit doctor
short-video-agent-kit privacy-audit
short-video-agent-kit payload --provider gemini_veo --prompt-file prompt.txt
short-video-agent-kit generate --provider openai_sora --prompt "Vertical product teaser" --output ./output/teaser.mp4
short-video-agent-kit generate --provider openai_sora --prompt-file prompt.txt --output ./output/teaser.mp4 --live
Supported providers:
openai_soragemini_veoxai_grokseedance_piapi
MCP
short-video-mcp
HTTP transport:
SHORT_VIDEO_MCP_TRANSPORT=http short-video-mcp
Hermes-style config:
mcp_servers:
short_video:
command: npx
args: ["-y", "short-video-agent-kit"]
sampling:
enabled: false
Recommended first calls:
short_video_connection_statusshort_video_privacy_auditshort_video_build_payloadshort_video_generate
Agent Surfaces
| Tool | Purpose |
|---|---|
short_video_agent_manifest |
Install/runtime guidance for Codex, Claude, Cursor, Hermes and OpenClaw |
short_video_connection_status |
Provider readiness without API keys |
short_video_privacy_audit |
Prompt, output and reference-asset boundaries |
short_video_build_payload |
Provider-specific payload without paid generation |
short_video_generate |
Dry-run by default, live only when explicitly requested |
Copy-Paste Agent Prompt
Use short-video-agent-kit. First call short_video_connection_status and short_video_privacy_audit.
Build the payload before generation. Only set live=true if I explicitly confirm a paid provider call.
Configuration
Copy .env.example to .env and fill only the provider keys you plan to use. .env, output/ and .agent-data/ are ignored by Git.
Safety Model
- Dry-run is the default.
- API keys are never returned by tools.
- Paid generation requires
--live, MCPlive=true, orSHORT_VIDEO_DRY_RUN=false. - Reference images must be user-owned or licensed.
- Outputs are written to local paths controlled by the user.
Development
npm install
npm test
npm run check
📧 Contact & Support
- 📨 support@delx.ai — general questions, integration help, partnerships
- 🐛 Bug reports / feature requests — GitHub Issues
- 🐦 Updates — @delx369 on X
- 🌐 Site — wellness.delx.ai
インストール
Short Video Agent Kit をクライアントに追加します。お使いのものを選んでください。
claude mcp add short-video-agent-kit -- npx -y short-video-agent-kitcodex mcp add short-video-agent-kit -- npx -y short-video-agent-kitamp mcp add short-video-agent-kit -- npx -y short-video-agent-kit{
"mcpServers": {
"short-video-agent-kit": {
"command": "npx",
"args": [
"-y",
"short-video-agent-kit"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"short-video-agent-kit": {
"command": "npx",
"args": [
"-y",
"short-video-agent-kit"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"short-video-agent-kit","command":"npx","args":["-y","short-video-agent-kit"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"short-video-agent-kit": {
"command": "npx",
"args": [
"-y",
"short-video-agent-kit"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"short-video-agent-kit": {
"command": "npx",
"args": [
"-y",
"short-video-agent-kit"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"short-video-agent-kit": {
"command": "npx",
"args": [
"-y",
"short-video-agent-kit"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"short-video-agent-kit": {
"type": "local",
"command": "npx",
"args": [
"-y",
"short-video-agent-kit"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"short-video-agent-kit": {
"command": {
"path": "npx",
"args": [
"-y",
"short-video-agent-kit"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y short-video-agent-kitRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
スコア
39 / 100
情報不足
- ドキュメント25/25
- メンテナンス19/25
- 信頼性13/20
- 機能0/15
- 導入のしやすさ12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 3 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
バージョン履歴
| バージョン | 公開日 |
|---|---|
| 0.1.7最新 | 2026年5月29日 |
| 0.1.6 | 2026年5月29日 |