Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

dhavalCode/ai-image-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

42 Commits

Repository files navigation

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

AltStyle によって変換されたページ (->オリジナル) /