---
title: "Submit aesthetic ratings for generated images to be used by LAION and Stability"
method: POST
path: "/v2/generate/rate/{id}"
tags: ["v2"]
---

# Submit aesthetic ratings for generated images to be used by LAION and Stability

`POST /v2/generate/rate/{id}`

AI
The request has to have been sent as shared: true.
You can select the best image in the set, and/or provide a rating for each or some images in the set.
If you select best-of image, you will gain 4 kudos. Each rating is 5 kudos. Best-of will be ignored when ratings conflict with it.
You can never gain more kudos than you spent for this generation. Your reward at max will be your kudos consumption - 1.

## Headers

- `Client-Agent` string
- `X-Fields` string, mask

## Request body

- AestheticsPayload
  - `best` string — The UUID of the best image in this generation batch (only used when 2+ images generated). If 2+ aesthetic ratings are also provided, then they take precedence if they're not tied.
  - `ratings` AestheticRating[]
    - `id` string, required — The UUID of image being rated.
    - `rating` integer, required — The aesthetic rating 1-10 for this image.
    - `artifacts` integer — The artifacts rating for this image. 0 for flawless generation that perfectly fits to the prompt. 1 for small, hardly recognizable flaws. 2 small flaws that can easily be spotted, but don not harm the aesthetic experience. 3 for flaws that look obviously wrong, but only mildly harm the aesthetic experience. 4 for flaws that look obviously wrong & significantly harm the aesthetic experience. 5 for flaws that make the image look like total garbage.

## Response `200`

Aesthetics Submitted

- GenerationSubmitted
  - `reward` number — The amount of kudos gained for submitting this request.

## Other responses

- `400` — Aesthetics Already Submitted
- `401` — Invalid API Key
- `404` — Generation Request Not Found

---

[API](https://skmtc.net/haidra-org/apis/ai-horde.md) · [All operations](https://skmtc.net/haidra-org/apis/ai-horde/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/haidra-org/ai-horde/revisions/dfeb0bedd935/schema)
