x402 Video — AI Video Generation (pay-per-call, no account)

io.github.x402-video由 GitHub 账号 x402-video 发布v0.1.3更新于 Oct 24, 2026

Pay-per-call AI video generation (Seedance text-to-video) via x402. USDC on Base, no API key.

已验证STDIO仅桌面金融媒体与设计

概览

AI 生成的概览

让助手根据文字提示生成 AI 视频,并通过 x402 以 Base 上的 USDC 按次付费,无需账号或 API 密钥。

可以做什么
  • 浏览实时视频目录与当前美元价格,查看公开的可靠性统计
  • 在不付费的情况下获取某次请求的精确 USDC 报价
  • 按提示生成视频,从消费钱包支付报价金额并获得任务 ID
  • 轮询任务状态并获取生成的视频链接
  • 就价格、功能、质量或缺陷向运营方免费提交反馈
适用场景
适合需要助手按需产出短视频片段、且愿意按次以 USDC 付费而不想订阅或申请 API 密钥的场景。免费工具(目录、报价、任务轮询)无需钱包即可用于比价。
运行要求
通过 npm 包 x402-video-mcp 以 stdio 在本地运行(需 Node.js 与 npx)。付费生成需要一个在 Base 上持有 USDC 的专用消费钱包,以 BUYER_PRIVATE_KEY 提供;可选 MAX_USD_PER_CALL 与 GATEWAY_URL。需要访问网关的网络连接。
安装前请注意
BUYER_PRIVATE_KEY 是用于签名的钱包私钥,务必使用余额有限的专用消费钱包,切勿使用主钱包。每次生成都会花费真实 USDC,建议将 MAX_USD_PER_CALL 设低作为硬性上限。提示词会发送给第三方网关,并在付款前进行审核。视频链接 24 小时后失效。该网关为独立服务,与模型厂商无关联。

安装

在 SourceWeft 中

  1. 打开 控制台中的 x402 Video — AI Video Generation (pay-per-call, no account),将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

x402-video MCP server

Give any MCP-capable agent (Claude Code, Claude Desktop, Cursor, ...) the ability to generate AI videos and pay per call — USDC on Base over the x402 protocol. No accounts, no API keys, no credit cards.

quote_price → generate_video (pays exact USDC quote, gasless) → get_job → video_url

Backed by x402video.com. Seedance 2.0, 5s 720p: Mini $0.67, Fast $1.05, Standard $1.33 per clip. Custom 4–15s with optional audio: Mini $0.26–$2.00 and Fast $0.40–$3.15 (480p/720p), Standard $0.49–$9.82 (up to 1080p). The exact USDC price is always the live 402 quote. Prompts are screened before payment; rejected requests are never charged.

Tools

ToolCostWhat
list_skusfreeLive catalog + current USD prices
get_statsfreePublic reliability stats (success rate, p50 generation time)
quote_pricefreeExact USDC quote for a request, without paying
generate_videopaidQuote → spend-guard check → pay → job_id
get_jobfreePoll status; returns video_url on success (24h link)
submit_feedbackfreeTell humans: price / missing feature / quality / bug / cheaper source

Setup

You need a dedicated spending wallet with a few USDC on Base (8453). Never use your main wallet — see the 5-minute getting-started guide.

Claude Code

bash
claude mcp add x402-video \  --env BUYER_PRIVATE_KEY=0xYOUR_SPENDING_WALLET_KEY \  -- npx -y x402-video-mcp

Claude Desktop / Cursor (JSON)

json
{  "mcpServers": {    "x402-video": {      "command": "npx",      "args": ["-y", "x402-video-mcp"],      "env": {        "BUYER_PRIVATE_KEY": "0xYOUR_SPENDING_WALLET_KEY"      }    }  }}

Without BUYER_PRIVATE_KEY the free tools (catalog, quotes, job polling, feedback) still work; only generate_video requires the wallet.

Feedback (free)

Agents can report product needs without paying:

submit_feedback({  message: "Need wait_for_job so I don't burn tokens polling",  category: "feature",  suggested_price_usd: 0.5})

Categories: pricing | feature | quality | bug | source | other. Also available as raw HTTP: POST https://api.x402video.com/feedback.

Environment variables

VarDefault
BUYER_PRIVATE_KEY—Spending wallet key (USDC on Base). Required only for generate_video.
MAX_USD_PER_CALL5Hard spend guard — generate_video refuses quotes above this. Raise MAX_USD_PER_CALL for long 1080p Standard jobs (up to $9.82).
GATEWAY_URLhttps://api.x402video.comPoint at another gateway instance.

How payment works

  1. The tool POSTs your request unpaid; the gateway answers HTTP 402 with the exact USDC amount for that request (a free quote).
  2. If the quote is within MAX_USD_PER_CALL, the request is retried with an x402 payment header — an EIP-3009 signature, so the buyer pays no gas.
  3. You get a job_id; generation takes ~2 minutes (p50). Poll get_job, download video_url within 24h.

Develop

bash
npm installnpm run buildBUYER_PRIVATE_KEY=0x... node dist/index.js   # speaks MCP over stdio

Content policy

Hard red lines (rejected pre-payment, never charged): content involving minors, real-person likeness/deepfakes. Sexually explicit content and graphic violence are rejected.


MIT. Independent gateway — not affiliated with or endorsed by model vendors.

来源:README.md,提交 6fb0691

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.3最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分