Skip Navigation
AI Horde
AI Horde

Discuss the happenings around the AI Horde

Members
388
Posts
39
Active Today
1
Created
2 yr. ago
  • AI Horde @lemmy.dbzer0.com
    kuneho @lemmy.world

    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

  • AI Horde @lemmy.dbzer0.com
    db0 @lemmy.dbzer0.com
    haidra.net The new Haidra homepage

    A while ago, when we set up the Haidra organization, we also developed a pretty basic website with the help of the Artbot developer (rockbandit) hosted at haidra.net. However this website remained pretty bare-bones as it not easy to maintain and the rockbandit remained busy with Artbot itself. I

    The new Haidra homepage