.env.example 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # Environment variables — secrets and endpoint URLs only.
  2. # Copy this file to .env and fill in values.
  3. # Model, voice, and other business settings go in config/default.yaml or CLI flags.
  4. #
  5. # In Docker, docker-compose.yml reads this file and substitutes the values below
  6. # into the container's environment — you do NOT need a .env inside the image.
  7. # --- LLM ---
  8. OPENAI_API_KEY=
  9. OPENAI_BASE_URL=
  10. # --- TTS: OpenAI-compatible (default provider) ---
  11. OPENAI_TTS_API_KEY=
  12. OPENAI_TTS_BASE_URL=
  13. # OPENAI_TTS_MODEL=seed-tts-1.1
  14. # TTS retry count on transient failures (network error / 429 / 5xx). Default 3; 0 disables.
  15. # TTS_MAX_RETRIES=3
  16. # --- TTS: Fish Audio ---
  17. FISH_AUDIO_API_KEY=
  18. # --- TTS: MiniMax ---
  19. MINIMAX_API_KEY=
  20. MINIMAX_GROUP_ID=
  21. # --- TTS: ElevenLabs ---
  22. ELEVENLABS_API_KEY=
  23. # --- Output ---
  24. # Unified output directory for CLI / HTTP / WebUI.
  25. # Leave empty to use config/default.yaml `output.dir` (default ./output, i.e. repo root /output).
  26. # In Docker this is forced to /app/output by docker-compose.
  27. # OUTPUT_DIR=/app/output
  28. # Auto-clean cached outputs older than N days (0 disables). Default 30.
  29. # OUTPUT_RETENTION_DAYS=30
  30. # Timezone for the github-trending cover date (首屏 + 开场口播) and the output
  31. # date subfolder, so the two never disagree and never roll over a day early in
  32. # a UTC container. Default Asia/Shanghai. Docker also sets TZ to this value.
  33. # TIMEZONE=Asia/Shanghai
  34. # --- Publish: Alibaba Cloud OSS ---
  35. # When region/bucket + keys are all present, rendered videos are uploaded and a
  36. # resource URL is returned. Leave blank to disable OSS upload.
  37. OSS_REGION=oss-cn-hangzhou
  38. OSS_BUCKET=
  39. OSS_ACCESS_KEY_ID=
  40. OSS_ACCESS_KEY_SECRET=
  41. # OSS_ENDPOINT=
  42. # OSS_PATH=videos/
  43. # OSS_PUBLIC_DOMAIN=
  44. # OSS_SECURE=true
  45. # --- Publish: Feishu (Lark) custom-bot webhook ---
  46. # When set, results / failures are pushed after each job.
  47. FEISHU_WEBHOOK_URL=
  48. # FEISHU_WEBHOOK_SECRET=
  49. # --- Service port (host port mapped to container 3000) ---
  50. PORT=13000