-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
50 lines (42 loc) · 1.7 KB
/
Copy path.env.example
File metadata and controls
50 lines (42 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Preferred CLI names
# mediascribe / mediascribe-transcriber / mediascribe-text
# Azure Speech (`--asr azure`)
AZURE_SPEECH_KEY=your-azure-speech-key
AZURE_SPEECH_REGION=your-azure-region
# When passing `-l/--language` with Azure, use a supported locale such as
# `zh-CN` or `en-US` instead of short codes like `zh` or `en`.
# Optional: use this instead of `AZURE_SPEECH_REGION` if you have a custom endpoint.
AZURE_SPEECH_ENDPOINT=
# Aliyun (`--asr aliyun`)
ALIYUN_ACCESS_KEY_ID=your-aliyun-access-key-id
ALIYUN_ACCESS_KEY_SECRET=your-aliyun-access-key-secret
ALIYUN_APPKEY=your-aliyun-appkey
# iFlytek (`--asr iflytek`)
IFLYTEK_APP_ID=your-iflytek-app-id
IFLYTEK_API_KEY=your-iflytek-api-key
# Local diarization / local ASR (`--asr local`)
# Local ASR uses more CPU / GPU / RAM than cloud ASR.
HF_TOKEN=hf_your_token_here
# Local summary model (default)
# Install Ollama first, then pull the model:
# ollama pull qwen2.5:3b
MEDIASCRIBE_LLM_MODEL=ollama/qwen2.5:3b
MEDIASCRIBE_LLM_API_BASE=http://localhost:11434
# Optional cloud summary providers
ANTHROPIC_API_KEY=your-anthropic-api-key
OPENAI_API_KEY=your-openai-api-key
GEMINI_API_KEY=your-gemini-api-key
DEEPSEEK_API_KEY=your-deepseek-api-key
# Remote video auth (yt-dlp)
YTDLP_COOKIES_FILE=
YTDLP_COOKIES_FROM_BROWSER=
YTDLP_SITE_COOKIE_MAP=
# Custom / third-party provider placeholders
# Copy `examples/custom_providers/mock_asr_provider.py` into
# `mediascribe/asr/providers/` and rename the token for your provider.
# MOCK_ASR_TOKEN=your-custom-asr-token
#
# Copy `examples/custom_providers/mock_summary_provider.py` into
# `mediascribe/summary/providers/` and route a model prefix there.
# Example custom summary model prefix:
# CUSTOM_SUMMARY_MODEL=my-summary/provider-v1