SpinForge AI — Configuration
Configure SpinForge AI using environment variables and the provided .env example.
SpinForge AI is configured through environment variables. The repository ships an
.env.example file — copy it and adjust values for your environment.
cp .env.example .env
Common settings
FLASK_ENV— set toproductionfor production deployments.
For the complete, authoritative list of supported variables, refer to
.env.examplein the repository, as configuration options may evolve between versions.
Writable directories
In production, ensure the following directories exist and are writable:
uploads/
outputs/
outputs/frames/
data/
Encoding
SpinForge AI encodes H.264 MP4 with yuv420p and faststart via FFmpeg. When FFmpeg
is not available on the host, an OpenCV fallback encoder is used automatically.