Configuration
CLI flags override everything in summarizer.yaml. Use --no-config to ignore the config file entirely.
Providers (summarizer.yaml)
Define your LLM providers and defaults. See summarizer.example.yaml for a complete starter file.
Key defaults explained
output-language:auto,none, or a human-readable name likeItalian,Spanish,German,Japanese.speed: Playback speed for audio preprocessing before Whisper and for visual-mode video in base64 mode. Faster transcription is cheaper on Groq (priced by audio duration) but may reduce accuracy. The API accepts values up to10.0; the CLI accepts any positive value.cache-transcript: falsedisables the transcript cache entirely.cache-transcript-persist: truestores transcripts on disk under{output-dir}/.cache/transcripts/(survives restarts).keep-history: truepersists GUI summaries to disk for the Streamlit sidebar.visual-input-mode: urlon a provider sends YouTube URLs directly to the model without downloading (see Visual Mode).- Docker: use
summarizer.docker.yamlor setSUMMARIZER_KEEP_HISTORY/SUMMARIZER_CACHE_PERSISTwhen a YAML key is omitted.
The legacy audio-speed / audio_speed keys are no longer supported. Use speed instead.
API Keys (.env)
API Key Lookup
The app resolves API keys in this order:
- Explicit
--api-keyflag - Provider
api_keyfield insummarizer.yaml .envfile matched by URL keyword (e.g.,generativelanguagefor Google AI Studio).envfile matched by conventional env var name (e.g.,NVIDIA_API_KEY,GOOGLE_API_KEY,OPENAI_API_KEY)
If a key is missing, the error message lists all acceptable .env keys for that provider.