8 ms·
Example JSON Response (Simplified): ``` [ { "id": 42, "role": "button", "text": "Add to Cart", "bbox": { "x": 935, "y": 529, "w": 200, "h":
by tonyww 9mo ago
Example JSON Response (Simplified):
```
[
{
"id": 42,
"role": "button",
"text": "Add to Cart",
"bbox": { "x": 935, "y": 529, "w": 200, "h": 50 },
"visual_cues": {
"cursor": "pointer",
"is_primary": true,
"color_name": "yellow"
}
},
{
"id": 43,
"role": "link",
"text": "Privacy Policy",
"bbox": { "x": 100, "y": 1200, "w": 80, "h": 20 },
"visual_cues": {
"cursor": "pointer",
"is_primary": false
}
}
]
```
This prototype builds on several open-source libraries:
MoviePy – video composition and rendering
Pillow (PIL) – image processing and overlays
The demo app (MotionDocs) uses the public SentienceAPI SDK, generated from OpenAPI, which is the same interface used by the system internally.