god-tibo-imagen
Generate images from text prompts (and optional reference images) by running
the gti CLI.
How to invoke
Use the gti command. It is installed globally via
npm install -g god-tibo-imagen and ships with this repo.
Basic generation
gti --prompt "flat blue square icon" --output ./out.png
With reference images
Pass --image <path> one or more times to use existing images as input.
gti --prompt "Make this cat wear a hat" --image ./cat.png --output ./cat-hat.png
gti --prompt "Combine these two styles" --image ./a.png --image ./b.png --output ./combined.png
Supported input formats: png, jpg/jpeg, gif, webp.
Output size
Pass --size <value> to control output dimensions.
gti --prompt "a sunset over mountains" --size 1536x1024 --output ./sunset.png
Allowed values:
auto(model decides)1024x1024,2048x2048(square)1536x1024,2048x1152,3840x2160(landscape)1024x1536,2160x3840(portrait)
Dry run
Validate auth and print the request without making a network call.
gti --prompt "flat blue square icon" --dry-run
Required arguments
--prompt <text>— required text prompt--output <path>— output PNG path (required for live runs)
Prerequisites the agent must check
gtiis onPATH(npm install -g god-tibo-imagenif missing).- The user has Codex ChatGPT auth at
~/.codex/auth.jsonwithauth_mode = chatgpt. If it is missing, stop and tell the user — do not try to install Codex or fabricate auth state.
After running
gti saves the PNG to --output and prints a JSON summary that includes
savedPath. Report savedPath back to the user.