DALL-E 2 App (Next.js)
Create realistic images and art from a description in natural language.
Requirement
Tutorial
Getting Started
- Clone/Download this project
- Install:
npm install
# or
yarn
- 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
- Input token start from
sk-
- Query anything, e.g.
cat on space
:
Structure
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