How do I get the Jimeng API token?
Visit jimeng.jianying.com, log in, open developer tools (F12), find the `sessionid` in Application > Cookies, and set it as the JIMENG_API_TOKEN in server.py.
@fengin
基本情報
一个能与Cursor集成的图片生成mcp server工具,实现调用即梦逆向接口
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"image-gen-server": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@fengin/image-gen-server",
"--client",
"claude"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。
Image-Gen-Server is an image generation service based on Jimeng AI (Jianying), designed for integration with Cursor IDE. It receives text descriptions from Cursor, generates images, and provides download and save functionality.
Install dependencies (Python 3.10+, Node.js v20, uv), clone the repository, configure JIMENG_API_TOKEN and IMG_SAVA_FOLDER in server.py, then add a new MCP server in Cursor settings with the command uv run --with fastmcp fastmcp run <path>/server.py. In Cursor agent mode, ask it to learn the image tool and then request image generation with your prompt and save location.
Visit jimeng.jianying.com, log in, open developer tools (F12), find the `sessionid` in Application > Cookies, and set it as the JIMENG_API_TOKEN in server.py.
The server failed to start. Common causes include an incorrect server.py path (containing Chinese characters or wrong slashes), missing dependencies, or using the wrong terminal environment (try cmd, PowerShell, or WSL on Windows).
Change `run` to `dev` in the command to start in development mode, or run `fastmcp dev <path>/server.py` in a terminal then open the provided debug URL (http://localhost:5173/) in a browser for MCP Inspector debugging.
It accepts prompt (text description), file_name (output filename), save_folder (optional custom path), sample_strength (0-1, default 0.5), width and height (default 1024 each).
Python 3.10+, npm, Node.js (v20 verified), the uv package manager, and the packages listed in requirements.txt. FastMCP is used to implement the MCP server.

Drive Veltake Studio from any AI agent: create film and ad projects, have the Studio agent build scenes on the canvas, price and start renders, export edited cuts, and make single images, video, speech and music in one c

AI Poster Generator for shop promotions and events in ChatGPT and Claude on the web. Connect free with your Poster account. Quotes and reads are free; generation uses your own Poster credits.

Sprite Fusion lets your AI assistant make the pixel art for your game. Describe a character, item, or tile and get sprites at the exact size you need, ready to drop into your project. Match your existing art, turn charac

Creates and manages quizzes, polls, surveys, personality tests, forms, predictors, minigames and leaderboards on Riddle.com – with branching logic, custom design, live stats and embed code.

Official LinkedIn, Slack and GitHub profile photo specs with sources, headshot style guides by use and industry, and a free 0-100 headshot audit. No API key needed.
コメント