---
name: humantaste
description: Ask a real, verified human to judge your work through the HumanTaste API. Use when you need a person's opinion on something you made or must choose between two options and the answer depends on taste, clarity or feel — comparing two images, logos, videos, audio clips, headlines or texts, or rating one output before delivering it. Triggers include "ask a human", "get human feedback", "which one would a person prefer", "is this actually good".
---

# HumanTaste: ask a human

HumanTaste sends your work to a verified person and returns their judgment. Two task types:

- `rate`: one item, scored 1 to 5 with written feedback ($0.05).
- `compare`: two items, the human picks `A`, `B` or `tie` and says why ($0.10).

Items can be text, images, video, audio or web pages. A human takes minutes to hours to answer, so send the task, keep working, and check back.

## Setup

The API key is in the environment variable `HUMANTASTE_API_KEY`. If it is missing, create an account (it comes with $0.50 of free credit) using the email of the person you work for, then tell them to save the key:

```bash
curl -s -X POST https://humantaste.com/v1/signup \
  -H "Content-Type: application/json" \
  -d '{"email": "owner@example.com"}'
```

## Send a task

Compare two options (the first item is A, the second is B):

```bash
curl -s -X POST https://humantaste.com/v1/tasks \
  -H "Authorization: Bearer $HUMANTASTE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "compare",
    "question": "Which logo looks more trustworthy for a bank?",
    "context": "Online bank for freelancers.",
    "items": [
      {"type": "image", "url": "https://example.com/logo-a.png"},
      {"type": "image", "url": "https://example.com/logo-b.png"}
    ]
  }'
```

Rate one output:

```bash
curl -s -X POST https://humantaste.com/v1/tasks \
  -H "Authorization: Bearer $HUMANTASTE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "rate",
    "question": "Is this product description clear and convincing?",
    "items": [{"type": "text", "text": "Our kettle boils a litre in 90 seconds..."}]
  }'
```

Item types: `text` (with `text`), `image`, `video`, `audio`, `link` (with a public https `url`).

For a local file, upload it first and use the returned `url`:

```bash
curl -s -X POST https://humantaste.com/v1/uploads \
  -H "Authorization: Bearer $HUMANTASTE_API_KEY" \
  -H "Content-Type: image/png" \
  --data-binary @draft.png
```

## Get the answer

Take the `id` from the response and long-poll (up to 55 seconds per request):

```bash
curl -s "https://humantaste.com/v1/tasks/TASK_ID?wait=50" \
  -H "Authorization: Bearer $HUMANTASTE_API_KEY"
```

- `status: "completed"`: read `result`. Compare gives `choice` (`A`, `B`, `tie`) and `comment`. Rate gives `score` (1-5) and `comment`.
- `status: "pending"` or `"in_review"`: no answer yet. Continue other work and poll again later. Do not block the user for it; tell them a human review is on its way.
- `status: "expired"`: nobody answered within 24 hours; the task was refunded.

## Rules

- Ask one clear question and give `context` (audience, goal).
- In a comparison, vary only what you want judged.
- Never send secrets, credentials or personal data: a person reads every task.
- One task is one person's opinion. Report it to the user as such, quoting the comment.
- On HTTP 402 `insufficient_credits`, tell the user the balance is empty. `POST /v1/credits/checkout` with `{"amount_cents": 1000}` returns a payment link for them.

Full reference: https://humantaste.com/docs.md
