WrongThinking

Eidos Gaze v1.5

Where an element stands out in an image

你需要什么

Attach a still PNG, JPEG or WebP image up to 3 MB and 12 megapixels.

工作原理

Eidos Gaze combines local details with the scene layout to estimate the distribution of gaze.

如何解读结果

Open the heatmap to locate peaks. The percentages show the estimated share of attention in each area.

API 和价格

API 价格 (USD)

$0.025 每张图像

在工作台查看价格
API v1

Check GET /v1/models for current model availability.

模型 ID
eidos
输入
PNG、JPEG 或 WebP 图像
输出
注意力图、集中度和三等分区域占比
工作台限制
3 MB · 1200 万像素
请求

The API accepts one asynchronous job per request. The body includes the model ID and its input object. Send the key in Authorization from your server.

  1. POST /v1/predictions发送输入。如果需要重试,请保留幂等键。
  2. 202 Accepted任务处理期间,请保存 ID 和结果 URL。
  3. GET /v1/predictions/:id查看状态,等预测完成后读取结果。

状态示例 queued → running → completed / failed.

如果收到 401,请检查 API 密钥。如果收到 429,请稍候,再使用同一个幂等键重试。

HTTP 请求
POST /v1/predictions HTTP/1.1Host: wrongthinking.comAuthorization: Bearer <API_KEY>Content-Type: application/jsonIdempotency-Key: <REQUEST_KEY> {  "model": "eidos",  "input": {    "image_url": "https://wrongthinking.com/images/gallery/coffee-frame.webp"  }}
输入和输出

需要准备什么

Attach a still PNG, JPEG or WebP image up to 3 MB and 12 megapixels.

Input fields

image_urlURL
Public HTTPS URL of a static PNG, JPEG or WebP image up to 3 MiB and 12 megapixels.

返回内容

注意力图、集中度和三等分区域占比. 结果的主要字段 jpeg · layerPng · hotspots · regions · grid · focus.

结果示例
{  "id": "pred_demo_001",  "model": "eidos",  "status": "completed",  "result": {    "kind": "attention",    "version": "Eidos Gaze v1.5 · personal",    "width": 360,    "height": 640,    "regions": [16, 78.25, 5.75],    "grid": [      [10.17, 2.71, 0.16],      [5.75, 72.39, 5.28],      [0.07, 3.15, 0.31]    ],    "focus": 84.98,    "hotspots": [      {        "x": 0.501,        "y": 0.528      }    ],    "jpeg": "<BASE64_JPEG>",    "layerPng": "<BASE64_PNG>"  }}
回调

callback_url is an optional HTTPS URL on your server. The event reports the terminal status and includes a reference for retrieving the response.

prediction.completed
预测已完成,可以获取结果。
prediction.failed
预测失败。请查询状态以查看错误。
batch.completed
批处理已结束。即使批次状态为部分成功,也要检查每一项。

When integrating, verify the signature before accepting the event, deduplicate by ID, and return 2xx after recording it. Compute HMAC-SHA256 using your signing secret as text and Wrongthinking-Timestamp + a dot + the raw body. Compare the hex digest with Wrongthinking-Signature after v1=. Retries follow the previous failure after 1, 5 and 15 minutes.

预测事件
{  "id": "evt_demo_001",  "type": "prediction.completed",  "data": {    "id": "pred_demo_001",    "model": "eidos",    "status": "completed",    "result_url": "/v1/predictions/pred_demo_001"  }}
批次

把同一模型的输入集中放在 items 下。为每项输入分配唯一的 custom_id,即使完成顺序不同,也能对应到正确的结果。

  1. POST /v1/batches验证每项输入。若总大小或项目数超过上限,请拆分成多个批次。
  2. GET /v1/batches/:id查看每一项的状态。同一个批次可以同时包含成功和失败的项目。
  3. custom_id保存有效结果,只将需要重试的项目放入新的批次。

Each batch accepts 1–8 items, 512 KiB of JSON and 3 MiB of images combined. Up to two predictions run concurrently per account.

批次请求
POST /v1/batches HTTP/1.1Host: wrongthinking.comAuthorization: Bearer <API_KEY>Content-Type: application/jsonIdempotency-Key: <REQUEST_KEY> {  "model": "eidos",  "items": [    {      "custom_id": "case-01",      "input": {        "image_url": "https://wrongthinking.com/images/gallery/coffee-frame.webp"      }    },    {      "custom_id": "case-02",      "input": {        "image_url": "https://wrongthinking.com/images/gallery/coffee-frame.webp"      }    }  ]}

致谢与许可

Eidos Gaze v1.5 · WrongThinkingWrongThinking · DINOv2 / SigLIP 2 / UNISAL (Apache 2.0) · CLIP (MIT)

Estimador de densidad de WrongThinking entrenado con UEyes y calibrado con GazeMining y DIDEC. Usa representaciones de DINOv2, pesos espaciales de UNISAL e imágenes de COCO para reconocer el tipo de escena.