You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
2.6 KiB
83 lines
2.6 KiB
# Reddit Video Maker Bot Configuration
|
|
# Copy this file to config.toml and configure your settings
|
|
#
|
|
# NOTE: No Reddit API credentials required!
|
|
# This bot uses Reddit's public .json endpoints (no OAuth needed).
|
|
|
|
[reddit.scraper]
|
|
# User-Agent string for Reddit requests. Customize to avoid rate limiting.
|
|
user_agent = "python:reddit_video_bot:1.0"
|
|
# Delay in seconds between Reddit requests. Increase if you get rate limited.
|
|
request_delay = 2.0
|
|
|
|
[reddit.thread]
|
|
random = true
|
|
subreddit = "AskReddit" # Can also use "AskReddit+nosleep" for multiple subreddits
|
|
post_id = "" # Optional: specific post ID to use
|
|
max_comment_length = 500
|
|
min_comment_length = 1
|
|
post_lang = "" # Optional: translate to this language (e.g., "es", "fr")
|
|
min_comments = 20
|
|
|
|
[ai]
|
|
ai_similarity_enabled = false
|
|
ai_similarity_keywords = "" # Comma-separated keywords for AI sorting
|
|
|
|
[settings]
|
|
allow_nsfw = false
|
|
theme = "dark" # Options: dark, light, transparent
|
|
times_to_run = 1
|
|
opacity = 0.9
|
|
storymode = false # Use for narrative subreddits like r/nosleep
|
|
storymodemethod = 1 # 0 = single image, 1 = multiple images
|
|
storymode_max_length = 1000
|
|
resolution_w = 1080
|
|
resolution_h = 1920
|
|
zoom = 1
|
|
channel_name = "Reddit Tales"
|
|
|
|
[settings.background]
|
|
background_video = "minecraft" # Options: minecraft, gta, rocket-league, etc.
|
|
background_audio = "lofi" # Options: lofi, lofi-2, chill-summer
|
|
background_audio_volume = 0.15
|
|
enable_extra_audio = false
|
|
background_thumbnail = false
|
|
background_thumbnail_font_family = "arial"
|
|
background_thumbnail_font_size = 96
|
|
background_thumbnail_font_color = "255,255,255"
|
|
|
|
[settings.tts]
|
|
# TTS Provider: qwentts, elevenlabs, tiktok, googletranslate, awspolly, streamlabspolly, openai
|
|
voice_choice = "qwentts"
|
|
random_voice = true
|
|
silence_duration = 0.3
|
|
no_emojis = false
|
|
|
|
# Qwen TTS Settings (default)
|
|
qwen_api_url = "http://localhost:8080"
|
|
qwen_email = "your_email@example.com"
|
|
qwen_password = "your_password"
|
|
qwen_speaker = "Vivian" # Options: Chelsie, Ethan, Vivian, Asher, Aria, Oliver, Emma, Noah, Sophia
|
|
qwen_language = "English" # Options: English, Chinese, Spanish, French, German, Japanese, Korean, etc.
|
|
qwen_instruct = "Warm, friendly, conversational."
|
|
|
|
# OpenAI TTS Settings (alternative)
|
|
openai_api_url = "https://api.openai.com/v1/"
|
|
openai_api_key = ""
|
|
openai_voice_name = "alloy"
|
|
openai_model = "tts-1"
|
|
|
|
# ElevenLabs Settings (alternative)
|
|
elevenlabs_voice_name = "Bella"
|
|
elevenlabs_api_key = ""
|
|
|
|
# TikTok TTS Settings (alternative)
|
|
tiktok_voice = "en_us_001"
|
|
tiktok_sessionid = ""
|
|
|
|
# AWS Polly Settings (alternative)
|
|
aws_polly_voice = "Matthew"
|
|
|
|
# Streamlabs Polly Settings (alternative)
|
|
streamlabs_polly_voice = "Matthew"
|