This is a simple AI-powered text-to-image generator web application that allows users to input descriptive prompts and generate corresponding images in various styles and aspect ratios.
https://asif-000.github.io/AI-Text-to-Image-Generator/
- π¨ Generate images based on text prompts
- ποΈ Choose from multiple styles (Realistic, Anime, Flux Schnell)
- π Select different aspect ratios (1:1, 16:9, 9:16)
- π₯ Download the generated image
- β³ Loading animation during image generation
- HTML5, CSS3
- JavaScript (Vanilla)
- Boxicons for icons
- Imagine.art API (requires your own API key)
To run this project locally:
- Clone the repository
git clone https://github.com/Asif-000/AI-Text-to-Image-Generator.git
cd AI-Text-to-Image-Generator
- Get your Imagine.art API key
- Visit Imagine.art API Docs
- Sign up and generate your API key
- Update the
script.js
file to use your API key and send image generation requests
- Run in local server