GithubHelp home page GithubHelp logo

itsankitpatel / dall-e Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 148 KB

An image generation application.

Home Page: https://ankit-dall-e.vercel.app

JavaScript 96.16% HTML 1.28% CSS 2.55%
dall-e image-generation mern mern-project ai-project

dall-e's Introduction

Dall-E Clone

Project.Showcase.mp4

Overview

Welcome to the DALL-E Clone project! This project is a recreation inspired by the groundbreaking DALL-E model developed by OpenAI, which generates images from textual descriptions. This clone aims to replicate this functionality to a certain extent, allowing users to input prompts and generate corresponding images.

Features

  • Text-to-Image Generation: Input textual prompts and generate corresponding images.
  • Easy Download: You can can share the generated image with others and also can download it.
  • User-Friendly Interface: Simple user interface for ease of use.

Fronted

    

Backend

                   

Project Setup

git clone https://github.com/ItsAnkitPatel/DALL-E.git

Now install all packages inside client

cd DALL-E/client/

npm i

Then switch to backend and install packages.

cd DALL-E/server/

npm i

Inside DALL-E/client/ create .env file and create a environment variable VITE_BACKEND_API_URL
This will be your backend URL, for local it can be

VITE_BACKEND_API_URL="http://localhost:8080"

If you running the server locally then change the port number according to your local server.



Now inside DALL-E/server create .env file and add these environment variables and their values

MONGODB_URL = "";
OPENAI_API_KEY = "";
OPENAI_API_KEY = "";

CLOUDINARY_CLOUD_NAME = "";
CLOUDINARY_API_KEY = "";
CLOUDINARY_API_SECRET = "";

Create account in Cloudinary and OpenAI to get the API keys and then add them in the environment variable.

Either you can use local mongodb or Online(MongoDb Atlas) just provide the link and you are done.



In terminal start backend first because fronted is fetching images from backend.

cd DALL-E/server/
nodemon
cd DALL-E/client/
npm run dev

Visitors

dall-e's People

Contributors

itsankitpatel avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

dall-e's Issues

open ai key

do u have a paid open ai key..like do u have given the payment method for api key or using the free one..pls respond asap..thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.