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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4c7e66c
830969b
 
 
 
 
fbba068
 
 
 
 
 
 
 
830969b
fbba068
 
4c7e66c
fbba068
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
830969b
 
 
e461379
830969b
3c91b2d
 
830969b
df88d20
830969b
df88d20
 
 
 
 
 
 
 
 
 
 
 
 
 
830969b
 
df88d20
 
3c91b2d
 
df88d20
 
3c91b2d
e461379
df88d20
 
 
 
e461379
486aa69
df88d20
 
 
486aa69
df88d20
 
 
486aa69
df88d20
 
 
 
 
 
486aa69
 
df88d20
 
 
486aa69
 
 
df88d20
486aa69
 
 
df88d20
486aa69
e461379
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
---
tags:
- image-generation
- generative-model
- multimodal
- SOTA
model_name: CustomImageGenerator
model_type: image-generation
description: >
  CustomImageGenerator is a state-of-the-art multimodal generative model based
  on the GPT-2 architecture, capable of generating high-quality images from
  textual prompts. The model combines advanced techniques from natural language
  processing (NLP) and computer vision to produce visually coherent and
  contextually relevant images.
architecture: GPT-2
tasks:
- image-generation
references:
- title: Generative Pre-trained Transformer 2.0
  url: >
    https://cdn.openai.com/better-language-models/language_models_are_unsupervised_multitask_learners.pdf
- title: Learning to Generate Images from Text
  url: https://arxiv.org/abs/1511.02793
- title: Stable Diffusion Models for Image Generation
  url: https://arxiv.org/abs/2105.05233
related_models:
- name: BigGAN
  description: State-of-the-art generative adversarial network (GAN) for image generation.
  url: https://github.com/ajbrock/BigGAN-PyTorch
- name: CLIP
  description: >
    Contrastive Language-Image Pre-training model for understanding images and
    text.
  url: https://github.com/openai/CLIP
language:
- en
license: apache-2.0
---

<style>
/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&display=swap');

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #121212;
  margin: 0;
  padding: 20px;
  line-height: 1.6;
  color: #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.container {
  max-width: 900px;
  margin: 20px auto;
  padding: 40px;
  background-color: #1e1e1e;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  animation: fadeIn 1s ease-in-out;
  border: 2px solid #333;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.section {
  margin-bottom: 60px;
  padding: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease, transform 0.3s ease;
}

.section:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
  animation: slideIn 1s ease-in-out;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
  position: relative;
}

@keyframes slideIn {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing:5 2px;
  color: #e0e0e0;
  animation: fadeIn 1s ease-in-out;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.section-description {
  font-size: 18px;
  line-height: 1.8;
  color: #b0b0b0;
  animation: fadeIn 1s ease-in-out;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.trendy-feature h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #333;
}

.section {
  margin-bottom: 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 4px;
  background-color: #007bff;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Grid Styles */
.section-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.grid-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.grid-item:hover img {
  transform: scale(1.1);
}

/* Dot Styles */
.dot-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.dot {
  height: 15px;
  width: 15px;
  margin: 0 8px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active,
.dot:hover {
  background-color: #007bff;
  transform: scale(1.2);
}
  
.detail {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  color: #e0e0e0;
  animation: fadeIn 1s ease-in-out;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.detail:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.detail-icon {
  margin-right: 12px;
  font-size: 24px;
  color: #007bff;
}

.detail-text {
  font-size: 18px;
  color: #e0e0e0;
}

.interactive-element {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #1e1e1e, #121212);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.interactive-element::before,
.interactive-element::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.5), rgba(0, 0, 255, 0.5));
  mix-blend-mode: screen;
  animation: shimmer 5s infinite;
}

.interactive-element::before {
  top: -100%;
  left: 0;
  animation-direction: alternate;
}

.interactive-element::after {
  bottom: -100%;
  right: 0;
  animation-direction: alternate-reverse;
}

@keyframes shimmer {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100%);
  }
}

.interactive-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #e0e0e0;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.interactive-element:hover .interactive-message {
  opacity: 1;
}

.form-container {
  margin-top: 40px;
  padding: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  animation: fadeIn 1s ease-in-out;
  position: relative;
  overflow: hidden;
}

.form-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
  animation: rotate 10s infinite linear;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.form-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: #e0e0e0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.form-field {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
  color: #b0b0b0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.form-input {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #333;
  background: #1e1e1e;
  color: #e0e0e0;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.form-button {
  display: block;
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  background: #007bff;
  color: #e0e0e0;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.form-button:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

.widget-container {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
  margin-top: 40px;
  animation: fadeIn 1s ease-in-out;
  position: relative;
  overflow: hidden;
}

.widget-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
  animation: rotate 10s infinite linear;
}

.widget-header {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #e0e0e0;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.widget-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #b0b0b0;
}

.widget-content p {
  margin: 10px 0;
}

.trendy-feature {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
  margin: 20px auto;
  max-width: 600px;
}

.trendy-feature:hover {
  transform: translateY(-5px);
}

.trendy-feature h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #333;
}
</style>

