Goodtake AI

CLI Overview

Install gt and generate AI images from your terminal

Install

npm install -g @goodtake/cli

Requires Node.js ≥ 18.

Authenticate

gt auth login

This opens your browser and runs the OAuth device flow. After login, your API key is stored in ~/.goodtake/config.json (mode 0600).

gt auth status    # check current key, org, and credit balance

Your first image

gt generate image -m gpt-image-2 -p "a red fox sitting in snow, photorealistic"

The CLI submits the job, polls for the result, and downloads the image to ./goodtake-output/<id>.png.

More options

gt generate image \
  -m seedream-4-5-251128 \
  -p "neon city street at night" \
  -a 16:9 \
  -o city.png
FlagDescription
-m, --modelModel identifier or fuzzy name (e.g. flux, seedream)
-p, --promptText prompt
-a, --aspect-ratioe.g. 16:9, 1:1, 9:16
-r, --resolutione.g. 2k, 4k
-oOutput file path
--reference <url>Reference image URL (repeatable)
--no-downloadPrint URL only, skip download

See the full Commands reference for all flags.

Model names are fuzzy-matched — --model flux resolves to the best available flux model. Run gt models list to see exact identifiers.

On this page