hamflx
服务介绍
Imagen3-MCP
An image generation tool based on Google's Imagen 3.0, provided through MCP (Model Control Protocol).
Effects
A running Jack Russell Terrier, telephoto lens, sunlight filtering through the dog's fur, photorealistic quality

A high-tech apple

Installation Requirements
- A valid Google Gemini API key
Installation Steps—Cherry Studio
- Download the latest executable from GitHub Releases
- Place the downloaded executable anywhere in your system, for example,
C:\bin\imagen3-mcp.exe - Configure in Cherry Studio:
- Fill in the Command field with the path to the executable, for example,
C:\bin\imagen3-mcp.exe - Enter your Gemini API key in the
GEMINI_API_KEYenvironment variable - [Optional] Enter a proxy URL in the
BASE_URLenvironment variable, for example,https://lingxi-proxy.hamflx.dev/api/provider/google(This address can resolve GFW issues but cannot solve IP restrictions by Google, so you still need to use a proxy). - [Optional] Set the
SERVER_LISTEN_ADDRenvironment variable: The IP address the server listens on (defaults to127.0.0.1). - [Optional] Set the
SERVER_PORTenvironment variable: The port the server listens on and uses for image URLs (defaults to9981). - [Optional] Set the
IMAGE_RESOURCE_SERVER_ADDRenvironment variable: The server address used in the image URLs (defaults to127.0.0.1). This is useful if the server runs in a container or on a remote machine.
- Fill in the Command field with the path to the executable, for example,

Installation Steps—Cursor
json
{
"mcpServers": {
"imagen3": {
"command": "C:\bin\imagen3-mcp.exe",
"env": {
"GEMINI_API_KEY": "<GEMINI_API_KEY>"
// Optional environment variables:
// "BASE_URL": "<PROXY_URL>",
// "SERVER_LISTEN_ADDR": "0.0.0.0", // Example: Listen on all interfaces
// "SERVER_PORT": "9981",
// "IMAGE_RESOURCE_SERVER_ADDR": "your.domain.com" // Example: Use a domain name for image URLs
}
}
}
}
License
MIT
Imagen3-MCP (English)
An image generation tool based on Google's Imagen 3.0, providing services through MCP (Model Control Protocol).
Examples
A running Jack Russell Terrier, telephoto lens, sunlight filtering through the dog's fur, photorealistic quality

A high-tech apple

Requirements
- Valid Google Gemini API key
Installation Steps—Cherry Studio
- Download the latest executable from GitHub Releases
- Place the downloaded executable anywhere in your system, e.g.,
C:\bin\imagen3-mcp.exe - Configure in Cherry Studio:
- Fill in the Command field with the executable path, e.g.,
C:\bin\imagen3-mcp.exe - Enter your Gemini API key in the
GEMINI_API_KEYenvironment variable - [Optional] Enter a proxy URL in the
BASE_URLenvironment variable, e.g.,https://your-proxy.com. - [Optional] Set the
SERVER_LISTEN_ADDRenvironment variable: The IP address the server listens on (defaults to127.0.0.1). - [Optional] Set the
SERVER_PORTenvironment variable: The port the server listens on and uses for image URLs (defaults to9981). - [Optional] Set the
IMAGE_RESOURCE_SERVER_ADDRenvironment variable: The server address used in the image URLs (defaults to127.0.0.1). Useful if the server runs in a container or remote machine.
- Fill in the Command field with the executable path, e.g.,

Installation Steps—Cursor
json
{
"mcpServers": {
"imagen3": {
"command": "C:\bin\imagen3-mcp.exe",
"env": {
"GEMINI_API_KEY": "<GEMINI_API_KEY>"
// Optional environment variables:
// "BASE_URL": "<PROXY_URL>",
// "SERVER_LISTEN_ADDR": "0.0.0.0", // Example: Listen on all interfaces
// "SERVER_PORT": "9981",
// "IMAGE_RESOURCE_SERVER_ADDR": "your.domain.com" // Example: Use a domain name for image URLs
}
}
}
}## License
MIT