Skip to content

v0.2.1 - Go CLI

Choose a tag to compare

@JacobStephens2 JacobStephens2 released this 31 Jul 03:03
ec2ff4d

First release of gpt-image as a Go binary (no Python runtime).

Highlights

  • Single static binary for generate, edit, batch, and hair-color
  • Default model: gpt-image-2
  • Estimated USD cost from Images API usage tokens
  • Retries with backoff; stderr progress heartbeats on long runs
  • --timeout (default 300s), --quiet, --no-cost, --api-key-file

Install

Download the binary for your platform below, then:

chmod +x gpt-image-linux-amd64   # or your platform asset
sudo mv gpt-image-linux-amd64 /usr/local/bin/gpt-image
export OPENAI_API_KEY="..."
gpt-image version

Or with Go 1.22+:

go install github.com/JacobStephens2/gpt-image/cmd/gpt-image@v0.2.1

Assets

File Platform
gpt-image-linux-amd64 Linux x86_64
gpt-image-linux-arm64 Linux arm64
gpt-image-darwin-amd64 macOS Intel
gpt-image-darwin-arm64 macOS Apple Silicon
gpt-image-windows-amd64.exe Windows x86_64
SHA256SUMS checksums

Site: https://stephens.page/gpt-image/