Gemini CLI with gpt88.cc
Use Gemini CLI and Google image models through gpt88.cc.
Configuration
setuptext
BASE_URL=https://img.gpt88.cc
API_KEY=your-gpt88-api-key
MODEL=gemini-3-pro-image-preview
Image generation uses the native Gemini generateContent endpoint.Image endpoint test
gemini-image-test.shbash
curl -s -X POST \
"https://img.gpt88.cc/v1beta/models/gemini-3-pro-image-preview:generateContent" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"contents": [{"parts": [{"text": "Generate a 1:1 tech-style icon with no text"}]}],
"generationConfig": {
"responseModalities": ["TEXT", "IMAGE"],
"imageConfig": {
"aspectRatio": "1:1",
"imageSize": "1K"
}
}
}'Notes
- For image generation, use the media Base URL
https://img.gpt88.cc. - Aspect ratios must use Gemini-supported values such as
1:1,16:9, or9:16. - Image sizes use uppercase values such as
1K,2K, and4K.