Skip to content

yafira/salvador-dall-e

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🖼️ Salvador Dall·E, A Image Generator using React and DALL·E 2 API

Fun facts:

✦ DALL·E 2 is a new AI system that can create realistic images and art from a description in natural language.

✦ DALL·E is a 12-billion parameter version of GPT-3 trained to generate images from text descriptions, using a dataset of text–image pairs.

⭒ More about DALL·E 2

Requirements:

- Access to OpenAI - create an OpenAI API account - generate an API key - Install openai npm package

Objectives:

  • Creating realistic images and art with user input from natural language descriptions.

  • Use the React library to create the User Interface as it would handle the updating of the DOM as required.

  • Install and learn to use npm packages such as:

      ✧ react-lazy-load: An easy-to-use React component which helps you defer loading content in predictable way.
    
      ✧ openai: The OpenAI Node.js library provides convenient access to the OpenAI API from Node.js applications. Most of the code in this library is generated from our OpenAPI specification.
    

Usage:

- Query anything in the input text field, e.g. 'Bears in space'
- Click button to generate the magic!

gif

Sample input:

image image image

Sample images:

image image image

Check out the live demo for the app here!

About

Image generator using React and DALL-E 2 API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published