A fully functional AI-powered text-to-image generator built with Vanilla JavaScript.
Generate high-quality images instantly from text prompts using advanced AI models.
- 🖼️ Generate images from text prompts
- ⚡ Fast and responsive design
- 📱 Works on all devices
- 🔑 Easy integration with AI APIs
- 🛠️ Simple, lightweight, and customizable
- Frontend: HTML, CSS, Vanilla JavaScript
- AI API: Stable Diffusion / ModelsLab / Replicate API
- Deployment: GitHub Pages / Vercel
-
Clone the repository:
# get source code git clone https://github.com/diorsolutions/text-to-image-ai.git # select your local cloned folder cd cd {your-project-folder} # install packages & modules npm install # if you use the pnpm to intstall packages & modules pnpm install
-
Second, run the development server:
npm run dev # or yarn dev # or pnpm dev # or bun dev