|
--- |
|
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> |