跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://docs.geekai.co/llms.txt

Use this file to discover all available pages before exploring further.

除了 Anthropic 以外,极客智坊还提供了针对 Gemini API 兼容的接口服务,以便在 Gemini CLI 等编程工具中使用,该接口目前仅支持 Gemini 系列模型 你可以通过 Gemini SDK 来调用这些模型,使用方法和调用 Anthropic 兼容模型类似,只需要将 Base URL 和 API KEY 替换成极客智坊的 Base URL 和 API KEY 即可,其他参数和调用方式与官方 Gemini API 保持一致:
curl https://geekai.co/api/v1beta/models/gemini-3-flash-preview:generateContent \
-H "content-type: application/json" \
-H "x-goog-api-key: $GEEKAI_API_KEY" \
-X POST \
-d '{
    "contents": [
      {
        "parts": [
          {
            "text": "Hello, Gemini"
          }
        ]
      }
    ]
  }'