Skip to content

amin2312/AI-Image-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Image Generator

English | 中文

AI Image Generator is a easy-to-operate image generator that provides users with a more convenient and efficient AI image generation solution.

  • It is based on Dall·E and Stable Diffusion API;
  • It supports multi languages;
  • It implements complete client(vue) and server(tornado) solution;

Screenshots & Demo

AI Image Generator Screenshot 1 AI Image Generator Screenshot 2

DEMO: www.ai-img-gen.com/gen-basic/ (only show)
Commercial: www.ai-img-gen.com/gen-pro/ (provide free trial)

How to run it

Step 1. Install python >= 3.10

Step 2. Install the project's python dependencies

cd <project_path>
pip install -r server/requirements.txt

Step 3. Configure Dall·E or Stable Diffusion API key

Use text editor to open <project_path>/server/conf.json,
and fill in the "api_key" field by your needs,
remember to save it.

Step 4. Start the python server

cd <project_path>
python server/app.py

Step 5. Open browser, visit http://127.0.0.1:3001

Official site

Directory Structure

root
├─ client   // Vue client project
   ├─ src
      ├─ assets
         ├─ language_strings.csv  // Add new translation using the CSV editor
         ├─ language_support.csv  // Add new language using the CSV editor
├─ intro    // Related files introduced
├─ server   // Python server project
└─ wwwroot  // Server web root directory | Vue build output directory

Others

⭐ If you like this project, please add a star ⭐