53 lines
1.8 KiB
Plaintext
53 lines
1.8 KiB
Plaintext
# Generate a random secret: https://generate-secret.vercel.app/32 or `openssl rand -base64 32`
|
||
AUTH_SECRET=****
|
||
|
||
# The following keys below are automatically created and
|
||
# added to your environment when you deploy on Vercel
|
||
|
||
# Instructions to create an AI Gateway API key here: https://vercel.com/ai-gateway
|
||
# API key required for non-Vercel deployments
|
||
# For Vercel deployments, OIDC tokens are used automatically
|
||
# https://vercel.com/ai-gateway
|
||
AI_GATEWAY_API_KEY=****
|
||
|
||
|
||
# Instructions to create a Vercel Blob Store here: https://vercel.com/docs/vercel-blob
|
||
BLOB_READ_WRITE_TOKEN=****
|
||
|
||
# Instructions to create a PostgreSQL database here: https://vercel.com/docs/postgres
|
||
POSTGRES_URL=****
|
||
|
||
|
||
# Instructions to create a Redis store here:
|
||
# https://vercel.com/docs/redis
|
||
REDIS_URL=****
|
||
|
||
# DashScope / 通义千问配置
|
||
# 请求地址(阿里云 DashScope OpenAI 兼容接口)
|
||
DASHSCOPE_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
|
||
|
||
# API Key(请在本地 .env.local 和 服务器环境中填写真实值,不要把真实 Key 提交到代码仓库)
|
||
DASHSCOPE_API_KEY=your-dashscope-api-key
|
||
|
||
# 第三方 GPT5 提供方配置(OpenAI 兼容接口)
|
||
# API 基础地址(例如:https://api.huandutech.com)
|
||
GTP5_API_URL=https://api.huandutech.com
|
||
|
||
# API Key(请在本地 .env.local 和 服务器环境中填写真实值,不要把真实 Key 提交到代码仓库)
|
||
GTP5_API_KEY=your-gtp5-api-key
|
||
|
||
# 模型名称(例如:gpt-5-nano)
|
||
GTP5_MODEL=gpt-5-nano
|
||
|
||
# Stripe 订阅支付配置
|
||
# 后端服务端密钥(sk_live / sk_test)
|
||
STRIPE_SECRET_KEY=sk_test_xxx
|
||
|
||
# Stripe Webhook 签名密钥(whsec_...)
|
||
STRIPE_WEBHOOK_SECRET=whsec_xxx
|
||
|
||
# 不同套餐对应的 Stripe Price ID
|
||
STRIPE_PRICE_ID_BASIC=price_xxx_basic
|
||
STRIPE_PRICE_ID_PRO=price_xxx_pro
|
||
STRIPE_PRICE_ID_ULTIMATE=price_xxx_ultimate
|