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
model_type = "append"# Can be pipeline, append, merge
4
+
5
+
# WARNING!: If you choose "deploy" local inference:
6
+
# 1. Please check the VRAM requirements twice!
7
+
# 2. Please make sure you have installed the Nvidia GPU driver and can check the cuda via `nvcc -V`!
8
+
# WARNING!: If you choose "api":
9
+
# due to the limitation of free tier, you should keep every video less than 30 minutes(around)
10
+
# which means your MODEL_TYPE should not be "merge".
11
+
[asr]
12
+
asr_method = "none"# can be "deploy" or "api" or "none"
13
+
whisper_api_key = ""# Apply for your own API key at https://console.groq.com/keys
14
+
inference_model = "small"# If you choose "deploy", you should download the inference model from https://openaipublic.azureedge.net/main/whisper/models/9ecf779972d90ba49c06d968637d720dd632c55bbf19d441fb42bf17a411e794/small.pt
15
+
16
+
[video]
17
+
# You can change the title as you like, eg.
18
+
# f"{artist}直播回放-{date}-{title}" - Streamer直播回放-20250328-Live title
19
+
# f"{date}-{artist}直播回放" - 20250328-Streamer直播回放
20
+
title = "{artist}直播回放-{date}-{title}"# Key words: {artist}, {date}, {title}, {source_link}
gift_price_filter = 1# The gift whose price is less than this value will be filtered, unit: RMB
23
+
reserve_for_fixing = false# If encounter MOOV crash error, delete the video or reserve for fixing
24
+
upload_line = "auto"# The upload line to be used, default None is auto detect(recommended), if you want to specify, it can be "bldsa", "ws", "tx", "qn", "bda2".
25
+
26
+
[slice]
27
+
auto_slice = false# General control: true or false
28
+
slice_duration = 60# better not exceed 300 seconds
29
+
slice_num = 2# the number of slices
30
+
slice_overlap = 30# the overlap of slices(seconds) see my package https://github.com/timerring/auto-slice-video for more details
31
+
slice_step = 1# the step of slices(seconds)
32
+
min_video_size = 200# The minimum video size to be sliced (MB)
33
+
mllm_model = "gemini"# the multi-model LLMs, can be "gemini" or "zhipu" or "qwen"
34
+
zhipu_api_key = ""# Apply for your own GLM-4v-Plus API key at https://www.bigmodel.cn/invite?icode=shBtZUfNE6FfdMH1R6NybGczbXFgPRGIalpycrEwJ28%3D
35
+
gemini_api_key = ""# Apply for your own Gemini API key at https://aistudio.google.com/app/apikey
36
+
qwen_api_key = ""# Apply for your own Qwen API key at https://bailian.console.aliyun.com/?apiKey=1
37
+
38
+
[cover]
39
+
generate_cover = false# whether to generate cover
40
+
image_gen_model = "minimax"# the image generation model, can be "minimax"
41
+
minimax_api_key = ""# Apply for your own Minimax API key at https://platform.minimaxi.com/user-center/basic-information/interface-key
Copy file name to clipboardExpand all lines: settings.toml
-42Lines changed: 0 additions & 42 deletions
Original file line number
Diff line number
Diff line change
@@ -1,48 +1,6 @@
1
1
version = "1.0"
2
2
webhooks = []
3
3
4
-
# bilive Settings
5
-
[model]
6
-
model_type = "append"# Can be pipeline, append, merge
7
-
8
-
# WARNING!: If you choose "deploy" local inference:
9
-
# 1. Please check the VRAM requirements twice!
10
-
# 2. Please make sure you have installed the Nvidia GPU driver and can check the cuda via `nvcc -V`!
11
-
# WARNING!: If you choose "api":
12
-
# due to the limitation of free tier, you should keep every video less than 30 minutes(around)
13
-
# which means your MODEL_TYPE should not be "merge".
14
-
[asr]
15
-
asr_method = "none"# can be "deploy" or "api" or "none"
16
-
whisper_api_key = ""# Apply for your own API key at https://console.groq.com/keys
17
-
inference_model = "small"# If you choose "deploy", you should download the inference model from https://openaipublic.azureedge.net/main/whisper/models/9ecf779972d90ba49c06d968637d720dd632c55bbf19d441fb42bf17a411e794/small.pt
18
-
19
-
[video]
20
-
# You can change the title as you like, eg.
21
-
# f"{artist}直播回放-{date}-{title}" - Streamer直播回放-20250328-Live title
22
-
# f"{date}-{artist}直播回放" - 20250328-Streamer直播回放
23
-
title = "{artist}直播回放-{date}-{title}"# Key words: {artist}, {date}, {title}, {source_link}
gift_price_filter = 1# The gift whose price is less than this value will be filtered, unit: RMB
26
-
reserve_for_fixing = false# If encounter MOOV crash error, delete the video or reserve for fixing
27
-
upload_line = "auto"# The upload line to be used, default None is auto detect(recommended), if you want to specify, it can be "bldsa", "ws", "tx", "qn", "bda2".
28
-
29
-
[slice]
30
-
auto_slice = false# General control: true or false
31
-
slice_duration = 60# better not exceed 300 seconds
32
-
slice_num = 2# the number of slices
33
-
slice_overlap = 30# the overlap of slices(seconds) see my package https://github.com/timerring/auto-slice-video for more details
34
-
slice_step = 1# the step of slices(seconds)
35
-
min_video_size = 200# The minimum video size to be sliced (MB)
36
-
mllm_model = "gemini"# the multi-model LLMs, can be "gemini" or "zhipu" or "qwen"
37
-
zhipu_api_key = ""# Apply for your own GLM-4v-Plus API key at https://www.bigmodel.cn/invite?icode=shBtZUfNE6FfdMH1R6NybGczbXFgPRGIalpycrEwJ28%3D
38
-
gemini_api_key = ""# Apply for your own Gemini API key at https://aistudio.google.com/app/apikey
39
-
qwen_api_key = ""# Apply for your own Qwen API key at https://bailian.console.aliyun.com/?apiKey=1
40
-
41
-
[cover]
42
-
generate_cover = false# whether to generate cover
43
-
image_gen_model = "minimax"# the image generation model, can be "minimax"
44
-
minimax_api_key = ""# Apply for your own Minimax API key at https://platform.minimaxi.com/user-center/basic-information/interface-key
0 commit comments