An open API service indexing awesome lists of open source software.

https://github.com/chaiyokung/pixflow

An AI-powered application that automatically generates images on a schedule.
https://github.com/chaiyokung/pixflow

ai azure-openai dall-e-3 gpt-4o-mini t3-stack

Last synced: 2 months ago
JSON representation

An AI-powered application that automatically generates images on a schedule.

Awesome Lists containing this project

README

          

# PixFlow

An AI-powered application that automatically generates images on a schedule.

## Preparation

Ensure you have MongoDB set up with a replica set. You can use [MongoDB Atlas](https://www.mongodb.com/atlas) to easily configure this.

Create Azure Service Principal and assign roles to it.

```bash
az ad sp create-for-rbac --name "example"
# {
# "appId": "",
# "displayName": "example",
# "password": "",
# "tenant": ""
# }

az role assignment create --assignee "" --role "Cognitive Services OpenAI User" --scope "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-example"
az role assignment create --assignee "" --role "Storage Blob Data Contributor" --scope "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-example"
```

## Getting Started

Create `.env` by copying `.env.example`

```bash
cp .env.example .env
```

Install dependencies

```bash
bun install
```

Run the server

```bash
bun dev
```