Gpt Image Mcp

io.github.youbotapi由 GitHub 帳號 youbotapi 發布v0.2.2更新於 Oct 24, 2026

Generate and edit images with GPT Image 2.5 for $0.029 — free key, 50 credits, no card.

已驗證STDIO僅桌面媒體與設計AI 與機器學習

概覽

AI 產生的概覽

一個本機 MCP 伺服器,讓助理透過 you.bot 閘道依文字提示生成新圖片,並編輯既有圖片,按張計費。

可以做什麼
依文字提示以指定長寬比生成圖片,等待約 30–60 秒後直接在對話中顯示,並按張計費。編輯可透過公開網址存取的既有圖片,例如更換背景、增減物件或改變風格。免費查詢剩餘額度以及可生成的圖片數量。可選擇將每張生成的圖片以 PNG 格式儲存到指定資料夾。
適用情境
適合想在 MCP 用戶端內生成或編輯圖片、又不想使用 OpenAI 帳號,並願意透過轉售閘道按張支付小額費用的情境。適用於快速製作插圖、含文字的海報或招牌,以及對公開網址圖片做簡單修改。
執行需求
透過 npx 以 stdio 在本機執行,需要 Node.js 18 或更新版本。需要在 YOUBOT_API_KEY 環境變數中提供 you.bot 的 API 金鑰,OpenAI 金鑰無效。需要帶額度的 you.bot 帳號,並能連線至 you.bot 閘道。可選擇設定 YOUBOT_IMAGE_DIR,同時把圖片儲存到資料夾。
安裝前請注意
每次生成或編輯都會消耗額度(約每張 0.029 美元),免費註冊額度用完後會產生實際費用。YOUBOT_API_KEY 是付費憑證,應避免放入共用設定。提示詞和圖片網址會傳送給第三方閘道 you.bot,而非直接傳送給 OpenAI。設定 YOUBOT_IMAGE_DIR 會把生成的檔案寫入本機磁碟。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Gpt Image Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

GPT Image 2.5 MCP Server

Generate and edit images with GPT Image 2.5 — OpenAI's most capable image model — directly inside Claude, Cursor, or any MCP client. $0.029 per image.

[npm] [license]

Ask Claude for a picture and get one back in the chat:

"A friendly robot painting a picture at an easel in a sunlit studio, warm morning light through a tall window, soft shadows, detailed illustration style, a small wooden sign on the easel reading 'GPT IMAGE 2.5'"

[Example output from GPT Image 2.5]

Generated with this server in 45 seconds for $0.029. Note that the text on the sign came out exactly as asked — GPT Image 2.5 is unusually good at rendering words inside an image.


⚠️ Read this first: the API key comes from you.bot, not OpenAI

This server reaches GPT Image 2.5 through you.bot, an API gateway that resells the model below OpenAI's own rate.

  • You need a you.bot API key. It starts with sk-live-.
  • An OpenAI key will not work, and you do not need an OpenAI account at all.
  • If you paste an OpenAI key by mistake, the server will tell you so by name rather than failing with a confusing 401.

Why people use it: signup gives you 50 free credits — about 17 images — with no credit card, so the server works the moment you paste the key in.


Setup

1. Get a free key (2 minutes)

  1. Sign up at https://you.bot — no credit card.
  2. You start with 50 credits ≈ 17 images.
  3. Create a key at https://you.bot/dashboard/api-keys and copy it (it begins with sk-live-).

2. Add the server to your client

Claude Desktop

Edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\):

json
{  "mcpServers": {    "gpt-image": {      "command": "npx",      "args": ["-y", "gpt-image-2-5-mcp"],      "env": {        "YOUBOT_API_KEY": "sk-live-your-key-from-you.bot"      }    }  }}

Restart Claude Desktop.

Claude Code
bash
claude mcp add gpt-image -e YOUBOT_API_KEY=sk-live-your-key -- npx -y gpt-image-2-5-mcp
Cursor

In ~/.cursor/mcp.json (or Settings → MCP → Add new server):

json
{  "mcpServers": {    "gpt-image": {      "command": "npx",      "args": ["-y", "gpt-image-2-5-mcp"],      "env": { "YOUBOT_API_KEY": "sk-live-your-key-from-you.bot" }    }  }}
Any other MCP client

Run npx -y gpt-image-2-5-mcp over stdio with YOUBOT_API_KEY in the environment.

3. Check it works

Ask your assistant: "check my image credits". You should see your balance and how many images it buys.


Tools

ToolWhat it doesCost
generate_imageMake an image from a text prompt2.9 credits ($0.029)
edit_imageChange an existing image from a public URL — swap a background, add or remove objects, restyle2.9 credits ($0.029)
check_creditsShow remaining balance and images leftfree

There is also a setup prompt that walks you through configuration if something isn't working.

Aspect ratios: 1:1 (default), 3:2, 2:3, 4:3, 3:4, 16:9, 9:16, 2:1, 1:2, 21:9

Output is fixed at 1024px (1K), which is what keeps every call at a flat $0.029. A generation typically takes 30–60 seconds; the server polls until the image is ready and then shows it to you inline.


What it costs

Per image$0.029
Free on signup50 credits ≈ 17 images, no card
Credit value1 credit = $0.01
ExpiryCredits never expire
Failed generationsRefunded automatically

The server tells you the cost after every image, and check_credits never spends anything.


Optional settings

Environment variableEffect
YOUBOT_API_KEYRequired. Your you.bot key (sk-live-…)
YOUBOT_IMAGE_DIRIf set, every generated image is also saved to this folder as a PNG

Tips for better images

GPT Image 2.5 rewards long, specific prompts. Describe subject, setting, lighting, composition and style instead of stacking keywords.

It also renders text inside images accurately — so if you want words on a poster or a sign, quote them exactly:

"A minimalist café sign reading 'OPEN DAILY 7AM' in clean sans-serif, warm morning light, shallow depth of field"

For edit_image, say what should change and what should stay:

"Replace the background with a snowy forest. Keep the subject, pose and lighting unchanged."


Troubleshooting

"No API key found" — YOUBOT_API_KEY isn't reaching the server. Check it's inside the env block of your MCP config, then fully restart the client.

"That key looks like an OpenAI API key" — exactly what it says. Get a key from https://you.bot instead; it starts with sk-live-.

"Out of credits" — each image is 2.9 credits. Top up at https://you.bot; credits never expire.

Nothing happens / tool isn't offered — confirm your client picked the server up (Claude Desktop lists it under the tools icon), and that you have Node 18 or newer.


Links

MIT licensed. Not affiliated with OpenAI; GPT Image 2.5 is accessed through the you.bot API.

來源:README.md,提交 f60654c

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.2最新Sep 17, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分