generate_imageLABSCO SUMMARY
Small on purpose, and it returns both forms of the result.
There are four parameters in total, so there is nothing to learn — and the local path in the response is the detail worth noticing, because it means a follow-up step can open the file rather than re-downloading from a URL that may expire. Bilingual documentation, English and Chinese, ships in the repository.
What it is
A small TypeScript server wrapping Together AI's image generation. One tool, a short parameter list, and a response that gives you the hosted image and a cached file at the same time.
What you get
generate_imagetakes a requiredpromptand returns generated imagesstepscontrols the number of diffusion steps, defaulting to 4 within a range of 1 to 4nsets how many images to generate, defaulting to 1 within a range of 1 to 4- The response carries both
image_urlsandlocal_paths, so the image is available online and on disk without a second step
Requirements
Node.js v14 or later and a Together AI API key in TOGETHER_API_KEY, set in the env section of your client's entry — a variable exported in a terminal does not reach a server the client launches. Clone the repository, install, build, and point the client at the compiled entry point.
Setup effort
Build from source — git clone https://github.com/zym9863/together-ai-image-server.git
USE CASES
Getting an image into a document
Generate it and use the local file directly rather than downloading from the returned URL.
Comparing a few options
Ask for several images from one prompt in a single call.
1 tool
Listed in project docs. Your client may show a different list.
BEFORE YOU INSTALL
What to know first
Tools you get
1 tool named in the project's documentation.
Requires
- Node.js
- TOGETHER_API_KEY in your environment
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
Server setup
git clone https://github.com/zym9863/together-ai-image-server.git
cd together-ai-image-server
npm install
npm run buildMCP Clients
Claude Desktop
{
"mcpServers": {
"Together AI Image Server": {
"command": "<YOUR_PATH_TO_TOGETHER_AI_IMAGE_SERVER>/build/index.js"
}
}
}The configuration on this page does not set TOGETHER_API_KEY; the project's instructions set it with an export line. That line reaches only programs started from the same terminal, so to supply TOGETHER_API_KEY, start your client or the server from that terminal.