
oakplank/gpt-image-bridge
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Codex CLI를 통해 OpenAI의 gpt-image-2에 Bridging하여 Claude Code 이미지를 생성합니다. ChatGPT 하위, API 키가 없습니다.
개요
OpenAI의 gpt-image-2로 이미지를 생성하여 CLI 코딩 에이전트에서 codex CLI를 통해 브리징합니다. ChatGPT 구독 사용 — 브리지는 독립 배쉬 스크립트입니다. Claude Code, Cursor, Gemini CLI, aider 또는 Shell 명령을 실행할 수있는 다른 에이전트가 호출 할 수 있습니다. Claude Code 그냥 좋은 인체 공학적을 얻고, 포함 된 설치 프로그램은 기술으로 등록하기 때문에 Claude는 그것을 unprompted. 어떤 디자인 기술(Lonxlnx/taste-skill의 이미지-taste-frontend 기술과 같은) 또는 에이전트가 그림을 생산할 필요가 있을 때 자체에 작동합니다. 코딩 에이전트는 이미지 생성 도구로 배송하지 않습니다. 이것은 기존 ChatGPT 인증을 사용하여 gpt-image-2를 호출하고 요청한 PNG를 복사하는 코드 실행에 쉘을 쉘이 얇은 bash 래퍼를 추가합니다. 귀하의 에이전트는 PNG 백업을 컨텍스트로 읽습니다. Codex는 sandboxed를 실행하고 자체 작업 디렉토리 내부에 만 쓸 수 있으므로 개인 임시 직원 dir에 고정하고 최종 사본 자체를 수행합니다.
개요(AI 번역)
OpenAI의 GPT Image 2.5를 사용하여 CLI 코딩 에이전트에서 codex] CLI를 통해 이미지를 생성합니다. ChatGPT 구독을 사용하여 —no API 키 필요, per-image billing.
브리지는 독립 배쉬 스크립트입니다. Claude Code, Cursor, Gemini CLI, aider 또는 Shell 명령을 실행할 수있는 다른 에이전트가 호출 할 수 있습니다. Claude Code 그냥 좋은 인체 공학적을 얻고, 포함 된 설치 프로그램은 기술으로 등록하기 때문에 Claude는 그것을 unprompted.
어떤 디자인 기술(image-taste-frontend과는 달리, Leonxlnx/taste-skill의 기술) 또는 에이전트가 그림을 생성해야 할 때 자체에 작동합니다.
그것이 무엇인지
이것은 기존 ChatGPT 인증을 사용하여 codex exec]]를 호출하고, 기존 ChatGPT 인증을 사용하여 image_generation] 도구를 사용하여 이미지 생성을 추가하고 PNG를 복사합니다. 귀하의 에이전트는 PNG 백업을 컨텍스트로 읽습니다.
OpenAI의 Images 2.5 발표에는 Codex의 가용성이 포함되어 있습니다. Bridge는 Codex가 제공하는 이미지 모델을 사용합니다. 특정 백엔드 모델을 선택하거나 확인하지 않습니다. executable은 여전히 gpt-image-2]라는 이름으로 기존의 설치 및 스크립트와 호환됩니다.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
gpt-image-bridge
Generate images with OpenAI’s GPT Image 2.5 from a CLI coding agent by bridging through the codex CLI. Uses your ChatGPT subscription — no API key required, no per-image billing.
The bridge is a standalone bash script — Claude Code, Cursor, Gemini CLI, aider, or any other agent that can run a shell command can call it. Claude Code just gets the nicest ergonomics, because the included installer registers it as a skill so Claude reaches for it unprompted.
Works with any design skill (like the image-taste-frontend skill from Leonxlnx/taste-skill) or on its own whenever your agent needs to produce a picture.
What it is
This adds image generation to coding agents through a thin bash wrapper that shells out to codex exec, calls its image_generation tool using your existing ChatGPT authentication, and copies the PNG where you asked. Your agent then reads the PNG back into context.
OpenAI’s Images 2.5 announcement includes availability in Codex. The bridge uses the image model provided by Codex; it does not select or verify a particular backend model. The executable is still named gpt-image-2 for compatibility with existing installs and scripts. That filename does not pin generation to GPT Image 2.
your agent ──shell──▶ gpt-image-2 wrapper ──codex exec──▶ image_generation
│ │
read PNG ◀── copies to your ◀──── out.png in a ◀────┘
output path private temp dir
Codex runs sandboxed and can only write inside its own working directory, so the wrapper points it at a private temp dir and performs the final copy itself. That keeps arbitrary output paths (and Windows paths) working reliably.
Prerequisites
- Any coding agent that can run shell commands — Claude Code, Cursor, Gemini CLI, aider, or your own script
codexCLI installed (brew install codexon macOS,npm install -g @openai/codexanywhere)- A ChatGPT subscription (Plus / Pro / Team) logged in via
codex login - macOS, Linux, or Windows — the wrapper is bash, which on Windows runs under Git Bash (the shell Claude Code already uses there) or WSL
Verify:
codex login status # should say: Logged in using ChatGPT
codex features list | grep image_generation # should be: stable true
Install
Claude Code
git clone https://github.com/oakplank/gpt-image-bridge.git
cd gpt-image-bridge
./install.sh
추천 도구
다른 키워드를 입력하거나 필터를 제거해 보세요.
설치
npx skillfish add oakplank/gpt-image-bridge