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 · 12 میگا پکسل
درخواستیں

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ان پٹ بھیجیں۔ اگر دوبارہ کوشش کرنی ہے تو ایک idempotency کی محفوظ کریں۔
  2. 202 Acceptedکام جاری ہو تو ID اور نتیجے کا URL محفوظ رکھیں۔
  3. GET /v1/predictions/:idحالت دیکھیں اور پیش گوئی مکمل ہو جائے تو نتیجہ پڑھیں۔

حالتوں کی مثالیں queued → running → completed / failed.

401 ملے تو API کی چیک کریں۔ 429 ملے تو انتظار کریں اور اسی idempotency کی کے ساتھ دوبارہ کوشش کریں۔

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.