vericontext/vibeframe 是从 https://github.com/vericontext/vibeframe. 导入的 MCP 服务器候选
概览
vericontext/vibeframe 是从 https://github.com/vericontext/vibeframe. 导入的 MCP 服务器候选
概述(AI 翻译)
让你的编码代理用你自己的供应商密钥生成真实视频,且预算上限不允许。
VibeFrame 是一个用于 Claude Code、Codex、Cursor 或任何支持重击的代理的 CLI 和 MCP 服务器。
它将书面简报转化为计划,从前沿模型(Seedance、Runway、Kling、Gemini Omni)生成资产,并渲染成品MP4。
每一步付费步骤都背后是演练和硬性上限--max-cost,每次失败都以机器可读的恢复动作回归,而非堆栈追踪。
一位摄影师在一个北极夜晚,1080p拍摄了端到端的影像。 ▶ 观看完整渲染图
在花费任何东西之前,先知道价格
--dry-run 无需联系供应商或仅需一把密钥即可支付整个构建的费用。
把它和--max-cost配对,当估算值超过你的上限时,建造就拒绝启动:
包络会进入stderr,命令退出1,所以代理循环停止了,而不是猜测。
retryWith 给出了它可以选择的两种更便宜的前进方式而无需你询问,而 data.plan 则承载了拒绝时基于的定价计划,因此它无需重跑来获取估算。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
VibeFrame
Let your coding agent generate real video, on your own provider keys, under a spend ceiling it cannot cross.
VibeFrame is a CLI and MCP server for Claude Code, Codex, Cursor, or any bash-capable agent.
It turns a written brief into a plan, generates the assets with frontier models (Seedance, Grok, Runway, Kling, Gemini Omni), and renders a finished MP4.
Every paid step has a dry run and a hard --max-cost ceiling.
When a step fails, the agent gets JSON recovery actions it can run next.
One photographer across a single arctic night: four keyframe stills from one character sheet, animated with Grok image-to-video, cut with vibe assemble over a generated score.
It cost about $4.50: $2.84 billed by xAI for the four clips, an estimated $1.59 for the character sheet and stills, and $0.05 metered for the score.
Watch the full cut.
Know the price before anything is spent
--dry-run prices the whole build without calling a provider or needing a single key.
Pair it with --max-cost and the build refuses to start when the estimate is over your ceiling:
vibe build film --dry-run --max-cost 3 --json
{
"success": false,
"error": "Estimated cost $10.93 exceeds --max-cost $3.00.",
"code": "COST_CAP_EXCEEDED",
"retryWith": [
"vibe build . --stage all --skip-backdrop --json",
"vibe build . --stage all --max-cost 10.93 --json"
],
"data": { "plan": { "estimatedCostUsd": 10.93, "...": "the full priced plan" } }
}
The envelope goes to stderr and the command exits 1, so an agent loop stops there.
retryWith lists two cheaper commands the agent can run without asking you, and data.plan holds the priced plan behind the refusal, so the agent does not have to re-run anything to learn the estimate.
The same dry run names the keys each stage would need, so you can price a video before you sign up with any provider:
Keyframe generation will need openai (OPENAI_API_KEY), but no key/config is available.
Video generation will need seedance (FAL_API_KEY), but no key/config is available.
Every paid call is on record
Each generation is saved as a take: the prompt and parameters, the input and output files by hash, the provider job, and what it cost. The cost says where the figure came from, so you can tell a provider’s bill from an estimate.
安装
npx -y @vibeframe/mcp-server配置
{
"mcpServers": {
"vibeframe": {
"command": "npx",
"args": ["-y", "@vibeframe/mcp-server"]
}
}
}