generateImageLABSCO SUMMARY
Your session cookie is the credential, which is both why it works and what to weigh.
There is no API product to sign up for here: the server drives the same endpoints the website uses, with your sessionid standing in for a key — so anything the model does counts against your own account, and the token has the reach of a logged-in session. Blending mode is the part worth knowing about: supply a reference picture and it uploads and switches modes automatically, which is one call instead of a manual pipeline.
What it is
A TypeScript MCP server that calls Jimeng AI's image and video generation directly, authenticating with the session token from your own Jimeng account rather than through a third-party API.
What you get
generateImage— text to image, returning a list of image URLs- Reference-image generation: pass
filePathwith a local path or an image URL and it switches to blending mode, uploading the picture for you generateVideo— text to video, with reference images for the first and last frames and a resolution setting- Control over
width,height,sample_strengthandnegative_prompton image calls - A named model list covering the Seedream image models and Seedance video models, or pass a raw model key straight through
- Multiple tokens separated by commas, rotated in order, for load-balancing across accounts
Requirements
A Jimeng account. JIMENG_API_TOKEN is the sessionid cookie value taken from the Jimeng site in your browser's developer tools — treat it like a password. Clone the repository, build it with npm, and point your client at lib/index.js with the token in its env. Reference images passed by URL must be publicly reachable.
Setup effort
Build from source
USE CASES
Getting an illustration without leaving the chat
Describe the picture, set the size and how tightly it should follow the prompt, and get URLs back.
Matching an existing style
Point at a reference picture — local file or URL — and let the blending mode carry the look into the new image.
Steering away from what you do not want
Put the failure modes in the negative prompt rather than re-rolling the same generation repeatedly.
Producing a short clip with fixed endpoints
Give the first and last frames as reference images and set the resolution.
2 tools
Listed in project docs. Your client may show a different list.
generateVideoBEFORE YOU INSTALL
What to know first
Tools you get
2 tools named in the project's documentation.
Requires
- Node.js and npm
- JIMENG_API_TOKEN in your environment
INSTALLATION
Connect your client
MCP Clients
Claude Desktop — local build
Clone the repository and build it
git clone https://github.com/c-rick/jimeng-mcp.git
cd jimeng-mcp
npm install
npm run buildAdd this to claude_desktop_config.json
Point args at lib/index.js inside your clone (the build writes it). JIMENG_API_TOKEN is the sessionid cookie from jimeng.jianying.com: log in, open developer tools (F12), then Application > Cookies > sessionid. Several tokens separated by commas are used in turn.
{
"mcpServers": {
"jimeng": {
"command": "node",
"args": [
"<YOUR_PATH_TO_JIMENG_MCP>/lib/index.js"
],
"env": {
"JIMENG_API_TOKEN": "<YOUR_JIMENG_API_TOKEN>"
}
}
}
}