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 分