gaurav7916/ImageGenerator

0

stars

34

commits

Python

primary language

Aug 25, 2026

updated

README

Text to Image Generator using Stable Diffusion model

  • Architected to enhance user prompts and produce a high-resolution, semantically accurate image benchmarked using CLIP Score with attention-slicing optimizations for efficient GPU inference.
GEMINI 2.5 PRO PROMPT ENHANCEMENT
Original prompt:  a dog in front of a desk
Enhanced prompt:  A photorealistic, eye-level shot of a Golden Retriever sitting by a wooden desk. Soft, warm morning light streams from a window, creating gentle highlights and deep shadows. The background is softly blurred, focusing on the dog's detailed fur. A cozy, cinematic atmosphere with an earthy color palette.
Word count: 47
Processing sample 1/1: A photorealistic, eye-level shot of a Golden Retriever sitting by a wooden desk. Soft, warm morning light streams from a window, creating gentle highlights and deep shadows. The background is softly blurred, focusing on the dog's detailed fur. A cozy, cinematic atmosphere with an earthy color palette.
100%|██████████| 30/30 [00:05<00:00,  5.08it/s]
  Saved as: generated_image_0.png
============================================================
DETAILED SAMPLE SCORES
============================================================
Average CLIPScore: 0.2753
Average GenEval Score: 0.6883
Inception Score: 1.0000 ± 0.0000
Inception Entropy: 7.5517
image

Contributors

gaurav7916

34 commits

gaurav7916/ImageGenerator

0

stars

34

commits

Python

primary language

Aug 25, 2026

updated

README

Text to Image Generator using Stable Diffusion model

  • Architected to enhance user prompts and produce a high-resolution, semantically accurate image benchmarked using CLIP Score with attention-slicing optimizations for efficient GPU inference.
GEMINI 2.5 PRO PROMPT ENHANCEMENT
Original prompt:  a dog in front of a desk
Enhanced prompt:  A photorealistic, eye-level shot of a Golden Retriever sitting by a wooden desk. Soft, warm morning light streams from a window, creating gentle highlights and deep shadows. The background is softly blurred, focusing on the dog's detailed fur. A cozy, cinematic atmosphere with an earthy color palette.
Word count: 47
Processing sample 1/1: A photorealistic, eye-level shot of a Golden Retriever sitting by a wooden desk. Soft, warm morning light streams from a window, creating gentle highlights and deep shadows. The background is softly blurred, focusing on the dog's detailed fur. A cozy, cinematic atmosphere with an earthy color palette.
100%|██████████| 30/30 [00:05<00:00,  5.08it/s]
  Saved as: generated_image_0.png
============================================================
DETAILED SAMPLE SCORES
============================================================
Average CLIPScore: 0.2753
Average GenEval Score: 0.6883
Inception Score: 1.0000 ± 0.0000
Inception Entropy: 7.5517
image

Contributors

gaurav7916

34 commits

Languages

Python

66.4%

HTML

33.6%