तुम्हाला काय लागेल
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 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इनपुट पाठवा. पुन्हा प्रयत्न करायचा असल्यास आयडेम्पोटन्सी की जतन करा.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.
मॉडेल काय परत देते
लक्षाचा नकाशा, एकाग्रता आणि तीन भागांतील वाटा. निकालातील मुख्य फील्ड 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.