agorafoundation / agora

An Open source, closed loop, user centric, cloud based learning and research platform
https://freeagora.org/
BSD 3-Clause "New" or "Revised" License
91 stars 14 forks source link

Limit the number of free dall-e generations #517

Closed briangormanly closed 11 months ago

briangormanly commented 11 months ago

Given that .12-.15c per image will add up quickly at scale, we need a temporary solution to manage.

  1. Make sure bio field is not empty and has at least xx (20?) characters in it to provide a useful prompt BEFORE sending anything to the OpenAI api.
  2. Maybe limit a user to 3 free image generations (perhaps future versions will allow users to donate and access additional image generations).