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
Tutorial
- Medium (https://bit.ly/3ul3pyf)
Getting Started
- Clone/Download this project
- Install:
npm
# 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
:
Deploy on Vercel
Check out Next.js deployment documentation for more details.