必要なもの
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 と料金
Check GET /v1/models for current model availability.
- モデル ID
eidos- 入力
- PNG、JPEG、または WebP 画像
- 出力
- 注意マップ、集中度、3分割した領域ごとの割合
- Studio の上限
- 3 MB · 1,200 万画素
リクエスト
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.
POST /v1/predictions入力を送信します。再試行する可能性がある場合は、冪等性キーを保存してください。202 Accepted処理中は ID と結果の URL を保存しておきます。GET /v1/predictions/:idステータスを確認し、予測の完了後に結果を取得します。
ステータスの例 queued → running → completed / failed.
401 が返ったら API キーを確認してください。429 が返ったら、時間をおいて同じ冪等性キーで再試行してください。
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.
返される内容
注意マップ、集中度、3分割した領域ごとの割合. 結果の主なフィールド 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 を設定してください。
POST /v1/batches入力を1件ずつ検証します。合計サイズや件数が上限を超える場合は、複数のバッチに分けます。GET /v1/batches/:id各項目のステータスを確認します。1つのバッチに成功と失敗が混在することがあります。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.