ndahlquist / stable-horde-flutter

An Android+iOS app for the Stable Horde
https://stablehorde.net
GNU General Public License v3.0
53 stars 20 forks source link

Feature request: rating images #96

Open nntb opened 1 year ago

nntb commented 1 year ago

Like it says looking for this feature

ndahlquist commented 1 year ago

Thanks @nntb ! @Khosbayar this feature would add a rating UI on generated images. If a user rates an image, they get kudos back and it helps to train future Stable Diffusion models.

There is some info about the API for this in the Discord space.

Khosbayar commented 1 year ago

Just wanted to confirm: https://ratings.droom.cloud/api/ is this the API? Yeah I have been thinking some UI iterations for this one.

Khosbayar commented 1 year ago

Also it duplicates with #69

ndahlquist commented 1 year ago

Ah yes- you are correct!

Khosbayar commented 1 year ago

I was wandering around the API doc here, little confused how to rate generated image.

  1. There is POST API called /v1/rating/{image_id}, in doc it mentions: You need to retrieve an image ID from /rating/new first ,
  2. Then when I look at GET API /v1/rating/new, the description says "Retrieve an image from the default dataset and parameters are only apiKey.

The questions are:

  1. Do we really use GET API /v1/rating/new to get image-id?
  2. If so, how do we know which image user is rating?
ndahlquist commented 1 year ago

I'm not sure, I haven't tried this API before. I think the best place for clarification on this is the Discord.

Khosbayar commented 1 year ago

Sounds good