add api key settings and agent docs

This commit is contained in:
2026-05-09 17:34:24 +08:00
parent 2563ab8f70
commit 57287cbc67
5 changed files with 444 additions and 44 deletions

View File

@@ -18,6 +18,9 @@ API_PORT="3002"
# When set, send Authorization: Bearer <token> or x-api-key: <token>.
API_AUTH_TOKEN=""
# API callers can also send a temporary Gemini key per request with:
# x-gemini-api-key: <Gemini API Key>
# Gemini model defaults used by the API service.
GEMINI_IMAGE_MODEL="gemini-3.1-flash-image-preview"
GEMINI_TEXT_MODEL="gemini-2.5-flash"