WaveSpeed

ai.wavespeed由 wavespeed.ai 发布官方发布者v1.2.10更新于 Nov 6, 2026

Run any model on the live WaveSpeed catalog: image, video, audio, 3D.

已验证Streamable HTTP可网页运行媒体与设计AI 与机器学习

概览

AI 生成的概览

WaveSpeed MCP 让助手调用 WaveSpeed 实时目录中的图像、视频、音频和 3D 生成模型,并可预估价格、查看运行记录。

可以做什么
  • 搜索实时模型目录,并在运行前读取模型的真实输入结构
  • 运行任意目录模型,或用快捷工具生成与编辑图像、生成、编辑和延长视频
  • 提交前预估运行费用,并查看账户额度余额
  • 上传本地文件获得托管链接,或直接传入会自动上传的本地路径
  • 查看运行历史、按 id 获取预测状态与输出,并删除已完成的运行
  • 列出逐项扣费记录与用量统计(花费、请求数、按模型细分)
适用场景
适合让助手通过 WaveSpeed 模型生成或编辑媒体(图像、视频、音频、3D),或在消耗额度前先查价格与账户用量。更偏向创意与内容生产,而非代码或数据处理。
运行要求
可使用托管远程端点并通过 OAuth 授权,或通过 npx 运行本地 npm 包(需 Node.js)。认证使用 WAVESPEED_API_KEY 密钥,本地也可用已保存的 CLI 登录;账单类工具需要具备 Billing 权限的密钥。可选 WAVESPEED_BASE_URL 与 WAVESPEED_CLIENT_NAME 覆盖项。托管服务无法读取本地文件,需传公开链接或先上传。
安装前请注意
运行会消耗付费账户额度;get_price 只是估算,实际扣费以账单为准。服务器会把本地文件上传到 WaveSpeed 托管,delete_predictions 会从历史中删除已完成的运行(软删除、输出链接失效,且无法从该工具撤销)。账单与用量工具需要 Billing 权限的密钥,应据此限制密钥权限。

安装

在 SourceWeft 中

  1. 打开 控制台中的 WaveSpeed,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/ai.wavespeed%2Fmcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "wavespeed": {
      "type": "http",
      "url": "https://api.wavespeed.ai/mcp"
    }
  }
}

README

WaveSpeed MCP Server

[Add the hosted wavespeed MCP server to Cursor]

An MCP server for the WaveSpeed platform: run any model on the live catalog — image, video, audio, 3D — from Claude Code, Claude Desktop, Cursor, Cline, or any MCP client.

Built on the same design as the open-source @wavespeed/cli:

  • No hardcoded models for run_model. The catalog comes from the live API (1h cache); new platform models work the day they ship.
  • One general verb, five shortcuts. run_model executes anything; get_model_schema tells the agent what inputs a model actually accepts, so it reads before it writes. generate_image, edit_image, generate_video, edit_video and extend_video skip that: they use the same models as the WaveSpeed /chat page, pick the endpoint for what you give them and fit the request to its live schema.
  • Inputs are never mutated. The one explicit transform is the @path marker — a "@./photo.jpg" value inside input uploads the file and substitutes its hosted URL. Bare paths are passed through untouched. The shortcut tools (generate_image etc.) are the exception: they pick the endpoint and fit the request to the model, and report what they changed in notes.
  • Quote before you spend. get_price takes the same input as run_model and returns an estimate; the amount actually charged for a run is authoritative.

Tools

ToolWhat it does
list_modelsSearch the live catalog by text or modality type
get_model_schemaA model's real input schema (required, properties, defaults), with a link to the model's playground page
run_modelSubmit + wait; rejects input keys the model doesn't accept; @path inputs upload automatically; returns output URLs
generate_imageImage from a prompt with the /chat image models (default Seedream 5 Pro); reference images use the model's edit endpoint
edit_imageEdit, restyle or combine existing images with the same models
generate_videoVideo from a prompt, a first/last frame or reference images/videos/audio, with the /chat video models (default Seedance 2.5); the mode (text, image, reference) is picked from the inputs
edit_videoEdit an existing video, optionally with reference images/audio
extend_videoContinue an existing video with new footage
get_priceCost estimate for the inputs you pass (no charge), with a link to the model's playground page
get_balanceAccount credit balance, with the top-up link
list_predictionsRun history (default last 24h); filter by model, status, time range
list_billingsItemized charges and refunds (needs a Billing-access key)
get_usageSpend, request counts and per-model breakdown (default last 7 days; needs a Billing-access key)
delete_predictionsDelete finished runs from the history (up to 100; needs confirm: true, cannot be undone from here)
upload_fileLocal file → hosted URL (24h content-hash dedupe)
get_predictionStatus/outputs of any run by id; optional wait_seconds to wait for it

