@visionengine/image-edit
v1.0.1
Published
VisionEngine Image Edit MCP Server - Edit images through VisionEngine backend proxy
Downloads
23
Maintainers
Readme
@visionengine/image-edit
VisionEngine Image Edit MCP Server - edit one or more images through the VisionEngine backend proxy and save results locally.
Features
- Single-image edit
- Multi-image fusion / reference edit
- Local file or remote URL inputs
- Downloads generated PNG results to local output directory
- Uses platform API key and backend billing instead of vendor keys
Configuration
| Variable | Description | Default |
|---|---|---|
| API_URL | Backend image edit endpoint | https://api.visionengine-tech.com/api/v1/image-edit/edit |
| API_KEY | VisionEngine API key | - |
| MODEL | Platform model id | @preset/vec-1-0-image-edit |
| WORKDIR | Base directory for local input paths | ./ |
| DEFAULT_OUTPUT_DIR | Default output directory | public/images |
| DOWNLOAD_TIMEOUT_MS | Timeout for downloading result images | 120000 |
Tool
edit
Parameters:
promptrequired text instructionimagePathsrequired array of 1-3 local paths or URLsnegativePromptoptional negative promptnoptional output count, 1-6sizeoptional resolution like1024*1024promptExtendoptional boolean, default truewatermarkoptional boolean, default falseseedoptional integeroutputDiroptional local output directoryfileNamePrefixoptional saved filename prefixmodeloptional platform model id override
Returns structured JSON including local saved paths, sizes, outputDir and usage.
Notes:
- Local input image paths must stay inside
WORKDIR. - Backend result URLs are temporary; this MCP downloads and saves them immediately.
