個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗English · 中文 · 日本語 · 한국어 · Русский
A workbench for OpenAI's gpt-image-2.5 using your own API key. Ask your AI agent for an image in a single sentence, then watch it appear in a local web gallery with its cost and your remaining balance.
Ask your agent, watch it appear:
low to xhigh / max; up to 16 reference images; mask inpainting..trash folder instead of being erased.pip install.Open Outfits & poses below the prompt box in the local studio. For first-time setup, see Download the libraries.
1. Pick an outfit. Filter for short summer dresses and select SUM-0039 to see the coral dress, woven bag and sandals together. Click Add as reference.
2. Try a different camera angle. These three previews show the same raised-leg pose, P024, from the front, from the side and from above. Add the high-angle view as image 2.
3. Tell the AI how to use each image. The composer numbers references as you add them. Here image 1 supplies the outfit and image 2 supplies the pose and camera angle for a 9:16 street-style photo.
The outfit and pose artwork in these screenshots is credited to @giaaibusi.
New in v0.5.0. The first time you open the local workbench, a banner offers 1,407 outfits and 288 pose groups with 1,439 angle images. After the download choice has been visible for 20 seconds, the studio starts fetching the missing libraries from their upstream GitHub repositories. Both together take about 820 MB to download. Allow 1.7 GB of free space during setup.
~/Pictures/gpt-image-libraries. Set GPT_IMAGE_LIBRARY_DIR before startup to choose another drive, or GPT_IMAGE_AUTO_DOWNLOAD=0 to skip automatic downloads in advance. A standalone GitHub Pages session uses browser mode. To install libraries, launch the local service.reference-libraries.local.json next to config.json, with outfits.root and/or poses.root. Configured libraries take precedence. Outfits use category/subcategory/ID.webp. Poses use type/category/pose group/angle_ID.png. The optional thumbnails folder mirrors those paths using WebP for outfits and JPG for poses. Configuration example.Each download comes from a pinned upstream revision, is checked before installation and keeps its source license. The studio's MIT license covers the studio code. The outfit source sets separate terms for repackaging the images. The pose source designates its images and original data for non-commercial use only and credits @giaaibusi. Outfit source and asset terms · Pose source and terms.
git clone https://github.com/konglingbukong/gpt-image-studio ~/.claude/skills/gpt-image
start.bat (Windows) or sh start.sh (macOS / Linux). Your browser opens http://127.0.0.1:8765.You can also provide the key through the OPENAI_API_KEY environment variable, or in config.json (see config.example.json; config.json is git-ignored).
Open https://konglingbukong.github.io/gpt-image-studio/ and enter your key in Settings. The page runs in browser mode: your key and images stay in your browser, and the browser talks to OpenAI directly with no third-party server in between.
Pick whichever of these your agent supports:
① MCP (supported by most agents). Register scripts/mcp_server.py to enable generate_image, check_connection, get_spending and sync_balance. Replace <path> with the folder you cloned:
claude mcp add gpt-image -- python <path>/scripts/mcp_server.py~/.codex/config.toml):
[mcp_servers.gpt-image]
command = "python"
args = ["<path>/scripts/mcp_server.py"]
mcpServers):
{ "mcpServers": { "gpt-image": { "command": "python", "args": ["<path>/scripts/mcp_server.py"] } } }
Try it. Set your OpenAI project key in the studio and sign in to the API dashboard in a browser your AI can access, such as Edge or Chrome. Tell the AI “sync my balance”. It reads API credit balance for the selected organization, verifies the organization against your key and reports the USD amount and time. If your browser asks for permission or sign-in, complete that prompt in the browser. Open the official billing page.
The sync runs when you ask. It works with the local workbench closed and appears the next time you open it. Between syncs, the workbench subtracts spending from the last recorded amount. Use an MCP client with access to your signed-in browser for this workflow. After updating an existing installation, reconnect the MCP server once to load the new tool.
② Skill folder. Agents that support the SKILL.md format (Codex, WorkBuddy …) can use this folder as a skill: drop it into their skills directory.
③ Instructions file. Any other agent that can run shell commands can follow AGENTS.md.
Whichever route you choose, images land in the same folder and show up live in the web workbench.
Verified: Claude Code, Codex (including the ChatGPT desktop app), WorkBuddy, Antigravity and DeepSeek Harness (dsh). The full list, per-agent setup notes, interface contracts and the steps for adding a new agent are in docs/INTEGRATIONS.md. If your agent isn't supported yet, open an "Integration request" issue, or wire it up yourself following CONTRIBUTING.md and send a PR.
Many people reach gpt-image through a relay / proxy service instead of OpenAI directly (one-api, new-api and similar). These work too:
/v1) and the relay's key in API Key. If the relay names the model differently (e.g. gpt-image-2.5), type that name in the model menu.moderation, output_format, background), turn on Send basic parameters only. The error message suggests this when it happens.GET /models.Command-line equivalents in config.json: "api_url", "api_key", "model", "minimal_params": true, "rates": {"per_image": 0.04}, "balance_source": "auto" | "relay" | "manual".
python scripts/gen.py --prompt-file prompt.txt --size "2K 16:9" --quality high --name cover
python scripts/gen.py --prompt "an orange cat" --size 1024x1024 --quality low
python scripts/gen.py --prompt-file p.txt --ref face.png --ref outfit.png --size "4K 9:16"
python scripts/gen.py --check # test key + network, free
python scripts/gen.py ... --json # one JSON line, for scripts and integrations
All parameters are documented in SKILL.md. Command-line messages are in English by default; set "lang": "zh" in config.json for Chinese.
Create rules.local.md in the skill folder and write down your own preferences, such as default specs and prompt habits. Agents read it before generating. It is git-ignored.
127.0.0.1 only and checks both Host and Origin. It accepts requests only from the local page and from the sites listed in allowed_origins in config.json, so other web pages can't use it to spend your money.Costs are calculated from the rates in config.json, in USD per 1M tokens. The defaults are gpt-image-2.5 prices at the time of writing: text input 5, image input 8, image output 30. If OpenAI changes its prices, update them under Settings → Pricing. The balance shown is an estimate; your OpenAI dashboard is the source of truth.
The UI layout is inspired by CookSleep/gpt_image_playground (MIT). The code was written independently.
The studio code is licensed under MIT. Downloaded images retain their upstream asset terms.