Giter Site home page Giter Site logo

angelover / midjourney-dell Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lucas-zz/midjourney

0.0 0.0 0.0 1.51 MB

Midjourney App clone - An App to transform raw text into AI generated images using OpenAI's DALL-E.

Home Page: https://midjourney-five.vercel.app

JavaScript 92.86% CSS 4.96% HTML 2.18%

midjourney-dell's Introduction

OpenAI logo

Write what you want and let the AI show you the image!

Status: Finished

This is a React.js project bootstrapped with Vite.

AboutHow It WorksTech StackPre-requisitesAvailable ScriptsHow to contributeLearn MoreAuthor


About

This project was my first time interacting with AIs!

With the boom of OpenAI's ChatGPT and DALL • E 2 I got really curious about this technology so new and yet so great at the same time, so I ended up trying to make a really simple clone of Midjourney!

OpenAI's image generation API were used on this project.

This project's backend is available here.


How It Works

Right off the bat, the Home page is shown when entering the web app. In there, the Community Showcase is available - showing all the images in the database. On hover, the prompts used to generate that image, name of the person that made the prompt and a button that allows the user to download the image are shown.

OpenAI logo

To be able to interact with the API, you need to click on the button at the top right side of the screen 'Create'. By blicking on the button, the user is redirected to the Create Post page.

OpenAI logo

In this page, the user can fill in the form fields with their name and the prompt that they want to be make a image of or simply click on the 'Surprise Me' button to get a random prompt. Following that, by clicking on Generate, the API will return an AI generated image.

The user can decide if they want to share that image with the community or not or simply make the prompt again to get a better image.

Be aware, to be able to download the image, it is needed to share it with the community first.


Tech Stack

The following tools were used in the construction of this application:

See the file package.json

Workspace


Pre-requisites

Before you begin, you will need to have the following tools installed on your machine: npm, Git, VSCode.

Intial configs

// Clone this repository
$ git clone https://github.com/Lucas-zz/Midjourney.git

// Access the project folder cmd/terminal
$ cd Midjourney

// Install the dependencies
$ npm install

After this, you can start using the scripts below.


Available Scripts

In the project directory, you can run:

npm run dev or npx vite

Runs the app in the development mode.
Open http://localhost:5173 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build or npx vite build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about building for production for more information.

npm run preview or npx vite preview

Once you've built the app, you may test it locally by running npm run preview command.

The preview command will boot up a local static web server that serves the files from dist at http://localhost:4173. It's an easy way to check if the production build looks OK in your local environment.

Learn More

You can learn more in the Vite documentation.

To learn React, check out the React documentation.


How to contribute

  1. Fork the project.
  2. Create a new branch with your changes: git checkout -b feat/myFeatureName
  3. For each feature implemented, make a commit specifying what was done
  4. Submit your changes: git push -u origin feat/myFeatureName

Author


Lucas Azzolini Vieira

midjourney-dell's People

Contributors

lucas-zz avatar

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.