Do que você precisa
Attach a still PNG, JPEG or WebP image up to 3 MB and 12 megapixels.
Como funciona
Eidos Gaze combines local details with the scene layout to estimate the distribution of gaze.
Como interpretar o resultado
Open the heatmap to locate peaks. The percentages show the estimated share of attention in each area.
API e preços
Check GET /v1/models for current model availability.
- ID do modelo
eidos- Entrada
- Imagem PNG, JPEG ou WebP
- Resultado
- Mapa de atenção, concentração e distribuição por terços
- Limites no Estúdio
- 3 MB · 12 megapixels
Requisições
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/predictionsEnvie a entrada e guarde uma chave de idempotência se precisar tentar novamente.202 AcceptedGuarde o ID e a URL do resultado enquanto a tarefa é processada.GET /v1/predictions/:idConsulte o status e leia o resultado quando a previsão terminar.
Exemplos de status queued → running → completed / failed.
Se receber 401, verifique a chave da API. Se receber 429, aguarde antes de tentar novamente com a mesma chave de idempotência.
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" }}Entradas e saídas
O que preparar
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.
O que é retornado
Mapa de atenção, concentração e distribuição por terços. Principais campos do resultado 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>" }}Callbacks
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
- A previsão terminou e o resultado pode ser consultado.
- prediction.failed
- A previsão falhou. Consulte o status para ver o erro.
- batch.completed
- O lote terminou. Confira cada item, mesmo quando o status do lote for parcial.
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" }}Lotes
Agrupe em items as entradas do mesmo modelo. Atribua um custom_id único a cada uma para associar os resultados, mesmo quando o processamento terminar em outra ordem.
POST /v1/batchesValide cada entrada. Divida o trabalho em lotes se o tamanho total ou o número de itens ultrapassar o limite.GET /v1/batches/:idConsulte o status de cada item. Um lote pode ter sucessos e erros.custom_idGuarde os resultados válidos e prepare outro lote somente com os itens que podem ser processados novamente.
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" } } ]}Créditos e licenças
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.