Default prompt subject
A ginger cat driving a blue convertible with a blue merle Australian Shepherd as the passenger, both facing forward, car moving from right to left, medium-wide shot
Set environment variable to define the default prompt subject:
CONFIG_DEFAULT_PROMPT_SUBJECT
AI model for prompt generation
halfred:standard
Set environment variable to define the AI model for prompt generation:
CONFIG_AI_MODEL_PROMPT_GENERATION
AI models for image generation
openai:gpt-image-1.5,openai:gpt-image-1,openai:gpt-image-1-mini,openai:dall-e-3,gemini:gemini-2.5-flash-image
Set environment variable to comma-separated list of AI models for image generation:
CONFIG_AI_MODELS_IMAGE_GENERATION
AI models for P0 image generation
openai:gpt-image-1.5
Set environment variable to comma-separated list of AI models for P0 image generation (one model from this list will be prioritized when randomly selecting models):
CONFIG_AI_MODELS_IMAGE_GENERATION_P0
Testing database connection
Postgres: connected
Testing storage connection
Vercel Blob: connected
Setup auth
Store auth secret in environment variable:
AUTH_SECRET
Setup admin user
Store admin email/password in environment variables:
ADMIN_EMAIL
ADMIN_PASSWORD
Configure language
en-us
Store in environment variable (check README for supported languages):
NEXT_PUBLIC_LOCALE
Configure domain
promptstyle.dev
Store in environment variable (used in explicit share urls, seen in nav if no title is defined):
NEXT_PUBLIC_DOMAIN
Meta title
Free AI Style Gallery for Image Prompting
Store in environment variable (seen in search results and browser tab):
NEXT_PUBLIC_META_TITLE
Meta description
promptstyle.dev
Store in environment variable (seen in search results):
NEXT_PUBLIC_META_DESCRIPTION
Nav title
promptstyle.dev
Store in environment variable (replaces domain in top-right nav):
NEXT_PUBLIC_NAV_TITLE
Nav caption
Store in environment variable (seen in top-right nav, under title):
NEXT_PUBLIC_NAV_CAPTION
Page about
Store in environment variable (seen in sidebar):
NEXT_PUBLIC_PAGE_ABOUT
Static optimization
Set environment variable to "1" to make site more responsive by enabling static optimization (i.e., rendering pages and images at build time):
NEXT_PUBLIC_STATICALLY_OPTIMIZE_PHOTOS
NEXT_PUBLIC_STATICALLY_OPTIMIZE_PHOTO_OG_IMAGES
NEXT_PUBLIC_STATICALLY_OPTIMIZE_PHOTO_CATEGORIES
NEXT_PUBLIC_STATICALLY_OPTIMIZE_PHOTO_CATEGORY_OG_IMAGES
Preserve original uploads
Set environment variable to "1" to prevent image uploads being compressed before storing:
NEXT_PUBLIC_PRESERVE_ORIGINAL_UPLOADS
Image quality: 75
Set environment variable from "1-100" to control the quality of large photos ("100" represents highest quality/largest size):
NEXT_PUBLIC_IMAGE_QUALITY
Image blur
Set environment variable to "1" to prevent image blur data being stored and displayed:
NEXT_PUBLIC_BLUR_DISABLED
Visibility and ordering
1.recents
2.albums
3.tags
4.providers
5.models
* years
Configure order and visibility of categories (seen in grid sidebar and CMD-K results) by storing comma-separated values (default: "recents,​albums,​tags,​providers,​models"):
NEXT_PUBLIC_CATEGORY_VISIBILITY
Show on mobile
Set environment variable to "1" to prevent categories displaying on mobile grid view:
NEXT_PUBLIC_HIDE_CATEGORIES_ON_MOBILE
Show image hovers
Set environment variable to "1" to prevent images displaying when hovering over category links:
NEXT_PUBLIC_HIDE_CATEGORY_IMAGE_HOVERS
Collapsible sidebar
Set environment variable to "1" to always show expanded category content
NEXT_PUBLIC_EXHAUSTIVE_SIDEBAR_CATEGORIES
Hide tags with only 1 photo
Set environment variable to "1" to only show tags with 2 or more photos
NEXT_PUBLIC_HIDE_TAGS_WITH_ONE_PHOTO
Default order
taken-at (default)
taken-at-oldest-first
uploaded-at
uploaded-at-oldest-first
Change default sort on grid/full homepages
NEXT_PUBLIC_DEFAULT_SORT
Nav sort control: none
Set environment variable to "none", "toggle" (default), or "menu", to control sort UI on grid/full homepages:
NEXT_PUBLIC_NAV_SORT_CONTROL
Priority-based
Set environment variable to "1" to take priority field into account when sorting photos (enabling may have performance consequences):
NEXT_PUBLIC_PRIORITY_BASED_SORTING
Show keyboard shortcut tooltips
Set environment variable to "1" to hide keyboard shortcut tooltips in areas like the main nav, and previous/next photo links:
NEXT_PUBLIC_HIDE_KEYBOARD_SHORTCUT_TOOLTIPS
Show EXIF data
Set environment variable to "1" to hide EXIF data:
NEXT_PUBLIC_HIDE_EXIF_DATA
Show zoom controls
Set environment variable to "1" to hide fullscreen photo zoom controls:
NEXT_PUBLIC_HIDE_ZOOM_CONTROLS
Show taken at time
Set environment variable to "1" to hide taken at time from photo meta:
NEXT_PUBLIC_HIDE_TAKEN_AT_TIME
Show repo link
Set environment variable to "1" to hide footer link:
NEXT_PUBLIC_HIDE_REPO_LINK
Grid homepage
Set environment variable to "1" to show grid layout on homepage:
NEXT_PUBLIC_GRID_HOMEPAGE
Grid aspect ratio: 1
Set environment variable to any number to enforce aspect ratio (default is "1", i.e., square)—set to "0" to disable:
NEXT_PUBLIC_GRID_ASPECT_RATIO
Grid density: high
Set environment variable to "1" to ensure large thumbnails on photo grid views (if not configured, density is based on aspect ratio):
NEXT_PUBLIC_SHOW_LARGE_THUMBNAILS
Default theme: system
Set environment variable to 'light' or 'dark' to configure initial theme (defaults to 'system'):
NEXT_PUBLIC_DEFAULT_THEME
Photo matting
Set environment variable to "1" to constrain the size of each photo, and display a surrounding border:
NEXT_PUBLIC_MATTE_PHOTOS
Public downloads
Set environment variable to "1" to enable public photo downloads for all visitors:
NEXT_PUBLIC_ALLOW_PUBLIC_DOWNLOADS
Social networks
1.bluesky
2.x
* threads
* facebook
* linkedin
Configure order and visibility of social networks (seen in share modal) by storing comma-separated values (accepts "all" or "none", defaults to "bluesky,​x")
NEXT_PUBLIC_SOCIAL_NETWORKS
Site feeds (JSON/RSS)
Set environment variable to "1" to enable feeds at /feed.json and /rss.xml:
NEXT_PUBLIC_SITE_FEEDS
Legacy OG text alignment
Set environment variable to "BOTTOM" to keep OG image text bottom aligned (default is "top"):
NEXT_PUBLIC_OG_TEXT_ALIGNMENT
Custom page scripts
Set environment variable to comma-separated list of URLs to be added to the bottom of the body tag via "next/script":
PAGE_SCRIPT_URLS
Debug outputs
Set environment variable to "1" to disable build identifier and admin configuration export:
DISABLE_DEBUG_OUTPUTS
Changes to environment variables require a new deployment to take effect