<div class="container">
  <div class="section">
    <div class="section-header">
      <h2 class="section-title">🎨 Use Cases</h2>
    </div>
    <div class="section-content">
      <div class="section-description">
        <p><strong>🖼️ Artistic Content Generation</strong></p>
        <p>CustomImageGenerator serves as a virtual canvas for artists and designers, enabling the creation of captivating artworks from mere text. Whether it's envisioning mythical landscapes or crafting futuristic cityscapes, the model ignites creativity and opens doors to boundless artistic exploration.</p>
      </div>
    </div>
  </div>

  <div class="section">
    <div class="section-header">
      <h2 class="section-title">ℹ️ Model Details</h2>
    </div>
    <div class="section-content">
      <div class="section-description">
        <p><strong>🧠 Architecture</strong></p>
        <p>CustomImageGenerator is built upon the GPT-2 architecture, a powerful transformer-based model renowned for its natural language processing capabilities. Leveraging GPT-2's architecture, the model seamlessly integrates text and image generation, offering a holistic approach to multimodal AI.</p>
      </div>
    </div>
  </div>

  <div class="section">
    <div class="section-header">
      <h2 class="section-title">🌟 Significance</h2>
    </div>
    <div class="section-content">
      <div class="section-description">
        <p>CustomImageGenerator represents a paradigm shift in multimodal AI, bridging the gap between language and vision to enable seamless communication and creativity. Its ability to generate contextually relevant images from textual prompts opens up new possibilities for artistic expression, conceptualization, and product design, ushering in a new era of human-machine collaboration and innovation.</p>
      </div>
    </div>
  </div>
</div>

<div class="container">
  <div class="section">
    <div class="section-header">
      <h2 class="section-title">🖼️ Example Images</h2>
    </div>
    <div class="section-content">
      <div class="grid-item">
        <img src="https://huggingface.co/ayjays132/CustomImageGenerator/resolve/main/ImageFiles/Ancient%20Temple%20in%20a%20Lush%20Jungle.jpg" alt="Ancient Temple in a Lush Jungle">
      </div>
      <div class="grid-item">
        <img src="https://huggingface.co/ayjays132/CustomImageGenerator/resolve/main/ImageFiles/Cyberpunk%20Metropolis%20Scene.jpg" alt="Cyberpunk Metropolis Scene">
      </div>
      <div class="grid-item">
        <img src="https://huggingface.co/ayjays132/CustomImageGenerator/resolve/main/ImageFiles/Extraterrestrial%20Market%20on%20a%20Desert%20Planet.jpg" alt="Extraterrestrial Market on a Desert Planet">
      </div>
      <div class="grid-item">
        <img src="https://huggingface.co/ayjays132/CustomImageGenerator/resolve/main/ImageFiles/Generate%20an%20image%20depicting%20a%20sprawling%20fantasy%20city%20at%20dusk.jpg" alt="Sprawling Fantasy City at Dusk">
      </div>
      <div class="grid-item">
        <img src="https://huggingface.co/ayjays132/CustomImageGenerator/resolve/main/ImageFiles/Post-Apocalyptic%20Landscape.jpg" alt="Post-Apocalyptic Landscape">
      </div>
      <div class="grid-item">
        <img src="https://huggingface.co/ayjays132/CustomImageGenerator/resolve/main/ImageFiles/Space%20Station%20Orbiting%20a%20Distant%20Planet.jpg" alt="Space Station Orbiting a Distant Planet">
      </div>
      <div class="grid-item">
        <img src="https://huggingface.co/ayjays132/CustomImageGenerator/resolve/main/ImageFiles/Steampunk%20Adventure%20Setting.jpg" alt="Steampunk Adventure Setting">
      </div>
      <div class="grid-item">
        <img src="https://huggingface.co/ayjays132/CustomImageGenerator/resolve/main/ImageFiles/Steampunk%20Airship%20Fleet%20Over%20a%20Cloudy%20Sky.jpg" alt="Steampunk Airship Fleet Over a Cloudy Sky">
      </div>
      <div class="grid-item">
        <img src="https://huggingface.co/ayjays132/CustomImageGenerator/resolve/main/ImageFiles/Underwater%20City%20of%20the%20Future.jpg" alt="Underwater City of the Future">
      </div>
      <div class="grid-item">
        <img src="https://huggingface.co/ayjays132/CustomImageGenerator/resolve/main/ImageFiles/rudolph%20with%20red%20nose%20in%20cartoon%208k%20very%20detailed.jpg" alt="Rudolph with Red Nose in Cartoon 8k Very Detailed">
      </div>
    </div>
  </div>
</div>

<script>
let currentIndex = 0;
let startX = 0;
let endX = 0;

document.addEventListener("DOMContentLoaded", function() {
  const slides = document.querySelectorAll('.carousel-item');
  const dots = document.querySelectorAll('.dot');

  function showSlide(index) {
    if (index >= slides.length) {
      currentIndex = 0;
    } else if (index < 0) {
      currentIndex = slides.length - 1;
    } else {
      currentIndex = index;
    }
    slides.forEach((slide, i) => {
      slide.classList.toggle('active', i === currentIndex);
    });
    updateDots();
  }

  function nextSlide() {
    showSlide(currentIndex + 1);
  }

  function prevSlide() {
    showSlide(currentIndex - 1);
  }

  function updateDots() {
    dots.forEach((dot, i) => {
      dot.classList.toggle('active', i === currentIndex);
    });
  }

  function handleTouchStart(event) {
    startX = event.touches[0].clientX;
  }

  function handleTouchMove(event) {
    endX = event.touches[0].clientX;
  }

  function handleTouchEnd() {
    if (startX > endX + 50) {
      nextSlide();
    } else if (startX < endX - 50) {
      prevSlide();
    }
  }

  document.querySelector('.carousel-inner').addEventListener('touchstart', handleTouchStart, false);
  document.querySelector('.carousel-inner').addEventListener('touchmove', handleTouchMove, false);
  document.querySelector('.carousel-inner').addEventListener('touchend', handleTouchEnd, false);

  dots.forEach((dot, index) => {
    dot.addEventListener("click", () => {
      showSlide(index);
    });
  });

  showSlide(currentIndex);
});
</script>