-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.ts
81 lines (80 loc) · 1.63 KB
/
config.ts
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
const config: any = {
database: {
filename: 'apeaje.db',
verbose: console.log,
},
apis: {
openai: {
tiers: {
initialBudget: 10,
A: { model: 'dall-e-3', quality: 'hd', size: '1024x1792', price: 0.12 },
B: { model: 'dall-e-3', quality: 'hd', size: '1024x1024', price: 0.08 },
C: {
model: 'dall-e-3',
quality: 'standard',
size: '1024x1792',
price: 0.08,
},
D: {
model: 'dall-e-3',
quality: 'standard',
size: '1024x1024',
price: 0.04,
},
E: {
model: 'dall-e-2',
quality: 'standard',
size: '512x512',
price: 0.018,
},
F: {
model: 'dall-e-2',
quality: 'standard',
size: '256x256',
price: 0.016,
},
},
thresholds: {
A: {
percentage: 1,
time: { start: '22:00', end: '23:59' },
},
B: {
percentage: 8,
},
C: {
percentage: 1,
time: { start: '06:00', end: '22:00' },
},
D: {
percentage: 20,
},
E: {
percentage: 30,
},
F: {
percentage: 40,
time: { start: '00:00', end: '06:00' },
},
},
},
},
initialAccounts: [
{
type: 'username',
username: 'owner',
role: 'Owner',
},
{
type: 'username',
username: 'admin',
role: 'Admin',
},
{
type: 'email',
email: '[email protected]',
role: 'Admin',
},
],
};
export default config;