AI Watercolor Generator

com.aiwatercolorgenerator由 aiwatercolorgenerator.com 发布官方发布者v1.1.0更新于 Oct 24, 2026

Create watercolor art from text or transform existing images into watercolor paintings with AI.

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

概览

AI 生成的概览

AI Watercolor Generator 让助手根据文字提示生成水彩画,或把上传的图片转换成水彩风格,并查询异步任务结果。

可以做什么
  • 根据文字提示生成水彩图像,可指定模型、宽高比和分辨率
  • 上传本地 JPEG、PNG 或 WebP 文件(最大 10 MiB)到托管服务
  • 使用已上传图片的网址提交水彩风格编辑任务
  • 查询异步任务的状态、输出结果和失败详情
适用场景
适合希望助手在聊天客户端内根据描述创作水彩画,或把已有图片转成水彩画的场景。若客户端只支持 stdio 或需要上传本地文件路径,可选择本地 npm 包。
运行要求
本地 npm 包需要 Node.js 20 或更高版本;支持认证 Streamable HTTP 的客户端可直接使用托管端点。需要 AI Watercolor Generator 的 API 密钥,本地通过环境变量 AIWATERCOLOR_API_KEY 提供,远程通过 Authorization bearer 请求头提供,并需要账户额度。
安装前请注意
API 密钥属于机密,请勿提交到代码仓库或公开粘贴。调用工具会消耗账户额度,模型、分辨率和操作类型都会影响费用。上传的本地图片会发送到服务商的托管存储并由其 API 处理。批准前请核对文件路径和工具调用。

安装

在 SourceWeft 中

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

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

交给智能体安装

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

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

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

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "ai-watercolor-generator": {
      "type": "http",
      "url": "https://www.aiwatercolorgenerator.com/api/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

AI Watercolor Generator MCP

[npm version] [CI] [MCP Registry] [License: MIT]

Create watercolor art from text or transform local images with AI from any MCP client that supports local stdio servers.

This package is the official local MCP server for AI Watercolor Generator. It is a small, open-source client for the production API: generation, storage, credits, rate limits, and task processing remain on the hosted service.

Features

  • Generate watercolor artwork from a text prompt.
  • Upload a local JPEG, PNG, or WebP image for editing.
  • Transform uploaded images into watercolor paintings.
  • Poll asynchronous tasks until an output is ready.
  • Use the same account and credits as the REST API and hosted MCP server.

Requirements

Keep your API key private. Do not commit it to a repository or paste it into an issue.

Quick start

Run the MCP server through npm without a global installation:

bash
AIWATERCOLOR_API_KEY=YOUR_AIWATERCOLOR_API_KEY \  npx -y @ai-watercolor-generator/mcp

The process communicates over stdio, so it is normally launched by an MCP client rather than used interactively.

Client configuration

Codex

Codex CLI, the Codex IDE extension, and the ChatGPT desktop app share MCP configuration on the same Codex host. Add this to ~/.codex/config.toml and provide AIWATERCOLOR_API_KEY in the environment that starts Codex:

toml
[mcp_servers.ai_watercolor_generator]command = "npx"args = ["-y", "@ai-watercolor-generator/mcp"]env_vars = ["AIWATERCOLOR_API_KEY"]

Restart the client, then run codex mcp list or use /mcp to verify the connection. See the official Codex MCP documentation.

Cursor

Add this server to your project .cursor/mcp.json or global MCP configuration:

json
{  "mcpServers": {    "ai-watercolor-generator": {      "command": "npx",      "args": ["-y", "@ai-watercolor-generator/mcp"],      "env": {        "AIWATERCOLOR_API_KEY": "YOUR_AIWATERCOLOR_API_KEY"      }    }  }}

See the Cursor MCP documentation.

Claude Desktop and other JSON-based clients

Use the same stdio configuration in the client's local MCP settings:

json
{  "mcpServers": {    "ai-watercolor-generator": {      "command": "npx",      "args": ["-y", "@ai-watercolor-generator/mcp"],      "env": {        "AIWATERCOLOR_API_KEY": "YOUR_AIWATERCOLOR_API_KEY"      }    }  }}

Restart the client after saving. Claude Desktop may present local MCP servers through its Extensions interface; see Anthropic's local MCP server guide for the current setup flow.

Tools

ToolPurpose
generate_watercolorSubmit an asynchronous text-to-watercolor task
upload_watercolor_inputUpload a local JPEG, PNG, or WebP file up to 10 MiB
edit_watercolorSubmit an asynchronous watercolor edit using uploaded image URLs
get_watercolor_taskRead task status, outputs, or failure details

Generate from text

Call generate_watercolor with a prompt. Optional fields are model, aspect_ratio, resolution, and idempotency_key.

json
{  "prompt": "A red cottage beside a quiet lake, soft wet-on-wet washes",  "model": "watercolor-lite",  "aspect_ratio": "4:3",  "resolution": "1k"}

The tool returns a task with status queued or processing. Call get_watercolor_task every 2–5 seconds until the status is succeeded, failed, or canceled.

Edit a local image

First call upload_watercolor_input with an explicit local file path:

json
{  "file_path": "/absolute/path/to/source-image.png"}

Then pass the returned url to edit_watercolor:

json
{  "prompt": "Preserve the composition with soft transparent watercolor washes",  "input_images": [    "https://cdn.aiwatercolorgenerator.com/api-inputs/.../upload.png"  ],  "model": "watercolor-lite",  "aspect_ratio": "auto",  "resolution": "1k"}

The upload tool reads only the path explicitly supplied in the tool call. It does not scan directories or expand glob patterns. The image is uploaded to AI Watercolor Generator's trusted storage and is then processed by the hosted API.

Models and credits

The API currently supports watercolor-lite, nano-banana-2, nano-banana-pro, and gpt-image-2. Model, resolution, and operation affect credit cost. Failed or canceled tasks receive the refund defined by the hosted API.

See the API documentation for current models, credit costs, limits, error codes, and schemas.

How it relates to the hosted MCP server

The official MCP Registry entry is com.aiwatercolorgenerator/watercolor and supports two installation styles:

  • Hosted Streamable HTTP: https://www.aiwatercolorgenerator.com/api/mcp
  • Local stdio: this npm package

Use the hosted endpoint when your client supports authenticated Streamable HTTP. Use this local package when you need stdio compatibility or want an MCP tool to upload a local image path.

Security and privacy

  • The API key is read from AIWATERCOLOR_API_KEY and is never intentionally logged.
  • Local images are sent to the hosted upload API when you invoke upload_watercolor_input.
  • Tool calls consume account credits and are subject to API rate and concurrency limits.
  • Review file paths and tool calls before approving them in your MCP client.
  • Report vulnerabilities according to SECURITY.md.

Development

bash
pnpm installpnpm format:checkpnpm typecheckpnpm testpnpm pack --dry-run

The test suite mocks HTTP requests and includes a real subprocess handshake against the built stdio executable. No production API key is needed for normal development tests.

Links

License

MIT

来源:README.md,提交 1387148

工具

3

generate_watercolor

Submit an asynchronous watercolor image generation task.

输入参数modelprompt必填resolutionaspect_ratioidempotency_key

edit_watercolor

Submit an asynchronous watercolor edit using trusted uploaded image URLs.

输入参数modelprompt必填resolutionaspect_ratioinput_images必填idempotency_key

get_watercolor_task

Get the current status and output of a watercolor image task.

输入参数task_id必填

版本历史

2
  1. v1.1.0最新Sep 17, 2026
  2. v1.0.1Sep 17, 2026

评分

已满足适用检查项的 100%

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

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