-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbooru.conf.example
More file actions
executable file
·48 lines (41 loc) · 1.5 KB
/
booru.conf.example
File metadata and controls
executable file
·48 lines (41 loc) · 1.5 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
# BooruSwipe Configuration
# Copy this file to booru.conf and fill in your values
# LLM Configuration (required for preference learning)
api_key=
base_url=https://api.openai.com/v1
model=
# Booru Source (gelbooru, danbooru, or e621)
BOORU_SOURCE=gelbooru
# Danbooru API
danbooru_api_key=
danbooru_user_id=
# Gelbooru API
gelbooru_api_key=
gelbooru_user_id=
# e621 API
e621_api_key=
e621_user_id=
# Advanced Settings (optional - defaults shown)
# LLM_MIN_SWIPES=8
# LLM_MAX_TAGS=30
# LLM_TAG_FILTER_MIN_COUNT=1
# LLM_USE_STRUCTURED_OUTPUT=true
# LLM_RECENT_MODE=split
# LLM_RECENT_FILTER_CUMULATIVE_LIKES=false
# LLM_RECENT_POSITIVE=25 # Recent positive tags kept in split mode
# LLM_RECENT_NEGATIVE=25 # Recent negative tags kept in split mode
# LLM_RECENT=20 # Recent tags kept in absolute mode
# RECENT_SWIPES_WINDOW=15 # Recent swipe window used for ranking and LLM input
# BOORU_TAGS_PER_SEARCH=8
# BOORU_TAGS_PER_SEARCH_FALLBACK=4
# BOORU_SEARCH_SORT_MODE=score # Normal search sort mode: score or random
# SKIP_ANIMATED_IMAGES=true
# BOORU_API_MAX_RETRIES=3
# BOORU_API_RETRY_BASE_DELAY=0.5
# BOORU_API_RETRY_MAX_DELAY=8
# TAG_DECAY_HALF_LIFE_SWIPES=10 # Half-life in swipes for tag score decay used by ranking and LLM input
# RANDOM_IMAGE_CHANCE=5
# DOUBLE_LIKED_NEVER_IGNORE=false
# Search Pagination Settings (optional - defaults shown)
# BOORU_SEARCH_LIMIT=100 # Max images per page (max 100)
# BOORU_SEARCH_PAGES=1 # Number of pages to try before giving up