Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dokar3/abais
AI generated stories by GPT and Stable Diffusion.
https://github.com/dokar3/abais
gpt nextjs stable-diffusion vercel
Last synced: 12 days ago
JSON representation
AI generated stories by GPT and Stable Diffusion.
- Host: GitHub
- URL: https://github.com/dokar3/abais
- Owner: dokar3
- License: apache-2.0
- Created: 2023-06-30T05:17:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-20T23:47:29.000Z (about 1 year ago)
- Last Synced: 2023-10-21T00:43:40.565Z (about 1 year ago)
- Topics: gpt, nextjs, stable-diffusion, vercel
- Language: TypeScript
- Homepage: https://abais.vercel.app
- Size: 3.36 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Abais
> **A** **B**oring **AI** **S**tory.
Generate some boring stories using GPT and Stable Diffusion. Available on [abais.vercel.app](https://abais.vercel.app).
Built with:
- Next.js + React + Tailwind CSS
- Prisma + MongoDB
- Cloudflare R2# Getting Started
First, run the development server:
```bash
# Install dependencies
yarn
# Run
yarn dev
```# Deploy on Vercel
1. Clone or fork this project to your git.
2. Prepare the environment variables in the `.env` file. You may need:
- OpenAI API key to generate text.
- HuggingFace API key to call Stable Diffusion model to generate image.
- MongoDB and a connect url.
- Keys for AWS S3 or Cloudflare R2.
3. Go to [Vercel](https://vercel.com) and deploy. Set the install command to `yarn` and build command to `npx prisma generate && yarn build`. Don't forget paste your env variables when deploying on Vercel.# License
```
Copyright 2023 dokar3Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```