DaWe35 / DaWe35/image-router

local docker installation - bearer token

Open
#37 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
126
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Hello everyone,

Unfortunately, I am having problems running imagerouter locally.
The goal is to use imagerouter with open web ui and the runware API. However, I don't quite understand how to create an API key.

I used docker-compose.generate.yml and then docker-compose.yml and connected postgres, which also works. The API also returns the status “ok.”

When I want to execute the curl command in the container, I am of course missing the bearer token.

curl ‘http://localhost:3000/v1/openai/images/generations’ \
-H ‘Authorization: Bearer YOUR_API_KEY’ \
-H ‘Content-Type: application/json’ \
--data-raw ‘{“prompt”: “YOUR_PROMPT”, ‘model’: “test/test”}’

Can anyone tell me how I can create a bearer token in a local environment?

Best regards and many thanks

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.