# ============================================================================= # MAIN CONFIGURATION SETTINGS for the bot behavior and features # Copy this file to config.py and fill in your values: # cp config.py.example config.py # ============================================================================= # REQUIRED! Enter your Telegram ID (get from @userinfobot) ADMIN_ID = 1234567890 ADMINS_LIST = [1234567890] # Bot usage mode: 'private' (owner only), 'free' (public with limits), 'pay' (monetized) TYPE_USAGE = 'private' # Start balance for pay and free mode new users START_BALANCE = 100 # Daily credit allocation for pay and free mode users CREDITS_USER_DAILY = 500 CREDITS_ADMIN_DAILY = 5000 # Credit costs for text processing (per 1000 tokens, pay mode only) CREDITS_INPUT_TEXT = 2 CREDITS_OUTPUT_TEXT = 8 # Credit costs for image processing (per 1000 tokens, pay mode only) CREDITS_INPUT_IMAGE = 10 CREDITS_OUTPUT_IMAGE = 40 # Token usage warning threshold - user gets notified when exceeded TOKENS_LIMIT_FOR_WARNING_MESSAGE = 15000 # Supported languages configuration AVAILABLE_LANGUAGES = ['en', 'zh'] AVAILABLE_LANGUAGES_WORDS = ['English', 'Chinese'] DEFAULT_LANGUAGE = 'en' LANGUAGE_FALLBACKS = { 'en': ['en'], 'zh': ['zh', 'en'] } # Application host address (do not modify) HOST_ADDRESS = 'https://evi.run'