GithubHelp home page GithubHelp logo

enemycube / dalle3-openai-api-image-generator Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 50 KB

This is a simple DALL·E 3 image generator that utilizes your OpenAI API key. Images are generated by inputting descriptions and keywords into the prompt field.

License: GNU General Public License v3.0

HTML 61.98% JavaScript 38.02%
ai dall-e dall-e-3 dalle-3 dalle3 image image-generation-ai image-generator image-generator-using-openai-api openai

dalle3-openai-api-image-generator's Introduction

image

Run Locally

  1. If you haven't already, get yourself an OpenAI API key.
  2. Download and unzip all the files from this repository to a folder.
  3. Open the .html file in a web browser.
  4. Paste in your API key
  5. Enter your prompt and adjust the settings to your liking.
  6. Generate!

Note: At the moment, images are only stored on OpenAI's servers for an hour. You'll need to download the images before they expire if you want to keep them.

To-do

  1. Add descriptions for each setting, according to the documentation.
  2. Have the API key save to the user's computer.
  3. Find a way to circumvent OpenAI server-side expiration.
  4. Better error handling.
  5. Add the ability to download/expand images from the UI.

dalle3-openai-api-image-generator's People

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

jaydeepw

dalle3-openai-api-image-generator's Issues

Size selection not working

All images I've tried have come out as 1024 x 1024. Otherwise this is great! Tested on Firefox and Edge.

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.