AI-Horde
AI-Horde copied to clipboard
Create Application APIs
Normally IP can only be used by 3 user accounts at the same time. We should deploy an endpoint where a user can register an App Name and get an API key for it to increase this limit.
The application will be stored in the DB and will track how many users are using it. It will default to 1, but can be increased by admins and mods of the horde. Setting it to -1 will allow infinite amounts of accounts from the same IP
When this app key is sent along with the payload, it count as just 1 of the accounts per IP. So any number of requests from different accounts using an app, can be used and the app will count as just 1 IP. However only 1 app can be active per IP, so other ones might need to wait their turn, or figure out how to arrange for a common app account.