-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
80 lines (72 loc) · 3.06 KB
/
index.html
File metadata and controls
80 lines (72 loc) · 3.06 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="AI Image Generator using various models like FLUX, Stable Diffusion, and more.">
<meta name="keywords" content="AI, Image Generator, FLUX, Stable Diffusion, Openjourney, HiDream I1">
<meta name="author" content="Abdullah Shalabi">
<title>AI Image Generator</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<!-- header may contain ur logo -->
<header class="header">
<h1>Image Generator</h1>
</header>
<!-- main content contain all tags from input to generate btn -->
<div class="main-content">
<form action="#" class="prompt-form">
<div class="prompt-container">
<textarea type="text" class="prompt-input" placeholder="Enter your image prompt here..." required autofocus></textarea>
<button type="button" class="prompt-btn">
<i class="fa-solid fa-dice"></i>
</button>
</div>
<div class="prompt-actions">
<!-- type of Model -->
<div class="select-wrapper">
<select class="custom-select" id="model-select" required>
<option value="black-forest-labs/FLUX.1-dev">FLUX.1-dev</option>
<option value="black-forest-labs/FLUX.1-schnell">FLUX.1-schnell</option>
<option value="stabilityai/stable-diffusion-2">Stable Diffusion XL</option>
<option value="HiDream-ai/HiDream-I1-Full">HiDream I1</option>
<option value="prompthero/openjourney-v4">Openjourney</option>
</select>
</div>
<!-- number of Images that user want -->
<div class="select-wrapper">
<select class="custom-select" id="count-select" required>
<option value=""selected hidden>Image Count</option>
<option value="1">1 Image</option>
<option value="2">2 Images</option>
<option value="3">3 Images</option>
<option value="4">4 Images</option>
</select>
</div>
<!-- Ratio of the Images -->
<div class="select-wrapper">
<select class="custom-select" id="ratio-select" required>
<option value=""selected hidden>Aspect Ratio</option>
<option value="1/1">Square (1:1)</option>
<option value="16/9">landscape (16:9)</option>
<option value="9/16">Portrait (9:16)</option>
</select>
</div>
<!-- Generate Button -->
<button type="submit" class="generate-btn">
<i class="fa-solid fa-wand-magic-sparkles"></i>
Generate
</button>
</div>
<!-- Gallery -->
<div class="gallery-grid">
<!-- Element generated by js -->
</div>
</form>
</div>
</div>
<script src="app.js"></script>
</body>