Example output
{
  "id": "gen-dec-1792076576-CKThKFWE394fPoeFsNRP",
  "model": "cloudflare/clef",
  "usage": {
    "cost": 0.00001475523,
    "input_tokens": 333,
    "output_tokens": 0
  },
  "answers": {
    "in_paris": {
      "noul": 0.9693,
      "type": "noul"
    },
    "is_100_meters_tall": {
      "noul": 0.0283,
      "type": "noul"
    },
    "built_by_gustave_eiffel": {
      "noul": 0.9423,
      "type": "noul"
    }
  }
}

Eachlabs Decisions

Text → Text·each-tools·by Unified AI API for hundreds models. Access video, image, and audio generation from leading providers through one integration with eachlabs.

Ask typed questions about any content and get calibrated answers: yes/no probabilities, choices and scores.

Runtime (p50)
-
Estimated price
Usage-based
Call the API
prediction.sh
sh
curl -X POST \
  -H "Authorization: Bearer $EACHLABS_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{
    "model": "eachlabs-decisions",
    "input": {
        "model": "cloudflare/clef",
        "state": "The Eiffel Tower",
        "questions": {
            "in_paris": {
                "type": "noul",
                "instructions": "Is this landmark in Paris?"
            },
            "is_100_meters_tall": {
                "type": "noul",
                "instructions": "Is it 100 meters tall?"
            },
            "built_by_gustave_eiffel": {
                "type": "noul",
                "instructions": "Was it built by Gustave Eiffel's company?"
            }
        }
    },
    "webhook_url": ""
}' \
  https://api.eachlabs.ai/v1/prediction/

Related models

4 models
* FAQ

About Eachlabs Decisions

01 / 03

What does Eachlabs Decisions return?

One typed answer per question: a noul probability for yes/no questions, a choice with probabilities, or a score with a legend, plus token usage and cost.