Skip to content

1998code/DALLE-2-App

Repository files navigation

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
  1. 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

  • V2 is using OpenAI official API. V1 is using OpenAI Labs Bearer Key.

License

MIT