generate_watercolor
Submit an asynchronous watercolor image generation task.
modelprompt必填resolutionaspect_ratioidempotency_key
com.aiwatercolorgenerator由 aiwatercolorgenerator.com 發布官方發布者v1.1.0更新於 Oct 24, 2026
Create watercolor art from text or transform existing images into watercolor paintings with AI.
AI Watercolor Generator 讓助理依文字提示產生水彩畫,或把上傳的圖片轉成水彩風格,並查詢非同步任務結果。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/com.aiwatercolorgenerator%2Fwatercolor/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"ai-watercolor-generator": {
"type": "http",
"url": "https://www.aiwatercolorgenerator.com/api/mcp",
"headers": {
"Authorization": "Bearer <YOUR_TOKEN>"
}
}
}
}[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.
Keep your API key private. Do not commit it to a repository or paste it into an issue.
Run the MCP server through npm without a global installation:
The process communicates over stdio, so it is normally launched by an MCP client rather than used interactively.
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:
Restart the client, then run codex mcp list or use /mcp to verify the connection. See the official Codex MCP documentation.
Add this server to your project .cursor/mcp.json or global MCP configuration:
See the Cursor MCP documentation.
Use the same stdio configuration in the client's local MCP settings:
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.
Call generate_watercolor with a prompt. Optional fields are model, aspect_ratio, resolution, and idempotency_key.
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.
First call upload_watercolor_input with an explicit local file path:
Then pass the returned url to edit_watercolor:
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.
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.
The official MCP Registry entry is com.aiwatercolorgenerator/watercolor and supports two installation styles:
https://www.aiwatercolorgenerator.com/api/mcpUse 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.
AIWATERCOLOR_API_KEY and is never intentionally logged.upload_watercolor_input.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.
來源:README.md,提交 1387148
Submit an asynchronous watercolor image generation task.
modelprompt必填resolutionaspect_ratioidempotency_keySubmit an asynchronous watercolor edit using trusted uploaded image URLs.
modelprompt必填resolutionaspect_ratioinput_images必填idempotency_keyGet the current status and output of a watercolor image task.
task_id必填已滿足適用檢查項的 100%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
AIWATERCOLOR_API_KEY=YOUR_AIWATERCOLOR_API_KEY \ npx -y @ai-watercolor-generator/mcp[mcp_servers.ai_watercolor_generator]command = "npx"args = ["-y", "@ai-watercolor-generator/mcp"]env_vars = ["AIWATERCOLOR_API_KEY"]{ "mcpServers": { "ai-watercolor-generator": { "command": "npx", "args": ["-y", "@ai-watercolor-generator/mcp"], "env": { "AIWATERCOLOR_API_KEY": "YOUR_AIWATERCOLOR_API_KEY" } } }}{ "mcpServers": { "ai-watercolor-generator": { "command": "npx", "args": ["-y", "@ai-watercolor-generator/mcp"], "env": { "AIWATERCOLOR_API_KEY": "YOUR_AIWATERCOLOR_API_KEY" } } }}{ "prompt": "A red cottage beside a quiet lake, soft wet-on-wet washes", "model": "watercolor-lite", "aspect_ratio": "4:3", "resolution": "1k"}{ "file_path": "/absolute/path/to/source-image.png"}{ "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"}pnpm installpnpm format:checkpnpm typecheckpnpm testpnpm pack --dry-run