The five shortcut tools take wait_seconds like run_model, and estimate_only: true returns the price and the exact request that would run without submitting or charging anything. In their prompts, media is named @image 1, @video 1, @audio 1 (in the order given); it is renamed to what each model expects. Models and defaults follow /chat: an unknown model is rejected, and a named model is never switched.

Some generations take minutes to hours. run_model submits the run and returns the prediction id right away (done: false); the assistant then calls get_prediction with that id and wait_seconds (max 1800) until done is true. The task keeps running server-side, so a dropped connection loses nothing. Pass wait_seconds to run_model to wait for a quick model in the same call. While waiting, both tools send MCP progress notifications that carry the prediction id.

Setup

Remote (nothing to install)

The same server is hosted at:

text
https://api.wavespeed.ai/mcp
  • Claude on the web / ChatGPT: add a custom connector with that address and approve the connection on the WaveSpeed page that opens. Approving creates a dedicated API key (named MCP · <app>) that you can delete on the API Keys page to disconnect.

  • Claude Code: claude mcp add --transport http wavespeed https://api.wavespeed.ai/mcp

  • Cursor: [Add the hosted wavespeed MCP server to Cursor]

  • VS Code: code --add-mcp '{"name":"wavespeed","type":"http","url":"https://api.wavespeed.ai/mcp"}'

  • Clients that only start local commands: connect through mcp-remote, which opens the same browser approval on first start:

    json
    {  "mcpServers": {    "wavespeed": {      "command": "npx",      "args": ["-y", "mcp-remote", "https://api.wavespeed.ai/mcp"]    }  }}
  • Any other client that sends request headers: point it at the URL with Authorization: Bearer <your API key>.

The hosted server has the same tools, with one difference for files: it cannot read files on your computer, so pass public URLs, use create_upload from a tool that can send HTTP requests (it returns a temporary upload address and the download_url to use as an input), or, in ChatGPT, attach the file to the chat (the upload_attachment tool, which only ChatGPT can fill, imports it and returns a download_url). Full guide: wavespeed.ai/docs/mcp.

Local (npx)

@latest makes npx fetch the newest release on each start; without it, npx runs a globally installed @wavespeed/mcp if one exists, however old.

Auth resolves from WAVESPEED_API_KEY, or from the CLI's stored login (wavespeed login) — one login covers both tools. Keys: wavespeed.ai/accesskey.

Claude Code

bash
claude mcp add wavespeed -- npx -y @wavespeed/mcp@latest

Claude Desktop / other clients (mcpServers config):

json
{  "mcpServers": {    "wavespeed": {      "command": "npx",      "args": ["-y", "@wavespeed/mcp@latest"],      "env": { "WAVESPEED_API_KEY": "wsk_..." }    }  }}

Example prompts

  • "Generate a 16:9 hero image of a cyberpunk skyline at golden hour."
  • "Take ./photo.jpg and replace the background with a sunlit kitchen." (the agent passes "@./photo.jpg")
  • "Animate ./hero.png with subtle parallax — check the price first."

Development

bash
npm installnpm run dev        # run from source (stdio)npm run lint       # typechecknpm run build      # tsc → dist/

License

MIT


WaveSpeed AI — AI image & video generation platform. Try it in the browser: Image generator · Video generator

来源:README.md,提交 2510e29

工具

16

list_models

Search the live WaveSpeed model catalog (image, video, audio, 3D). Returns model IDs usable with run_model. Do not invent model IDs — always pick one returned by this tool.

输入参数typelimitqueryrefresh

get_model_schema

Get a model's real input schema (required fields, properties, defaults). Call this before run_model so inputs match what the model actually accepts.

输入参数model必填

run_model

Run any WaveSpeed model. input keys come from get_model_schema; unknown keys are rejected before submission. Local files: pass "@./path" in a media field (image, images, video, audio, mask …) — it is uploaded and replaced with hosted URLs (bare paths are NOT uploaded). Returns the prediction id right away (done=false); call get_prediction with that id and wait_seconds until done=true to get the output URLs. The task keeps running on the server. Pass wait_seconds here to wait for a quick model in the same call.

输入参数input必填model必填wait_seconds

generate_image

