MpakoImageAIbot/.env.example

38 lines
860 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Токен от @BotFather
BOT_TOKEN=
# Прокси для Telegram API. Пусто — без прокси.
# В Docker на Linux: http://host.docker.internal:20171
TELEGRAM_PROXY=
# ComfyUI API
COMFY_BASE_URL=http://192.168.31.113:8188
WORKFLOW_T2I=workflows/txt2img.json
WORKFLOW_I2I=workflows/img2img.json
WORKFLOW_MAPPING=workflows/mapping.json
# Хранилище
STORAGE_DIR=storage
DB_PATH=data/bot.db
# Очередь
WORKER_CONCURRENCY=1
MAX_QUEUE_SIZE=20
GENERATION_TIMEOUT=600
PROGRESS_INTERVAL=3
# Ограничения
MAX_PROMPT_LENGTH=1000
MAX_PHOTO_BYTES=15728640
DEFAULT_NEGATIVE=low quality, blurry, bad anatomy, extra digits
# Доступ: пусто — всем; иначе список id через запятую
ALLOWED_USER_IDS=
# Веб-история
WEB_PAGE_SIZE=50
WEB_USERNAME=admin
WEB_PASSWORD=
LOG_LEVEL=INFO