Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 846 Bytes

README.md

File metadata and controls

41 lines (26 loc) · 846 Bytes

ai-image-generator

Simple project to get in touch with OpenAI's DALL·E 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

npm install
npm run dev

Service

npm install
npm run serve

Docker

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