File size: 871 Bytes
7f79e82 14034e2 0247547 cd1b439 326eac3 cd1b439 2494936 e85bfe9 cd1b439 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | FROM ghcr.io/dayuanjiang/next-ai-draw-io:latest
ENV ACCESS_CODE_LIST=dsw
ENV AI_PROVIDER google
ENV GOOGLE_BASE_URL https://generativelanguage.googleapis.com/v1beta
ENV AI_MODEL gemini-3-flash-preview
ENV GOOGLE_GENERATIVE_AI_API_KEY AIzaSyBV-UZd_aUjHjRb4R_cNHBtAhGPjoYf4DU
ENV GOOGLE_CANDIDATE_COUNT 1 # Optional: Number of candidates to generate
ENV GOOGLE_TOP_K 40 # Optional: Top K sampling parameter
ENV GOOGLE_TOP_P 0.95 # Optional: Nucleus sampling parameter
# Note: Gemini 2.5/3 models automatically enable reasoning display (includeThoughts: true)
ENV GOOGLE_THINKING_BUDGET 8192 # Optional: Gemini 2.5 thinking budget in tokens (for more/less thinking)
ENV GOOGLE_THINKING_LEVEL high # Optional: Gemini 3 thinking level (low/high)
ENV PORT 7860
EXPOSE 7860
|