Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Google Gemini 模型 ID 和端点指南:通过 Gemini 兼容的 generateContent API 调用。
POST /v1beta/models/{model}:generateContent
gemini-3.8-flash
/v1beta/models/{model}:generateContent
gemini-4-argon
Authorization: Bearer
x-api-key
x-goog-api-key
from google import genai from google.genai import types import os key = os.environ["AISA_API_KEY"] client = genai.Client( api_key=key, http_options=types.HttpOptions(base_url="https://api.aisa.one", headers={"x-api-key": key}), ) response = client.models.generate_content(model="gemini-3.8-flash", contents="Explain vector databases in three sentences.") print(response.text)