Presenton can be customized and secured using environment variables. These variables control access, integrations, and model providers.
CAN_CHANGE_KEYS
Controls whether users can view or modify API keys via the interface.
Set to "false"
to keep keys hidden and locked, or "true"
to allow modification.
Example:
LLM
Select the Large Language Model (LLM) provider to use.
Supported values: "openai"
, "google"
, "anthropic"
, "ollama"
, "custom"
Example:
IMAGE_PROVIDER
Select the Image provider to use.
Supported values: "pexels"
, "dall-e-3"
, "gemini_flash"
, "pixabay"
Example:
DATABASE_URL
(optional)
Defines the external database connection URL.
If not provided, the application will default to using SQLite for local storage.
Supports both PostgreSQL and MySQL connection strings.
Examples:
WEB_GROUNDING
(Optional)
Uses web search and other tools to improve presentation quality.
Supported LLM: "openai"
, "google"
, "anthropic"
Example:OPENAI_API_KEY
Required if LLM="openai"
Example:
OPENAI_MODEL
(Optional)
Defaults to gpt-4.1
if not specified
Example:
GOOGLE_API_KEY
Required if LLM="google"
Example:
GOOGLE_MODEL
(Optional)
Defaults to models/gemini-2.0-flash
if not specified
Example:
⚠️ Image generation is not supported in EU regions with Google.
ANTHROPIC_API_KEY
Required if LLM="anthropic"
Example:
ANTHROPIC_MODEL
(Optional)
Defaults to claude-3-5-sonnet-20241022
if not specified
Example:
OLLAMA_URL
(Optional)
URL of your custom Ollama server. Useful if you’re self-hosting.
Example:
OLLAMA_MODEL
Required if LLM="ollama"
Example:
CUSTOM_LLM_URL
Required if LLM="custom"
Example:
CUSTOM_LLM_API_KEY
(Optional)
if LLM="custom"
Example:
CUSTOM_MODEL
Required if LLM="custom"
Example:
TOOL_CALL
(Optional)
if LLM="custom"
, Uses Tool Call for structured outputs instead of Json Schema.
Example:
DISABLE_THINKING
(Optional)
if LLM="custom"
, Disables thinking for Custom Models.
Example:
.env
template too.
PEXELS_API_KEY
(Optional) Used to fetch high-quality stock images from Pexels.
Example:
OPENAI_API_KEY
(Optional) Used to generate images using DALL·E 3 via the OpenAI API.
Example:
GOOGLE_API_KEY
(Optional) Used to access Gemini Flash Image.
Example:
PIXABAY_API_KEY
(Optional) Used to fetch stock images from Pixabay.
Example: