تہانوں کی چاہیدا اے
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 تصویر
- آؤٹ پٹ
- دھیان دا نقشہ، اکٹھا دھیان تے تِن حصیاں وچ ونڈ
- Studio دیاں حداں
- 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.
POST /v1/predictionsاِن پٹ گھلو۔ جے فیر کوشش کرنی ہووے تاں idempotency کِنجی سانبھ لو۔202 Acceptedکم چلدا پیا ہووے تاں ID تے نتیجے دا URL سانبھ لو۔GET /v1/predictions/:idحالت ویکھو تے پیش گوئی پوری ہووے تاں نتیجہ پڑھو۔
حالتاں دیاں مثالاں queued → running → completed / failed.
جے 401 آوے تاں API کِنجی ویکھو۔ جے 429 آوے تاں ذرا ٹھہر کے اوسے idempotency کِنجی نال فیر کوشش کرو۔
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 رکھو تاں جو کم اگے پچھے مکّن تے وی نتیجہ لبھے۔
POST /v1/batchesہر اِن پٹ دی پڑتال کرو۔ جے کُل سائز یا آئٹماں دی گِنتی حد توں ودھ جاوے تاں کم نوں کئی بیچاں وچ ونڈو۔GET /v1/batches/:idہر آئٹم دی حالت ویکھو۔ اک بیچ وچ کجھ آئٹم کامیاب تے کجھ ناکام ہو سکدے نیں۔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.