Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✅ Text-to-Image AI Tool

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.

🔥 Features

  • 🖼️ Generate images from text prompts
  • ⚡ Fast and responsive design
  • 📱 Works on all devices
  • 🔑 Easy integration with AI APIs
  • 🛠️ Simple, lightweight, and customizable

😁 Let's see:

Pretty looks...😉

image

Auto generate prompt using AI 💯

image

Dark + Light mode ✔

image

🛠️ Tech Stack

  • Frontend: HTML, CSS, Vanilla JavaScript
  • AI API: Stable Diffusion / ModelsLab / Replicate API
  • Deployment: GitHub Pages / Vercel

📦 Installation

  1. 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
    
  2. Second, run the development server:

    npm run dev
    # or
    yarn dev
    # or
    pnpm dev
    # or
    bun dev
    

About

Generate AI-powered images from text prompts using Vanilla JavaScript || Free to use this code for everyone

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages