-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
90 lines (73 loc) · 2.46 KB
/
index.html
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
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>QuickImage</title>
<link rel="stylesheet" href="default.css">
<meta http-equiv="Content-Security-Policy" content="
default-src 'self';
script-src 'self';
style-src 'self' 'unsafe-inline';
img-src 'self' data:;
connect-src 'self';
font-src 'self';
object-src 'none';
">
</head>
<body>
<div class="content">
<div class="prompt-container">
<textarea id="prompt" placeholder="prompt"></textarea>
<div class="model-selector-settings">
<div class="model-selector">
<select id="model">
<option value="stablediffusion-3">Stable Diffusion 3</option>
<option value="dall-e-3">Dall-E 3</option>
</select>
</div>
<div class="model-settings">
<div id="model-settings-stablediffusion-3">
<select id="aspect-ratio">
<option value="1:1">⬚ Square</option>
<option value="16:9">= 16:9</option>
<option value="21:9">= 21:9</option>
<option value="2:3">|| 2:3</option>
<option value="3:2">= 3:2</option>
<option value="4:5">|| 4:5</option>
<option value="5:4">= 5:4</option>
<option value="9:16">|| 9:16</option>
<option value="9:21">|| 9:21</option>
</select>
<span id="info-stablediffusion-3"></span>
</div>
<div id="model-settings-dall-e-3">
<select id="size">
<option value="1024x1024">⬚ Square</option>
<option value="1792x1024">= Horizontal</option>
<option value="1024x1792">|| Vertical</option>
</select>
<select id="style">
<option value="vivid">Vivid Style</option>
<option value="natural">Natural Style</option>
</select>
<select id="quality">
<option value="standard">Standard Quality</option>
<option value="hd">HD Quality</option>
</select>
<span id="info-dall-e-3"></span>
</div>
</div>
</div>
<div class="prompt-submit">
<button id="prompt-submit-button">➡️</button>
</div>
</div>
<div id="image-results">
</div>
</div>
<div class="navigation">
<input type="search" id="search" placeholder="search">
</div>
<script src="renderer.js" type="module"></script>
</body>
</html>