Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mrtimeey/ai-image-generator


https://github.com/mrtimeey/ai-image-generator

Last synced: 7 days ago
JSON representation

Awesome Lists containing this project

README

        

# ai-image-generator

Simple project to get in touch with [OpenAI's DALL·E API](https://openai.com/api/) to generate images from text inputs.


Mit KI erstellt ∙ 18. September 2024 um 3:59 PM

## Preconditions

### Account

You need to create an account for https://openai.com/api/ in order to bring this code alive.
OpenAI provides an amount of free tier to get in touch with the api, so you don't have to spend money in the first place.

### Environments

Create `.env` from `.env.example`.

## Execution

There are different ways to start the application. After start up it will be available on http://localhost:8080.

### Dev-Mode

```shell
npm install
npm run dev
```

### Service

```shell
npm install
npm run serve
```

### Docker

```shell
docker compose up -d --force-recreate --build
```