forked from modem-works/dream-recorder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.json
More file actions
50 lines (50 loc) · 2.32 KB
/
Copy pathconfig.example.json
File metadata and controls
50 lines (50 loc) · 2.32 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
49
50
{
"LOG_LEVEL": "INFO",
"DB_PATH": "db/dreams.db",
"HOST": "0.0.0.0",
"PORT": 5000,
"TOTAL_BACKGROUND_IMAGES": 1119,
"CLOCK_FADE_IN_DURATION": 500,
"CLOCK_FADE_OUT_DURATION": 500,
"CLOCK_CONFIG_PATH": "/static/config/clock-default.json",
"PLAYBACK_DURATION": 120,
"VIDEO_HISTORY_LIMIT": 7,
"LOGO_FADE_IN_DURATION": 2000,
"LOGO_FADE_OUT_DURATION": 1000,
"TRANSITION_DELAY": 100,
"AUDIO_CHANNELS": 1,
"AUDIO_SAMPLE_WIDTH": 2,
"AUDIO_FRAME_RATE": 44100,
"RECORDINGS_DIR": "media/audio",
"WHISPER_MODEL": "whisper-1",
"GPT_MODEL": "gpt-4o-mini",
"GPT_SYSTEM_PROMPT": "You are a creative video prompt engineer specializing in Luma Dream Machine. Your task is to transform dream descriptions into cinematic video prompts using clear, simple language. Be specific about useful visual elements and emotional tone. Keep the prompt concise but rich in visual detail, formatted as a single, succinct sentence.",
"GPT_SYSTEM_PROMPT_EXTEND": "You are a creative video prompt engineer specializing in Luma Dream Machine. Your task is to transform dream descriptions into cinematic video prompts using clear, simple language. Be specific about useful visual elements and emotional tone. Keep the prompt concise but rich in visual detail, formatted as two succinct sentences. Break down the prompt into exactly two clear separate parts, using '*****' as a separator between part one and part two.",
"GPT_TEMPERATURE": 0.7,
"GPT_MAX_TOKENS": 400,
"LUMA_API_URL": "https://api.lumalabs.ai/dream-machine/v1",
"LUMA_GENERATIONS_ENDPOINT": "https://api.lumalabs.ai/dream-machine/v1/generations",
"LUMA_EXTEND": false,
"LUMA_MODEL": "ray-flash-2",
"LUMA_RESOLUTION": "540p",
"LUMA_DURATION": "5s",
"LUMA_ASPECT_RATIO": "21:9",
"LUMA_POLL_INTERVAL": 5,
"LUMA_MAX_POLL_ATTEMPTS": 100,
"VIDEOS_DIR": "media/video",
"THUMBS_DIR": "media/thumbs",
"FFMPEG_BRIGHTNESS": 0.2,
"FFMPEG_VIBRANCE": 2,
"FFMPEG_DENOISE_THRESHOLD": 300,
"FFMPEG_BILATERAL_SIGMA": 100,
"FFMPEG_NOISE_STRENGTH": 40,
"GPIO_PIN": 4,
"GPIO_FLASK_URL": "http://localhost:5000",
"GPIO_SINGLE_TAP_ENDPOINT": "/api/gpio_single_tap",
"GPIO_DOUBLE_TAP_ENDPOINT": "/api/gpio_double_tap",
"GPIO_SINGLE_TAP_MAX_DURATION": 0.5,
"GPIO_DOUBLE_TAP_MAX_INTERVAL": 0.7,
"GPIO_DEBOUNCE_TIME": 0.05,
"GPIO_STARTUP_DELAY": 2,
"GPIO_SAMPLING_RATE": 0.01
}