Awesome
DALLE 2 App (Next.js)
Create realistic images and art from a description in natural language.
Requirement
- You need to be invited and can access https://labs.openai.com/
- Get the Bearer Token via https://labs.openai.com/api/labs/tasks
If you have any questions, please read <a href="https://github.com/1998code/DALLE-2-App/issues/13">#13</a> first before raise a new issue.
Tutorial
- Medium (https://bit.ly/3ul3pyf)
Getting Started
- Clone/Download this project
- Install:
npm install
# or
yarn
- Run the development server:
npm run dev
# or
yarn dev
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
sess-
- Query anything, e.g.
cat on space
: <img width="1024" alt="CleanShot 2022-06-18 at 16 36 25@2x" src="https://user-images.githubusercontent.com/54872601/174429869-97ce491e-6aa1-4887-a7e9-f9b99b5df38a.png">
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
License
MIT