1998code / DALLE-2-App

DALLE 2 on Next.js
https://dalle2.vercel.app
MIT License
62 stars 35 forks source link
nextjs react

DALL-E 2 App (Next.js)

Create realistic images and art from a description in natural language.

DeepScan grade Create diagram Docker CI Greetings

Xnapper-2023-01-15-23 41 21

Requirement

Tutorial

Getting Started

  1. Clone/Download this project
  2. Install:
    npm install
    # or
    yarn
  3. Run the development server:
    npm run dev
    # or
    yarn dev

If you prefer docker, run this command

docker-compose up --build -d

Open http://localhost:3000 with your browser to see the result.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Usage

  1. Input token start from sk-
  2. Query anything, e.g. cat on space: CleanShot 2022-06-18 at 16 36 25@2x

Structure

Diagram

Deploy on Vercel

Check out Next.js deployment documentation for more details.

Looking for iOS/iPadOS/macOS version?

Swift/SwiftUI: https://github.com/1998code/DALLE2-Swift

Developer Notes

License

MIT