pivision
Allows routing vision and image-generation requests to OpenAI-compatible endpoints, including OpenAI, by configuring the base URL and API key.
Provides vision capabilities (image and video recognition) through Xiaohongshu Dots Studio's API.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pivisionDescribe what's in the image I attached"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
pivision โ MCP Vision & Image Generation Server
One service, two ways to use it: an MCP server for AI assistants (CodeBuddy / Claude Desktop / any MCP client), and a FastAPI HTTP API (port 7002) for your own programs, scripts, and browser.
pivision is a plug-and-play "see images + draw images" toolbox. It recognizes what's inside a local image or video link, and generates images from a text description โ with no coding required to use it.
๐ก Free to use โ both the vision and image-generation APIs backed into pivision are currently free, with generous quotas that are enough for personal use and large projects. You only need to register and get your own API keys (see Getting API Keys).
Think of
r-pic/r-vidas giving your LLM "eyes" โ your AI assistant can finally see the images and videos you hand it, describe them, and answer questions about them.
Vision (see): describe a local picture, parse a video URL โ the model's "eyes"
Generation (draw): text-to-image, infographic-to-image, image-to-image (reference + instruction)
Batch: run hundreds of tasks from a simple text file with resume support
โจ Features
6 MCP tools |
|
Dual interface | MCP (stdio) for AI clients + FastAPI HTTP server (8 endpoints, port 7002) for any program |
Adapter architecture | Two-layer adapters (vendor-specific + OpenAI-compatible generic). Add a new model = fill in |
5 isolated pipelines |
|
Multi-key pool | Generation keys support comma-separated pools; auto-rotate on |
Named instances | Multiple config instances per pipeline, selectable at call time via |
Smart fallback | Video config auto-falls-back to image config; named instances fall back to main instance field-by-field |
Batch engine |
|
Secure by design | Zero hardcoded keys, |
Related MCP server: Gemini Image MCP
๐ Architecture
pivision.py (entry, FastMCP "pivision")
โโโโโโโโโฌโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโ
r-pic r-vid g-pic/i-pic p-pic b-gen
โ โ โ โ โ
โผ โผ โผ โผ โผ
get_vision_adapter get_pipeline_adapter(pipeline, provider, instance)
(prefix VISION_ / (prefix GEN_IMAGE_ / GEN_INFOGRAPH_ / EDIT_IMAGE_,
VISION_VIDEO_ fallback) main instance + named instances)
โ โ โ โ
โผ โผ โผ โผ
/v1/chat/completions /v1/images/generations (url) ยท /v1/images/edits (JSON+base64)
(image / video_url) ยท openai_compat multipart (image-to-image)
api_server.py (FastAPI, :7002 โ same business layer)
/health ยท /tools ยท /r-pic ยท /r-vid ยท /g-pic ยท /i-pic ยท /p-pic ยท /b-gen
utils.py (save/naming/size/base64/batch/history)
adapters/__init__.py (adapter registry + factory + get_config_summary())
On disk: art/*.png ยท pivision_batch_results.txt ยท .bgen_progress.json ยท history.jsonCore design:
Pipeline prefix isolation โ the three generation pipelines read independent env vars (
GEN_IMAGE_*/GEN_INFOGRAPH_*/EDIT_IMAGE_*); switch backend per pipeline without touching code.Vision dual-branch fallback โ
r-vidreusesVISION_*whenVISION_VIDEO_*is not configured: one key set, two use cases.Enable switches โ each pipeline has
{PREFIX}_ENABLED(defaulttrue; set tofalseto fully disable it, no API calls are made).Named instances โ declare multiple config instances per generation pipeline (
{PREFIX}_INSTANCES), select at runtime with theinstancetool parameter.Multi-key pool โ comma-separated keys in
*_API_KEYS; automatic key rotation on401/403/429.
๐ Quick Start
Prerequisite: Python โฅ 3.11.
1. Install
cd pivision # wherever you cloned/unpacked the project
python -m venv .venv
.venv/bin/pip install -e .2. Configure .env
cp .env.example .envFill in your keys: vision โ VISION_API_KEY (video falls back to it automatically when empty); generation โ each section's *_API_KEYS (comma-separated for multiple keys). Pipelines without keys return โ ๆช้
็ฝฎ {xxx_API_KEYS} instead of making wrong requests.
2.5 Get API Keys (free)
Both backed APIs are currently free with generous quotas โ you only register once and grab your keys:
Pipeline | Provider | Where to register | Key to fill in |
Vision ( | dots (Xiaohongshu Dots Studio) | https://dots.ai/platform โ sign in with phone number, then create a key on the API Keys page |
|
Generation ( | SenseNova (SenseTime) | https://platform.sensenova.cn โ register + phone verify, then Console โ API Keys โ create an |
|
Both providers are OpenAI-compatible. If you already have another OpenAI-compatible key (OpenAI / DeepSeek / Moonshot / local gatewayโฆ), point
VISION_BASE_URL/*_BASE_URLto your own endpoint and reuse your existing key โ no extra registration needed.
3a. Use as MCP (for AI assistants)
Register the server in your MCP client (e.g. CodeBuddy โ Settings โ MCP Servers). The pic-config.json / mcp-register.json in the project are ready-to-merge templates:
{
"mcpServers": {
"pivision": {
"command": "<your-project-path>/.venv/bin/python",
"args": ["<your-project-path>/pivision.py"]
}
}
}Replace
<your-project-path>with the actual path on the target machine. The Python code itself uses relative paths โ only the registration JSON needs per-machine paths.
Start / verify:
cd pivision
.venv/bin/python pivision.pyThe service waits silently for the AI client to connect. Once registered, just chat with your assistant โ it will call the tools for you.
3b. Use as HTTP API (for programs & scripts)
cd pivision
.venv/bin/python api_server.pyExpected output:
INFO: Uvicorn running on http://127.0.0.1:7002
INFO: pivision API ๆๅกๅจๅฐฑ็ปช๏ผHTTP ็ซฏๅฃ 7002๏ผThe server listens on 127.0.0.1:7002 (local machine only). Run it in the background if you want it to survive closing the terminal:
nohup python api_server.py > pivision_server.log 2>&1 &
# check: curl http://127.0.0.1:7002/health
# stop: pkill -f api_server.py๐ MCP Tools
Every tool returns a string: success starts with โ
, failure with โ (with reason) โ MCP clients can judge by prefix.
r-pic โ Image recognition
r-pic(image_path, question="่ฏท่ฏฆ็ปๆ่ฟฐ่ฟๅผ ๅพ็็ๅ
ๅฎนใ", provider=None, model=None, max_tokens=1024)image_path: local image (PNG/JPG/WEBP/GIF), requiredquestion: what you want to know about the imagemax_tokens: response length cap, default 1024
r-vid โ Video recognition
r-vid(video_url, question="่ฏท่ฏฆ็ปๆ่ฟฐ่ฟๆฎต่ง้ข็ๅ
ๅฎนใ", provider=None, model=None, max_tokens=8192)video_url: must be a publicly accessible http/https link (local paths / LAN addresses won't work)max_tokens: default 8192 โ video parsing output is long, keep it high
g-pic / i-pic โ Text-to-image
g-pic(prompt, size="2752x1536", n=1, provider=None, instance=None)
i-pic(prompt, size="2752x1536", n=1, provider=None, instance=None)g-pic: general text-to-image (GEN_IMAGE pipeline)i-pic: infographics / posters / charts (GEN_INFOGRAPH pipeline, defaultsensenova-u1-fast)n: 1โ20;n>1is generated one-by-one (the official API supports one per call)instance: named instance, e.g."a"; unknown instance โ explicit error (no silent fallback)
p-pic โ Image-to-image (reference + instruction)
p-pic(prompt, image_path, size="2752x1536", provider=None, instance=None)image_path: reference image path (local), required โ sent asdata:image/*;base64,Data-URIOnly
n=1is allowed
b-gen โ Batch engine
b-gen(task, file_path, interval=0, resume=False, size="2752x1536", n=1)task:g-pic/i-pic/p-pic/r-pic/r-vidReads tasks line-by-line from a
.txt/.mdfile (see format below)resume=True: progress saved to.bgen_progress.json; re-run skips completed rows. Progress auto-invalidates if the task type or input file changes.interval: seconds between tasks (set 1โ2 to avoid rate limits)Results are written to
pivision_batch_results.txt
Task file format (one task per line):
| Line format | Example line |
| 1 prompt |
|
| 1 image path |
|
| 1 video URL |
|
|
|
|
๐ HTTP API (FastAPI, port 7002)
Same business layer as MCP โ no duplicated logic. All endpoints return a unified response structure:
{"code": 0, "msg": "ok", "data": "..."}
| Meaning | How to judge |
| success |
|
| business failure (missing key, file not found) | read |
| internal exception (bug) | read |
8 endpoints:
Method | Endpoint | Purpose | Required fields |
GET |
| health check | โ |
GET |
| list available tools | โ |
POST |
| image recognition |
|
POST |
| video recognition |
|
POST |
| text-to-image |
|
POST |
| infographic generation |
|
POST |
| image-to-image |
|
POST |
| batch engine |
|
Quick test:
curl http://127.0.0.1:7002/health
curl -X POST http://127.0.0.1:7002/g-pic -H "Content-Type: application/json" \
-d '{"prompt": "a cat by a coffee shop window, illustration style"}'โ๏ธ Environment Variables Reference
5 sections โ all new v6 variables (code defaults shown in parentheses; env vars override).
VISION_ โ r-pic image recognition
Variable | Meaning | Default |
| enable switch: |
|
| vision backend: |
|
| vision model |
|
| OpenAI-compatible base URL |
|
| vision API key | empty |
VISION_VIDEO_ โ r-vid video recognition (all empty โ falls back to VISION_*)
Variable | Meaning | Default |
| video switch; empty falls back to |
|
| video backend; empty โ fall back to | same as vision |
GEN_IMAGE_ โ g-pic text-to-image
Variable | Meaning | Default |
| enable switch |
|
|
|
|
| text-to-image model (main instance) |
|
| OpenAI-compatible base URL (main instance) |
|
| comma-separated key pool (main instance) | empty |
| named instance list, e.g. | empty |
GEN_INFOGRAPH_ โ i-pic infographics
Same shape as GEN_IMAGE_*; default model sensenova-u1-fast.
EDIT_IMAGE_ โ p-pic image-to-image
Same shape as GEN_IMAGE_*; default model sensenova-u1.5-lite (decoupled from text-to-image).
openai_compatoptional extras:{PREFIX}_RESPONSE_FORMAT(url/b64_json, defaulturl),{PREFIX}_EDIT_URL(image-edit endpoint override, default${BASE_URL}/images/edits).
Fallback chain (priority order)
named-instance vars ({PREFIX}_{X}_FIELD) โ main-instance vars ({PREFIX}_FIELD) โ code defaultsOnly two fallback types exist, no legacy-variable fallback:
Video โ image:
VISION_VIDEO_*all empty โVISION_*(switch follows the same chain).Named instance โ main instance: instance field empty โ main instance field (no
_ADAPTERper instance;{PREFIX}_ADAPTERis pipeline-level).
๐ Adapter Mechanism
Two-layer: common differences are absorbed by generic adapters, special differences by vendor-specific adapters. The tools only see capability interfaces.
Adapter | Type | Purpose | Special differences handled |
| generation ยท generic | OpenAI-compatible protocol ( | none โ differences handled by config (change MODEL/BASE_URL = switch vendor) |
| generation ยท vendor | SenseNova image generation | multi-key pool, |
| vision ยท generic | OpenAI-compatible vision | none (Bearer auth, |
| vision ยท vendor | dots vision |
|
Add a new OpenAI-compatible model โ zero code:
GEN_IMAGE_ADAPTER=openai_compat
GEN_IMAGE_MODEL=foo-image-x1
GEN_IMAGE_BASE_URL=https://foo.example.com/v1
GEN_IMAGE_API_KEYS=sk-foo-xxxxTools work immediately. Only write a custom adapter when the API is not OpenAI-compatible (private protocols, two-stage polling, special auth headers, JSON+base64 edits, multi-key pools, non-configurable differences) โ register it in adapters/__init__.py in one line, pipeline code untouched.
Multi-key pool constraints: keys in one *_API_KEYS must be same vendor + same BASE_URL + same MODEL (they rotate for one endpoint). Don't mix vendors/URLs/models in one pool (โ 400/404, no key rotation, cascading errors). Use different config sections or named instances for multiple endpoints.
๐ Config Preflight
adapters.get_config_summary() returns the readiness of all 5 pipelines (+ named instances) โ N of M available โ so agents/clients can check before calling. It only reports "configured / not configured", never prints actual keys.
import json
from adapters import get_config_summary
for r in get_config_summary():
print(f"{r['tool']:6s} {r['prefix']:16s} instance={str(r['instance'] or '(main)'):6s} "
f"adapter={r['adapter']:12s} model={r['model']:20s} keys={r['api_keys']:3s} โ {r['status']}")Example output (fully configured case):
g-pic GEN_IMAGE ๅฎไพ=(ไธป) adapter=sensenova model=sensenova-u1.5-lite keys=ๅทฒ้
็ฝฎ โ AVAILABLE
i-pic GEN_INFOGRAPH ๅฎไพ=(ไธป) adapter=sensenova model=sensenova-u1-fast keys=ๅทฒ้
็ฝฎ โ AVAILABLE
p-pic EDIT_IMAGE ๅฎไพ=(ไธป) adapter=sensenova model=sensenova-u1.5-lite keys=ๅทฒ้
็ฝฎ โ AVAILABLE
r-pic VISION ๅฎไพ=(ไธป) adapter=dots model=dots3-note-prev keys=ๅทฒ้
็ฝฎ โ AVAILABLE
r-vid VISION_VIDEO ๅฎไพ=(ไธป) adapter=dots model=dots3-note-prev keys=ๅทฒ้
็ฝฎ โ AVAILABLE
ๆฑๆป๏ผ5 of 5 available๐ Security
Keys live only in
.env(excluded by.gitignore, never committed) โ zero hardcoded keys in code.All adapters redact key fragments in errors and logs via
_safe_error()โ[redacted].get_config_summary()prints only "configured / not configured" โ never the keys themselves.Never put full keys in frontend code, logs, or public repos.
HTTP server binds to 127.0.0.1 by default โ local machine only, not exposed to LAN/Internet unless you change
host.
๐ Notes & FAQ
Q1: Generated image URLs expire?
u1.5-lite URLs expire in 24h, u1-fast in 1h (per official docs). pivision downloads every generated image to local art/ automatically โ always use the local file path, ignore the temp URL.
Q2: Video recognition fails / can't parse?
The video URL must be a publicly reachable http/https link โ LAN addresses, localhost, and local file paths won't work. Parsing can be slow, that's normal; if it times out, use a shorter/smaller video. Default timeout is 180s (TIMEOUT_SECONDS in adapters/vision_base.py).
Q3: "Not configured {xxx}_API_KEYS"?
That pipeline has no key. Fill *_API_KEYS in .env, then restart the service.
Q4: "Pipeline disabled ({PREFIX}_ENABLED=false)"?
The switch is off. Set {PREFIX}_ENABLED to true (or delete the line โ empty counts as on), then restart.
Q5: Key rotation still hits 400/404? Almost certainly a mixed pool โ keys pointing to different models/endpoints in one pool. Split by endpoint using different config sections or named instances.
Q6: Env vars changed but no effect?
.env is loaded once at startup. Restart the service. Note named-instance vars are case-sensitive (GEN_IMAGE_A_MODEL โ instance suffix uppercase).
Q7: Size errors or wrong orientation?
Generation auto-matches the nearest aspect ratio + LANCZOS downscale for unsupported sizes (output notes โก ่ชๅจ็ผฉๆพ). If still failing, make sure size is WxH format (e.g. 1024x1024).
Limits: single image โค 20MB for r-pic; video timeout 180s (adjustable constant); b-gen per-line failure doesn't stop the batch.
๐ฆ Project Layout
pivision/
โโโ pivision.py # MCP entry (FastMCP "pivision")
โโโ api_server.py # FastAPI HTTP server (:7002)
โโโ utils.py # save/naming/size/base64/batch/history
โโโ adapters/ # adapter registry + factory
โ โโโ __init__.py # registry + get_config_summary()
โ โโโ vision_base.py # vision base (timeout, max image size)
โ โโโ vision_openai.py # vision ยท generic OpenAI-compatible
โ โโโ vision_dots.py # vision ยท dots vendor
โ โโโ openai_compat.py # generation ยท generic OpenAI-compatible
โ โโโ sensenova.py # generation ยท SenseNova vendor
โโโ pyproject.toml
โโโ .env.example # config template (fill your keys โ .env)
โโโ pic-config.json # MCP registration template (generic)
โโโ mcp-register.json # MCP registration template (CodeBuddy tagged)
โโโ README-zh.md # ไธญๆ็่ฏดๆ๐ License
To be determined by the project owner โ see repository listing. (Internal / local deployment tool; not published to npm/PyPI.)
Available Tools
6 toolsb-genA
้็จๆน้ๅผๆ๏ผไป .txt/.md ๆไปถ้่ก่ฏปๅไปปๅกๅนถๆน้ๆง่ก๏ผๆฏๆ้ด้ไธๆญ็น็ปญไผ ใ
ๅๆฐ๏ผ task: ไปปๅก็ฑปๅ๏ผๅฟ ๅกซ๏ผg-pic/i-pic ๆฏ่กไธไธช prompt๏ผr-pic ๆฏ่กไธไธชๅพ็่ทฏๅพ๏ผ r-vid ๆฏ่กไธไธช่ง้ข URL๏ผp-pic ๆฏ่ก "prompt | ๅ่ๅพ่ทฏๅพ"๏ผ file_path: ่พๅ ฅๆไปถ่ทฏๅพ๏ผๅฟ ๅกซ interval: ็ธ้ปไปปๅก้ด้็งๆฐ๏ผ้ป่ฎค 0๏ผ resume: ๆญ็น็ปญไผ ๅผๅ ณ๏ผ่ฟๅบฆ่ฎฐๅฝไบ .bgen_progress.json๏ผ size: ๅฐบๅฏธ๏ผไป ็ๅพไปปๅก็ๆ๏ผ้ป่ฎค 2752x1536๏ผ n: ็ๆๆฐ้๏ผไป g-pic/i-pic ็ๆ๏ผ้ป่ฎค 1๏ผ
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| size | No | 2752x1536 | |
| task | Yes | ||
| resume | No | ||
| interval | No | ||
| file_path | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
There are no annotations, so the description carries the full burden. It discloses key behaviors: line-by-line reading, interval between tasks, and resume via progress recorded in .bgen_progress.json. However, it does not disclose error handling, output behavior, or side effects of execution, which are relevant for a batch tool with no annotation safety hints.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and well-structured: a one-line summary followed by a clearly formatted parameter list. Every sentence adds value, including defaults and task-specific constraints. No filler or redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a batch engine with 6 parameters and multiple task types, the description is largely complete: it covers purpose, parameters, file formats, and resume behavior. The output schema exists, so return values need not be explained. It lacks details on failure handling and sequential execution, but nothing critical is missing for invoking the tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description fully compensates. It explains every parameter, including task types with per-line payload formats (e.g., g-pic/i-pic expect one prompt per line, p-pic expects 'prompt | reference path'), defaults for interval/size/n, and conditional applicability of size/n. This goes well beyond the bare schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb+resource: '้็จๆน้ๅผๆ๏ผไป .txt/.md ๆไปถ้่ก่ฏปๅไปปๅกๅนถๆน้ๆง่ก' (generic batch engine reading tasks line by line from .txt/.md files and executing them in batch). It also mentions interval and resume support, which clearly distinguishes it from the sibling single-task tools like g-pic or r-vid.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description clearly establishes when to use this tool: when you need to batch-execute tasks listed in a file, with optional interval and resume. It does not explicitly name alternatives or state when not to use the siblings, but the batch-engine framing and the task-type parameter give clear usage context. Without explicit exclusions, a 4 is appropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
g-picA
้็จๆ็ๅพ๏ผGEN_IMAGE ๆตๆฐด็บฟ๏ผใๆฏๆๅคๅผ n>1๏ผๅฏๆๅฎ provider ๅ็ซฏไธๅฝๅๅฎไพใ
ๅๆฐ๏ผ prompt: ๅพ็ๆ่ฟฐ๏ผๅฟ ๅกซ size: ๅฐบๅฏธ๏ผ้ป่ฎค 2752x1536๏ผAPI ไธๆฏๆๆถ่ชๅจ้้ ๆ่ฟๅฎฝ้ซๆฏ๏ผ n: ็ๆๆฐ้๏ผ้ป่ฎค 1๏ผ provider: ๅ็ซฏ๏ผsensenova/openai_compat๏ผ้ป่ฎค่ฏป GEN_IMAGE_ADAPTERโsensenova๏ผ instance: ๅฝๅๅฎไพๅ๏ผๅฆ "a"๏ผ้ป่ฎค None ่ตฐไธปๅฎไพ๏ผ่ง 3.7 ๅฝๅๅฎไพๆบๅถ๏ผ
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| size | No | 2752x1536 | |
| prompt | Yes | ||
| instance | No | ||
| provider | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure, and it does so well: it reveals automatic size adaptation when the API does not support the requested dimensions, the default provider resolution order (GEN_IMAGE_ADAPTER โ sensenova), and the default instance behavior (None โ main instance). Some behaviors like error handling or rate limits are omitted, but the key operational quirks are disclosed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and well-structured: a one-sentence purpose summary followed by a clean parameter list. Every line adds useful information with no filler. The only minor weakness is the reference to an external '3.7 ๅฝๅๅฎไพๆบๅถ' section, which reduces self-containedness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
This is a moderate-complexity generation tool with 5 parameters and an output schema, so return-value documentation is not required from the description. The description covers all parameter semantics, defaults, provider fallback, and size-adaptation behavior. It lacks explicit usage examples or edge-case handling, but overall it is sufficient for selecting and invoking the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate, and it does: every parameter (prompt, size, n, provider, instance) is explained with defaults, valid options or behaviors, and resolution rules. This goes far beyond the bare schema types and titles, giving an agent enough to construct valid calls confidently.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly identifies a specific operation: general text-to-image generation via the GEN_IMAGE pipeline, with support for multiple images and configurable provider/instance. It is concrete and not a tautology. However, it does not explicitly contrast itself with sibling tools, so some differentiation is left to inference.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit when-to-use or when-not-to-use guidance is provided. The phrase '้็จๆ็ๅพ' implies a general purpose, and the mention of n>1, provider, and instance signals capabilities, but the description never tells an agent when to choose g-pic over siblings like r-pic or i-pic, nor what scenarios would make another tool more appropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
i-picA
ไฟกๆฏๅพๆ็ๅพ๏ผGEN_INFOGRAPH ๆตๆฐด็บฟ๏ผ้ป่ฎคๆจกๅ sensenova-u1-fast๏ผใๆฏๆๅคๅผ n>1ใ
ๅๆฐ๏ผ prompt: ไฟกๆฏๅพๆ่ฟฐ๏ผๅฟ ๅกซ size: ๅฐบๅฏธ๏ผ้ป่ฎค 2752x1536๏ผu1-fast ๆไพ 11 ็ง 2K ๅธธ้๏ผ n: ็ๆๆฐ้๏ผ้ป่ฎค 1๏ผ provider: ๅ็ซฏ๏ผsensenova/openai_compat๏ผ้ป่ฎค่ฏป GEN_INFOGRAPH_ADAPTERโsensenova๏ผ instance: ๅฝๅๅฎไพๅ๏ผ้ป่ฎค None ่ตฐไธปๅฎไพ๏ผ่ง 3.7๏ผ
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| size | No | 2752x1536 | |
| prompt | Yes | ||
| instance | No | ||
| provider | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the transparency burden and does add useful behavioral details: default model, multi-image support, provider fallback via GEN_INFOGRAPH_ADAPTER, and instance selection semantics. However, it does not disclose authentication needs, rate limits, failure behavior, or any side effects, so coverage is only partial.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and front-loaded: a one-line purpose statement followed by a clear parameter list. The only minor issue is the external reference '่ง 3.7' and the absence of the actual size constant list, but there is no filler or redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description provides enough defaults to invoke the tool correctly, and an output schema apparently exists, so return-value documentation is not required. Still, it lacks usage boundaries against sibling tools, does not enumerate the 11 size constants, and references an external section that the agent may not have access to.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, but the description compensates fully by explaining all five parameters: prompt is required, size has a default and a family of 2K constants, n controls count, provider selects backend with a fallback, and instance names a specific instance. This adds real meaning beyond the raw schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool generates infographic images ('ไฟกๆฏๅพๆ็ๅพ') and identifies the GEN_INFOGRAPH pipeline with a default model, so the function's purpose is specific and actionable. However, it does not explicitly distinguish itself from sibling tools such as r-pic, g-pic, or p-pic, so it stops short of full differentiation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance about when to choose this tool over alternatives, nor any mention of sibling tools or exclusions. The description only lists capabilities and defaults, leaving the selection decision entirely to the agent.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
p-picA
ๅพ็ๅพ๏ผEDIT_IMAGE ๆตๆฐด็บฟ๏ผ้ป่ฎคๆจกๅ sensenova-u1.5-lite๏ผใ
ๅๆฐ๏ผ prompt: ็ผ่พๆไปค๏ผๆ่ฟฐๆๆๆ็ป็ป้ข๏ผๅฟ ๅกซ image_path: ๅ่ๅพ่ทฏๅพ๏ผๆฌๅฐ๏ผPNG/JPG/WEBP/GIF๏ผ๏ผๅฟ ๅกซ size: ๅฐบๅฏธ๏ผ้ป่ฎค 2752x1536๏ผ provider: ๅ็ซฏ๏ผsensenova/openai_compat๏ผ้ป่ฎค่ฏป EDIT_IMAGE_ADAPTERโsensenova๏ผ instance: ๅฝๅๅฎไพๅ๏ผ้ป่ฎค None ่ตฐไธปๅฎไพ๏ผ่ง 3.7๏ผ
่ฏดๆ๏ผPython ่ฏญๆณ่ฆๆฑๅฟ ๅกซๅๆฐ๏ผimage_path๏ผ็ฝฎไบๅธฆ้ป่ฎคๅผๅๆฐ๏ผsize๏ผไนๅ๏ผ ๅทฅๅ ทๅฅ็บฆๅณๆฌ็ญพๅ๏ผp-pic(prompt, image_path, size, provider=None, instance=None)ใ
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | 2752x1536 | |
| prompt | Yes | ||
| instance | No | ||
| provider | No | ||
| image_path | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden, and it delivers: it discloses the pipeline name, default model, default size, provider resolution order (EDIT_IMAGE_ADAPTER env โ sensenova), and instance fallback behavior (None โ main instance). This gives an agent a realistic picture of how invocation will behave. The only omission is output behavior, but an output schema is present, lowering that burden.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The structure is efficient: a one-line purpose, a scannable parameter list, and a final note about the callable signature. The Python-syntax note about required-before-default parameters is unusual but earns its place by clarifying the exact tool contract. Nothing is redundant, though the signature line partially repeats schema information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 5-parameter tool with zero schema descriptions and no annotations, the description covers all parameters, defaults, and behavioral nuances, including the provider fallback and instance resolution. The reference to '่ง 3.7' for instance details is a minor external dependency, and the output schema covers return values. Slightly more context on when to set provider explicitly would round it out.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must fully compensate, and it does. Every parameter gets a meaningful definition: prompt is the edit instruction, image_path specifies local path and accepted formats (PNG/JPG/WEBP/GIF), size has a default, provider enumerates the two backends, and instance explains the named-instance concept. This exceeds what a bare schema would convey.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The opening line 'ๅพ็ๅพ๏ผEDIT_IMAGE ๆตๆฐด็บฟ๏ผ้ป่ฎคๆจกๅ sensenova-u1.5-lite๏ผ' identifies the tool as an image-to-image operation on the EDIT_IMAGE pipeline with a named default model. This is clear enough to distinguish it from siblings like r-pic (likely generate-from-reference) or g-pic (likely text-to-image), though it lacks an explicit action verb like 'edits' or 'generates'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is given on when to choose this tool over its siblings. The parameter list implies you need a prompt and a local reference image, but there is no statement of when image-to-image editing is appropriate versus alternatives like r-pic or i-pic. An agent must infer selection criteria entirely from the tool name and parameter shapes.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
r-picA
่ฏๅซๆฌๅฐๅพ็๏ผPNG/JPG/WEBP/GIF๏ผ๏ผๅ้็ป่ง่งๆจกๅ๏ผ่ฟๅๆๆฌๆ่ฟฐๆ้ฎ็ญ็ปๆใ
ๅๆฐ๏ผ image_path: ๆฌๅฐๅพ็่ทฏๅพ๏ผๅฟ ๅกซ question: ๅฏนๅพ็็ๆ้ฎ/ๆไปค๏ผ้ป่ฎค"่ฏท่ฏฆ็ปๆ่ฟฐ่ฟๅผ ๅพ็็ๅ ๅฎนใ"๏ผ provider: ่ง่งๅ็ซฏ๏ผopenai/dots๏ผ้ป่ฎค่ฏป VISION_PROVIDERโdots๏ผ model: ่ง่งๆจกๅ๏ผ้ป่ฎค่ฏป VISION_MODELโdots3-note-prev๏ผ max_tokens: ่ฟๅๆๆฌไธ้๏ผ้ป่ฎค 1024๏ผ
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| provider | No | ||
| question | No | ่ฏท่ฏฆ็ปๆ่ฟฐ่ฟๅผ ๅพ็็ๅ ๅฎนใ | |
| image_path | Yes | ||
| max_tokens | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full disclosure burden and handles it well: it reveals that the image is sent to an external vision model (with cost/privacy implications), lists accepted formats, and documents default behavior including environment-var fallbacks (VISION_PROVIDERโdots, VISION_MODELโdots3-note-prev). It stops short of disclosing error handling for missing/invalid paths or file-size limits.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A one-line functional summary is front-loaded, followed by a scannable line-per-parameter list with no filler. Every line earns its place given the schema's 0% description coverage.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
All invocation-critical information is present: path requirement, question semantics, provider/model selection with env fallbacks, and the max_tokens cap. The output is described as text and an output schema exists, so return-value detail is unnecessary; the main gap is edge-case behavior such as handling of nonexistent paths or unsupported formats.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description fully compensates: all 5 parameters are documented with meaning, requiredness, valid values (provider: openai/dots; model: dots3-note-prev), and defaults. Notably it explains that null schema defaults resolve via environment variables, a behavior the schema itself cannot express.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource (่ฏๅซๆฌๅฐๅพ็ โ recognize local images), lists supported formats (PNG/JPG/WEBP/GIF), and names the outcome (text description or Q&A result). It is clear and self-contained, but it never explicitly contrasts with sibling tools like r-vid, g-pic, or b-gen, so an agent must infer the distinction from the 'ๆฌๅฐ' (local) qualifier and the r- recognition prefix.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The usage context is implied by the scoping: this is for local image files of specific formats, producing text output, so an agent can infer it fits tasks like 'describe this image file.' However, the description offers no explicit when-to-use/when-not-to-use framing and never mentions alternatives, which is a real gap given five sibling tools of ambiguous function.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
r-vidA
่งฃๆ่ง้ข็ด้พ๏ผhttp/https๏ผ่ง่งๆจกๅๆๅก็ซฏๅฏ็ดๆฅ่ฎฟ้ฎ๏ผ๏ผ่ฟๅๆๆฌๆ่ฟฐๆ้ฎ็ญ็ปๆใ
ๅๆฐ๏ผ video_url: ่ง้ข็ด้พ๏ผๅฟ ๅกซ question: ๅฏน่ง้ข็ๆ้ฎ/ๆไปค๏ผ้ป่ฎค"่ฏท่ฏฆ็ปๆ่ฟฐ่ฟๆฎต่ง้ข็ๅ ๅฎนใ"๏ผ provider: ่ง่งๅ็ซฏ๏ผ็ฉบๅ่ฏป VISION_VIDEO_PROVIDERโๅ้ VISION_PROVIDER model: ่ง่งๆจกๅ๏ผ็ฉบๅ่ฏป VISION_VIDEO_MODELโๅ้ VISION_MODEL๏ผ้ป่ฎค dots3-note-prev๏ผ max_tokens: ่ฟๅๆๆฌไธ้๏ผ้ป่ฎค 8192๏ผ่ง้ข่งฃๆๅปบ่ฎฎ โฅ8192๏ผ้ฟๅ ่พๅบๆชๆญ๏ผ
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| provider | No | ||
| question | No | ่ฏท่ฏฆ็ปๆ่ฟฐ่ฟๆฎต่ง้ข็ๅ ๅฎนใ | |
| video_url | Yes | ||
| max_tokens | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the burden of behavioral disclosure. It discloses server-side access requirements, provider/model fallback logic, and advises max_tokens to avoid truncationโinformation well beyond the schema. It does not enumerate failure modes, but the key behavioral traits are covered.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with a clear one-line purpose, followed by a terse, scannable parameter list. Each line adds distinct information with no repetition or filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description adequately covers purpose, all parameter semantics, defaults, and the output format, which is enough for a straightforward vision-model tool. It lacks explicit alternative routing and edge-case behavior, but these are not critical for a correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the parameter explanations in the description are essential. It provides meaningful context for all five parameters: required direct link, default question, provider/model fallback chain, and max_tokens recommendation. This fully compensates for the empty schema property descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('่งฃๆ') and resource ('่ง้ข็ด้พ'), and specifies the output type ('่ฟๅๆๆฌๆ่ฟฐๆ้ฎ็ญ็ปๆ'). The video focus clearly distinguishes it from sibling image tools like r-pic, even without an explicit comparison.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains how the tool works and covers parameter behavior, but it does not explicitly state when to use r-vid versus alternatives. The video-specific wording implies the usage context, yet no exclusions or alternative routing are provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
6 tool updates
v6.1.0- First observed
b-gen - First observed
g-pic - First observed
i-pic - First observed
p-pic - First observed
r-pic - First observed
r-vid
TDQS
Scored across 6 tools
Each tool targets a distinct operation: image recognition (r-pic), video recognition (r-vid), general generation (g-pic), infographic generation (i-pic), image editing (p-pic), and batch execution (b-gen). Even g-pic and i-pic are clearly differentiated by their pipeline purpose and default models. There is no genuine overlap that would mislead an agent.
All tools follow a consistent lowercase-with-hyphen abbreviation pattern (r-pic, r-vid, g-pic, i-pic, p-pic, b-gen), which makes the set feel uniform. However, the prefixes are cryptic and 'b-gen' breaks the '-pic/-vid' media suffix pattern slightly, so while predictable, the names are not immediately intuitive.
Six tools is a well-scoped size for a multimodal vision server, covering recognition, generation, editing, and batch orchestration without unnecessary bloat. Each tool has a clear role, and the count feels appropriate for the stated domain.
The tool surface covers the core lifecycle of the vision domain: reading images and videos, generating images (general and infographic), editing images, and batching any of these tasks. There are no obvious missing operations that would block typical workflows for a vision and generation toolkit.
Maintenance
Related MCP Connectors
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Create and manage AI image and video generations through Quriov's fixed public MCP tools.
Generate images with any major model โ one API key, one prepaid balance, one MCP.
Generate on-brand images from your AI agent: design, edit, and render templates over MCP.
Related MCP Servers
- AlicenseAqualityDmaintenanceAllows AI assistants to generate and transform high-quality images from text prompts using Google's Gemini model via the MCP protocol.334MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI-powered image generation and editing using Gemini and Imagen models, supporting text-to-image, image editing, and multi-image composition through MCP tools.MIT
- FlicenseAqualityCmaintenanceEnables AI assistants to recognize and extract information from images via GLM-4V, supporting automatic screenshot recognition and MCP-based local image file reading for non-vision models like DeepSeek.1-
- AlicenseNot gradedqualityCmaintenanceProvides multimodal vision MCP tools for image analysis, OCR, object detection, text-to-image generation, and image similarity, integrating OpenAI, Qwen, and Gemini.55 npm1MIT