How to submit aesthetic ratings through v2 API?
Hey!
Not sure if this is the palce to ask questions, but I have one.
I can't quite figure out how to submit ratings for generated images.
According to the API docs, the /v2/generate/rate/{id}
endpoint is for submitting ratings, but I can't figure out how to actually call this enpoint.
For starters, what is {id} in this case?
I've checked the source at github, and to my understanding it's a WaitingPrompt
id, which, if I'm correct is the id what /api/v2/generate/async
gives back in its response.
Now the API docs tells me I can submit a set of ratings and also a best one from that set. Is this means that if I generate multiple images with one request, I can rate only those images? And should I use the UUID of the images in each rating object, the id I get back from /v2/generate/status/{id}
in each generation object?
Also, should I specify the apikey in headers?
I tried to send POST requests to https://aihorde.net/api/v2/generate/rate/%7Bid%7D
, but I always get back the f