Create an image from a text description with the same models as the WaveSpeed /chat page (seedream-5-pro, nano-banana-2.1, nano-banana-2, nano-banana-pro, gpt-image-2.6, gpt-image-2.5, gpt-image-2; default seedream-5-pro). Give reference_images to use existing images as subject, product, face or style (the model's edit endpoint is used). To change existing images use edit_image. In the prompt, name input media as @image 1, @image 2, @video 1, @audio 1 (counted in the order the lists are given); they are renamed to what the model expects.

输入参数modelprompt必填resolutionaspect_ratiowait_secondsestimate_onlyreference_images

edit_image

Change existing images with the same models as the WaveSpeed /chat page: edits, restyles, backgrounds, adding or removing things, combining several images. In the prompt, name input media as @image 1, @image 2, @video 1, @audio 1 (counted in the order the lists are given); they are renamed to what the model expects.

输入参数modelimages必填prompt必填resolutionaspect_ratiowait_secondsestimate_only

generate_video

Create a video with the same models as the WaveSpeed /chat page (default seedance-2.5). Give first_frame to animate an image; give reference_images / reference_videos / reference_audios to keep characters, products, motion, voice or music. The right mode (text, image or reference to video) is picked from what you give. Videos can cost dollars: use estimate_only first when unsure. In the prompt, name input media as @image 1, @image 2, @video 1, @audio 1 (counted in the order the lists are given); they are renamed to what the model expects.

输入参数modelprompt必填durationlast_frameresolutionfirst_frameaspect_ratiowait_secondsestimate_onlyreference_audiosreference_imagesreference_videos

edit_video

Edit an existing video with the same models as the WaveSpeed /chat page. Name the video and any references in the prompt (e.g. "replace the cat in @video 1 with the lion from @image 1"). In the prompt, name input media as @image 1, @image 2, @video 1, @audio 1 (counted in the order the lists are given); they are renamed to what the model expects.

输入参数modelvideo必填prompt必填resolutionwait_secondsestimate_onlyreference_audiosreference_images

extend_video

Continue an existing video with new footage after its end, with the same models as the WaveSpeed /chat page. Turbo models cannot extend. In the prompt, name input media as @image 1, @image 2, @video 1, @audio 1 (counted in the order the lists are given); they are renamed to what the model expects.

输入参数modelvideo必填prompt必填durationlast_frameresolutionwait_secondsestimate_only

get_price

Estimate the cost of a run before executing it (no charge). Provide the same input you would pass to run_model — pricing often depends on inputs like duration or resolution, and a quote made without them can be lower than the real charge.

输入参数inputmodel必填

get_balance

Show the WaveSpeed account credit balance, with the link to top up.

无需输入参数。

list_predictions

List past predictions (run history), newest window first. Defaults to the last 24 hours; pass since/until (ISO or YYYY-MM-DD) for other ranges. Use get_prediction with an id for one task in full.

输入参数pagelimitmodelsinceuntilstatus

list_billings

List itemized charges and refunds (billing records). Requires an API key with Billing access.

输入参数keypagetypelimitmodelsinceuntil

get_usage

Usage statistics: spend, request counts, daily series and per-model breakdown. Defaults to the last 7 days. Requires an API key with Billing access.

输入参数modelsinceuntil

delete_predictions

Delete finished predictions from this account's run history, up to 100 at a time. This is a soft delete: each record stays, with status "deleted" and without its outputs, and list_predictions and get_prediction still return it that way; the output links are revoked (best effort). This tool cannot undo it. Runs that are still going are left alone, and only the key's own organization's records are deleted. Ask the user first, and pass confirm: true only after they agreed to delete these ids.

输入参数ids必填confirm必填

upload_file

Upload a local file to WaveSpeed and get its hosted URL (identical bytes reuse the same upload for 24h). Usually unnecessary — run_model handles "@./path" inputs itself.

输入参数path必填

get_prediction

Fetch the status and outputs of a past or in-flight prediction by id — use to pick up a run that returned done=false. Pass wait_seconds to keep waiting for it to finish.

输入参数id必填wait_seconds

版本历史

16
  1. v1.2.10最新Nov 6, 2026
  2. v1.2.8Nov 5, 2026
  3. v1.2.7Nov 3, 2026
  4. v1.2.6Nov 3, 2026
  5. v1.2.4Nov 1, 2026
  6. v1.2.3Nov 1, 2026
  7. v1.2.2Oct 29, 2026
  8. v1.1.0Oct 26, 2026
  9. v1.0.18Oct 21, 2026
  10. v1.0.17Oct 20, 2026
  11. v1.0.14Oct 20, 2026
  12. v1.0.12Oct 19, 2026
  13. v1.0.11Oct 19, 2026
  14. v1.0.10Oct 17, 2026
  15. v1.0.8Oct 1, 2026
  16. v1.0.7Sep 16, 2026

评分

已满足适用检查项的 100%

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

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分