Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrtimeey/ai-image-generator
https://github.com/mrtimeey/ai-image-generator
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mrtimeey/ai-image-generator
- Owner: MrTimeey
- License: mit
- Created: 2022-12-11T14:22:56.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-04T11:07:12.000Z (about 1 month ago)
- Last Synced: 2024-10-10T18:43:59.383Z (28 days ago)
- Language: HTML
- Size: 1.12 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```