WrongThinking

Kinesis 1.7

వీడియోలో శ్రద్ధ ఎలా మారుతుంది

మీకు ఏం కావాలి

ఎనిమిది వీడియోల వరకు జత చేయండి. MP4 లేదా MOVలో H.264 లేదా H.265 (HEVC), WebMలో VP8, VP9 లేదా AV1 వాడండి. ఒక్కో క్లిప్ పరిమితి 4 నిమిషాలు, 1080p, 32 MB.

ఇది ఎలా పనిచేస్తుంది

Light ప్రతి సెకనుకూ, Medium ప్రతి 250 మిల్లీసెకన్లకూ, High ప్రతి 50 మిల్లీసెకన్లకూ, Extra High ప్రతి 10 మిల్లీసెకన్లకూ నమూనా తీసుకుంటాయి. షాట్, కూర్పు మార్పుల ఆధారంగా ఎంచుకున్న ఫ్రేముల్లో MediaAttention దృశ్య ప్రాధాన్యాన్ని అంచనా వేస్తుంది. Kinesis 1.7 కదలిక ఆధారంగా మధ్య మ్యాప్‌లను నవీకరించి, కట్‌ను గుర్తించినప్పుడు చరిత్రను రీసెట్ చేస్తుంది.

ఫలితాన్ని ఎలా చదవాలి

ఏకాగ్రత విలువ 0 నుంచి 100 వరకు ఉంటుంది. అంచనా వేసిన శ్రద్ధలో 80% ఫ్రేమ్‌లో చిన్న ప్రాంతానికి పరిమితమైతే అది పెరుగుతుంది. ప్లేయర్ ప్రస్తుత విలువను, వ్యవధి బరువుతో క్లిప్ సగటును చూపిస్తుంది. మూడు భాగాల్లోని శాతాలు శ్రద్ధ పంపిణీని చూపుతాయి. నిజమైన చూపును కొలవడానికి ఐ ట్రాకింగ్ కావాలి.

API, ధరలు

API ధరలు (USD)

$0.02 నుంచి వీడియో నిమిషానికి

స్టూడియోలో ధరలు చూడండి
API v1

Check GET /v1/models for current model availability.

ధర వీడియో వ్యవధికి అనులోమంగా ఉంటుంది. పూర్తయిన ఒక్కో విశ్లేషణకు కనీసం $0.01 USD.

అంచనా API ధర · $0.045 USD
మోడల్ ID
kinesis
ఇన్‌పుట్
MP4, MOV లేదా WebM వీడియో
అవుట్‌పుట్
కాలంతో మారే హీట్‌మ్యాప్, చూపు గమనం, మూడు భాగాల్లో ప్రాధాన్యం, ప్రతి నమూనా, క్లిప్ ఏకాగ్రత
స్టూడియో పరిమితులు
4 నిమిషాలు · 1080p · 32 MB
అభ్యర్థనలు

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ఇన్‌పుట్ పంపండి. మళ్లీ ప్రయత్నించాల్సి రావచ్చు కాబట్టి ఐడెంపోటెన్సీ కీని భద్రపరచండి.
  2. 202 Acceptedపని జరుగుతున్నప్పుడు ID, ఫలితపు URLను భద్రపరచండి.
  3. GET /v1/predictions/:idస్థితిని చూసి అంచనా పూర్తయ్యాక ఫలితాన్ని చదవండి.

స్థితులకు ఉదాహరణలు queued → running → completed / failed.

401 వస్తే API కీని సరిచూడండి. 429 వస్తే కాసేపు ఆగి అదే ఐడెంపోటెన్సీ కీతో మళ్లీ ప్రయత్నించండి.

HTTP అభ్యర్థన
POST /v1/predictions HTTP/1.1Host: wrongthinking.comAuthorization: Bearer <API_KEY>Content-Type: application/jsonIdempotency-Key: <REQUEST_KEY> {  "model": "kinesis",  "input": {    "video_id": "<VIDEO_ID>",    "level": "medium"  }}
ఇన్‌పుట్‌లు, అవుట్‌పుట్‌లు

ఏం సిద్ధం చేయాలి

ఎనిమిది వీడియోల వరకు జత చేయండి. MP4 లేదా MOVలో H.264 లేదా H.265 (HEVC), WebMలో VP8, VP9 లేదా AV1 వాడండి. ఒక్కో క్లిప్ పరిమితి 4 నిమిషాలు, 1080p, 32 MB.

Input fields

video_idstring
Attach the video to a Studio chat and copy the ID at the end of its /api/chats/files/{id} download link. Up to 4 minutes and 32 MiB.
levelstring
ఐచ్ఛికం. light, medium, high, extra-high. డిఫాల్ట్ స్థాయి medium.

మోడల్ ఇచ్చేది

కాలంతో మారే హీట్‌మ్యాప్, చూపు గమనం, మూడు భాగాల్లో ప్రాధాన్యం, ప్రతి నమూనా, క్లిప్ ఏకాగ్రత. ఫలితంలోని ప్రధాన ఫీల్డ్‌లు duration · rate · anchors · regions · focus · samples.

నమూనా ఫలితం
{  "id": "pred_demo_001",  "model": "kinesis",  "status": "completed",  "result": {    "kind": "video",    "version": "Kinesis 1.7",    "duration": 6.75,    "rate": 4,    "anchors": 7,    "regions": [30.59, 46.79, 22.63],    "samples": "<27 temporal maps>"  }}
కాల్‌బ్యాక్‌లు

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": "kinesis",    "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": "kinesis",  "items": [    {      "custom_id": "case-01",      "input": {        "video_id": "<VIDEO_ID>",        "level": "medium"      }    },    {      "custom_id": "case-02",      "input": {        "video_id": "<VIDEO_ID>",        "level": "medium"      }    }  ]}

కృతజ్ఞతలు, లైసెన్సులు

Kinesis 1.7 · WrongThinkingWrongThinking · MediaAttention Apache 2.0

Pratyush Mahapatra రూపొందించిన MediaAttention-Ads v1, UNISAL, UEyes ఆధారంగా WrongThinking రూపొందించిన కాలానుగుణ అనుసరణ.