dhavalCode / ai-image-generator

AI Image Generation with DALL·E 2.

Home Page:https://image-generator.dhavalcode.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AI Image Generator 🔥

Text to image Generator with DALL·E 2

Give your prompt and see the magic !

Live 🚀

image-generator.dhavalcode.com

Technologies Used 🖥️

Getting Started

# Clone this repository
git clone https://github.com/dhavalCode/ai-image-generator.git

# Go into the repository
cd ai-image-generator

# Setup default environment variables

# For Linux
cp env.example .env.local
# For Windows
copy env.example .env.local

# Install dependencies
npm install

# Start a local dev server
npm start

Setup

  • Create ENV File
- ai-image-generator
  - server
    - node_modules
    - public
    - src
    - .env         <-- create it here
    - env.example  <-- this is the base file
    - .gitignore
    - package-lock.json
    - package.json
// .env
MONGODB_URL= "Replace with your url"
OPEN_AI_KEY=  "Replace with your key"
CLOUDINARY_CLOUD_NAME= "Replace with yours"
CLOUDINARY_API_KEY= "Your api key"
CLOUDINARY_API_SECRET= "Your app secret key"

For the Future

If you want to add more, Please don't hesitate to open a pull request.

👋 Get in Touch

Twitter Follow

linkedin

About

AI Image Generation with DALL·E 2.

https://image-generator.dhavalcode.com


Languages

Language:TypeScript 90.5%Language:HTML 5.4%Language:JavaScript 4.0%Language:CSS 0.1%