ModelScope Image Generator
Project description
Project description
ModelScope Image Generation MCP
Project description
Feature
- 📝 Search for models on ModelScope using keywords
- 📝 Support text to image generation backed by models on ModelScope
- 📝 Support image to image generation backed by models on ModelScope
Prerequisites
1.Python 3.11+
2.ModelScope Token (obtained from Modelscope)
3.Node.js (optional, for MCP Inspector)
Install
install ms-image-gen-mcp throuh pip
pip install ms-image-gen-mcp
Debug by MCP Inspector
start the inspector by following command in terminal (replace YOUR_MODELSCOPE_TOKEN with your own token):
npx @modelcontextprotocol/inspector -e MODELSCOPE_TOKEN=YOUR_MODELSCOPE_TOKEN python -m ms_image_gen_mcp
Start the server
start the server by following command:
env MODELSCOPE_TOKEN=YOUR_MODELSCOPE_TOKEN python -m ms_image_gen_mcp
or you can add following json into your config file
"modelscope-image-gen-mcp": {
"command": "uvx",
"args": [
"ms_image_gen_mcp"
],
"env": {
"MODELSCOPE_API_KEY": "Your ModelScope API Key"
}
}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ms_image_gen_mcp-1.1.1-py3-none-any.whl.
File metadata
- Download URL: ms_image_gen_mcp-1.1.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
616071b0a54e1f8f6716905427e59f324a25adb29b2eb28313330ddddee85db6
|
|
| MD5 |
8f5e77be2f37ca3b8b3e104f04b2fb10
|
|
| BLAKE2b-256 |
ff3f512c0e945fbee4895b932342752f6c467b183a9bfa170e8f7a61fad869b5
|