ReadonlyactiveReadonlyanthropicAnthropic API key — used when provider is 'anthropic'.
Optional ReadonlyanthropicAnthropic workspace id, sent as the anthropic-workspace-id header for keys not scoped to a workspace.
ReadonlyapiOpenAI API key — used when provider is 'openai'.
ReadonlyasyncWhen true, submit images to provider's async batch API and exit; use --resume to collect.
Optional ReadonlyazureAzure OpenAI API key — required when provider is 'azure'. Overrides AZURE_OPENAI_API_KEY env var.
Optional ReadonlyazureAzure OpenAI endpoint URL — required when provider is 'azure'. Example: https://my-resource.openai.azure.com/
ReadonlybatchOptional ReadonlybedrockAWS access key ID for Bedrock (overrides AWS_ACCESS_KEY_ID env var)
Optional ReadonlybedrockAWS region for Bedrock (default: us-east-1)
Optional ReadonlybedrockAWS secret access key for Bedrock (overrides AWS_SECRET_ACCESS_KEY env var)
Optional ReadonlycategoriesReadonlycategoryReadonlycloudCloud provider to use for tier-2 escalation in hybrid mode. Default: 'openai'.
ReadonlyconcurrencyMax concurrent API batch calls in-flight at once. Default: 3.
Optional ReadonlyconsensusTwo provider names for multi-model consensus, e.g. ['openai', 'anthropic'].
When set, both providers analyse every batch and majority vote decides the category.
Disagreements are flagged with lowConsensus: true on the ProcessedResult.
ReadonlyconsensusMinimum majority ratio (0–1) needed for temporal consensus override. Default: 0.6.
ReadonlydedupeHamming distance threshold for perceptual-hash deduplication (0–64). 0 disables deduplication. Default: 8 (~12.5% bit difference).
ReadonlydelayReadonlydryReadonlyembedWhen true, generate text embeddings for each image after analysis and write analysis_embeddings.index.json. Requires a supported embedding provider.
ReadonlyestimateWhen true, print cost estimate and exit without making API calls.
ReadonlyfilenameOutput filename template. Must contain {n} or {n:N}. Tokens: {n} or {n:N} — sequence number, zero-padded to N digits (default 3) {category} — image category slug {description} — LLM description as a URL-safe slug {date} — DD-MM-YYYY (legacy shorthand) {date:FORMAT} — custom date: YYYY YY MM DD M D {datetime} — DD-MM-YYYY_HH-MM (legacy shorthand) {datetime:FORMAT} — custom datetime: adds HH H mm m ss s
ReadonlyforceWhen true, skip analysis even if categories.json changed (suppresses hash-mismatch warning).
ReadonlygoogleGoogle AI API key — used when provider is 'google'.
ReadonlyinputReadonlyinteractiveWhen true, enter interactive review mode between analysis and processing. Requires a TTY.
ReadonlylearnWhen true, inject override patterns from previous runs into the batch prompt as few-shot examples.
ReadonlylinkWhen true, run cross-image linking pass to identify related image pairs.
ReadonlylinkTime window in days for grouping images in the linking pass. Default: 7.
ReadonlylocalConfidence threshold below which images are escalated to the cloud tier in hybrid mode. Default: 0.70.
ReadonlylocalOllama model for the local tier-1 pass in hybrid mode. Default: 'llava'.
ReadonlylogLog format: 'pretty' renders coloured text; 'json' emits one JSON object per line to stdout/stderr.
ReadonlymaxNumber of retries after the first attempt, not the number of attempts:
0 means a single attempt, 3 means up to 4 attempts (see attemptsFor).
ReadonlymodelOptional ReadonlyollamaOllama server base URL — required when provider is 'ollama'. Default: http://localhost:11434
Optional ReadonlyoutputCloud storage bucket URI for output files, e.g. s3://my-bucket/prefix, gs://my-bucket/prefix, azblob://container/prefix When set, FileRepository adapts to the matching cloud provider.
ReadonlyoutputReadonlyoutputReadonlypluginsPaths to plugin .mjs files loaded via --plugin (repeatable).
ReadonlyproviderReadonlyquietReadonlyresumeWhen true, poll an existing async batch job from analysis_job.json until complete, then process.
ReadonlyretryReadonlyselfWhen true, run a self-critique pass that flags suspicious classifications for reanalysis.
Optional ReadonlysessionSplit images into sessions at gaps larger than this many minutes. Undefined disables session reconstruction. Default when enabled: 60.
ReadonlyskipReadonlytemporalTemporal cluster window in minutes. Images within this window are grouped. Default: 5.
ReadonlytimingWhen true, print per-step wall-time breakdown in the run summary.
ReadonlyverboseOptional ReadonlyvertexGoogle Cloud location for Vertex AI (default: us-central1)
Optional ReadonlyvertexGoogle Cloud project ID for Vertex AI (overrides GOOGLE_CLOUD_PROJECT env var)
ReadonlywatchWhen true, watch inputDir for new images and process them incrementally.
ReadonlywatchWhen true, use polling for file watching (required on NFS/SMB mounts).
Optional ReadonlywebhookOptional URL to POST the full AnalysisCache JSON to after each successful run.
When true, write active_learning_queue.json after each run listing images with confidence < 0.5 or category === 'unknown' that need human review.