Not Just Grounding: Locate & Act
Most GUI grounding models stop at drawing a bounding box, leaving you to call a slow multi-second VLM on every single frame to decide what to do next. Manina AI goes beyond static grounding: it both locates UI controls (Locate) and executes closed-loop mobile steps (Act) from raw iPhone and Android pixels in ~72-113 ms, faster than a phone’s own screen transition animation, with no accessibility tree, app SDK, or jailbreak required.
Open-weight HD-1.0 vs. hosted commercial Lite-1.0
Section titled “Open-weight HD-1.0 vs. hosted commercial Lite-1.0”| Dimension | Manina-4B-Lite-1.0 (Hosted Commercial API) | Manina-4B-HD-1.0 (Open Research Weights) |
|---|---|---|
| Core capability | Locate and Act: pixel grounding (/v1/locate) plus closed-loop next-step execution (/v1/act: TAP, 4-way SWIPE, TYPE, KEY, BACK, HOME, OPEN, WAIT, DONE, plan-step tracking, and calibrated op_prob handback) |
Locate only: static [x1, y1, x2, y2] box and (x, y) tap point for a single phrase (no action or step-routing heads) |
| Visual budget | 640 visual tokens purpose-built for live 540 px phone streams without losing small-icon precision | 1,280 visual tokens (485 / 501 = 96.81% on ScreenSpot-v2 mobile; shrinking budget degrades small icons) |
| Typical server latency | ~72-83 ms P50 (/v1/locate) · ~113 ms P50 (/v1/act) on our CUDA-Graph + Flash-Linear-Attention production stack |
~300 ms warm on Hugging Face ZeroGPU (1,280 tokens, single-pass transformers) |
| Pricing & license | $0.30 / 1,000 answered calls ($1 free starter credit, $0 idle GPU cost) | Manina Research License 1.0 (non-commercial academic & research evaluation only) |
Fastest ways to start: AI agent or CLI
Section titled “Fastest ways to start: AI agent or CLI”You don’t have to wire HTTP requests by hand:
-
Feed these docs directly to your AI coding agent: Give Claude Code, Codex, Cursor, or DeepSeek Harness our plain-text documentation bundle (
manina.ai/llms-full.txtormanina.ai/llms.txt) and ask it to write the integration for your stack:Prompt for Claude Code / Codex / Cursor Read https://manina.ai/llms-full.txt and integrate the Manina AI API (POST https://llm.manina.ai/v1/locateand POST /v1/act) using MANINA_API_KEY, gating taps on on_screen and retrying 503 busy after Retry-After. -
Use our CLI directly (
npm i -g manina): If you want to drive a connected Android phone (over USBadb) or iPhone (via an ESP32 Agent board) right now without writing loop code, install the Manina CLI:Terminal npm i -g maninamanina loginmanina run "Open Settings and go to Wi-Fi"
HTTP API overview
Section titled “HTTP API overview”| Property | Value |
|---|---|
| Base URL | https://llm.manina.ai |
| Authentication | Authorization: Bearer hsk_live_… (hsk_test_… in Sandbox) · API keys → |
| Content-Type | application/json (request body up to 12 MB; PNG, JPEG, or WebP base64) |
| Endpoints | POST /v1/locate (manina-locate-1) · POST /v1/act (manina-act-1) |
| Server-side latency | ~72-83 ms P50 (/v1/locate) · ~113 ms P50 (/v1/act) on our dedicated production GPU stack (~200 ms on baseline single-L4 preview) |
| Pricing | $0.30 / 1,000 answered calls ($0.0003 / call); 4xx / 5xx errors and 503 busy cost $0 · Billing → |
Quick example (POST /v1/locate)
Section titled “Quick example (POST /v1/locate)”import base64, json, os, urllib.request
with open("screenshot.png", "rb") as f: image_b64 = base64.b64encode(f.read()).decode("ascii")
req = urllib.request.Request( "https://llm.manina.ai/v1/locate", data=json.dumps({ "image": image_b64, "text": "Settings app icon", }).encode("utf-8"), headers={ "Authorization": f"Bearer {os.environ['MANINA_API_KEY']}", "Content-Type": "application/json", }, method="POST",)
with urllib.request.urlopen(req) as resp: res = json.loads(resp.read().decode("utf-8"))
if res["on_screen"]: print("Tap pixel:", res["point"], "box:", res["box"])import { readFileSync } from 'node:fs';
const response = await fetch('https://llm.manina.ai/v1/locate', { method: 'POST', headers: { Authorization: `Bearer ${process.env.MANINA_API_KEY}`, 'Content-Type': 'application/json', }, body: JSON.stringify({ image: readFileSync('screenshot.png').toString('base64'), text: 'Settings app icon', }),});
const res = await response.json();if (res.on_screen) { console.log('Tap pixel:', res.point, 'box:', res.box);}( printf '{"text":"Settings app icon","image":"' base64 < screenshot.png | tr -d '\n' printf '"}') | curl -sS https://llm.manina.ai/v1/locate \ -H "Authorization: Bearer $MANINA_API_KEY" \ -H "Content-Type: application/json" \ --data-binary @-