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 分