- Get the API token via https://beta.openai.com/account/api-keys
- Medium (https://bit.ly/3ul3pyf)
- Clone/Download this project
- Install:
npm install
# or
yarn
- Run the development server:
npm run dev
# or
yarn dev
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.
- Input token start from
sk-
- Query anything, e.g.
cat on space
:
Check out Next.js deployment documentation for more details.
Swift/SwiftUI: https://github.com/1998code/DALLE2-Swift
- V2 is using OpenAI official API. V1 is using OpenAI Labs Bearer Key.
MIT