Image Studio

Image Studio

Generate images directly inside Claude, billed to your own ChatGPT plan, no API keys.

How It Works

You run a tiny local connector on your machine; Claude calls it when you ask for an image; the image comes from your own ChatGPT subscription. No API keys, no shared account. It works in the Claude Desktop app and Claude Code CLI, not in claude.ai in the browser.

Setup

1. Prerequisites

Node.js 18 or later, and an active ChatGPT plan.

Sign in once from a terminal. This creates the local login the connector reuses, so Claude never needs your credentials or an API key.

Terminal
npx @openai/codex login

2. Download the Connector

A single file, nothing to install.

Save it somewhere stable (e.g. your home folder). You will point Claude at this file’s path in the next step.

Download mcp-server.mjs

3. Add It to Claude

Choose the surface you use. Both point at the same file.

Run this from a terminal, using the absolute path where you saved the file (keep the quotes on Windows):

Terminal
claude mcp add image-studio -- node "C:\path\to\mcp-server.mjs"

4. Use It

In any chat, ask Claude to “generate an image of …”. Claude calls the generate_image tool with a prompt, a size (square, landscape, or portrait), and a quality (auto, low, medium, or high), and shows the result inline.

Troubleshooting

If it reports that the session expired, run npx @openai/codex login again to refresh the local login.

This relies on an unofficial use of the ChatGPT backend, so behavior can change without notice.