Skip to content

Gemini FAQ

Why is Gemini CLI failing to connect?

Check the following:

  1. Make sure your environment variables or config files are set correctly:
bash
echo $GEMINI_API_KEY
# Should show your token
  1. Confirm that your token group includes Gemini models

Why does image generation fail?

model-go currently offers gpt-image-2 for image generation. If Gemini CLI image generation fails:

  • Confirm you are using the API path described in the GPT-Image-2 guide
  • Confirm your account has enough balance
  • Check whether the prompt violates the usage policy

Why is the Chinese response quality inconsistent?

If response quality feels inconsistent, try:

  • Using more specific Chinese prompts
  • Explicitly asking for Chinese output in the prompt
  • Switching to a model that better fits Chinese workloads from the Models page