You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configuration is injected through a .env file in the project root (copied from .env.example). .env.example is the authoritative, complete set with per-item comments; this page groups the most commonly used variables and their defaults by category for quick reference.
Runtime Environment and Paths
Variable
Default
Description
ST_EDITION
ce (forced by compose/image)
Edition identifier. CE mode cannot be downgraded.
NOVELVIDEO_DATA_ROOT
. (set to /data under Docker)
Data root directory; the three items below derive from it by default.
NOVELVIDEO_OUTPUT_DIR
$DATA_ROOT/output
Output directory for finished videos and artifacts. Docker Compose pins it to /data/output, which is persisted in the ce-data volume.
Used only by EE/distributed; CE runs tasks inline in-process, so leave empty.
Model Gateway
In CE, the selected channel, gateway address, and token are written by
Settings → Model Configuration to the local settings.db; they are not
configured through environment variables. The official channel has a fixed
address, while the local channel uses the NewAPI bundled with CE.
Variable
Default
Description
NEWAPI_TEXT_TIMEOUT_SECONDS
120
HTTP timeout for text models (seconds).
NEWAPI_TEXT_TRUST_ENV
true
Whether the text client reads the system proxy; set false when an internal gateway is being blocked by a proxy.
About 30 *_MODEL logical model names (e.g. HERMES_MODEL=DC-hermes-LLM) map to real upstream models. Configure Local NewAPI mappings in the web UI—see Configuring Model Providers.
Reference Media Relay (optional)
Variable
Description
OSS_RELAY_AK / OSS_RELAY_SK
Object storage credentials required by the reference-image feature. A pure-text → video flow can skip these.
OSS_RELAY_ENDPOINT / OSS_RELAY_BUCKET
Relay endpoint and bucket.
Video / Image Parameters
Variable
Default
Description
VIDEO_FPS
30
Frame rate.
VIDEO_WIDTH / VIDEO_HEIGHT
1080 / 1920
Portrait resolution.
VIDEO_CODEC
libx264
Video codec (H.264); the ffmpeg build must include this encoder, see the ffmpeg guide.