
OWLv2 Base
Finds the things you name in a picture, even rare or unusual ones, and returns a box around each one.
Fine-tunableGROUNDING_DINO_BASEFinds the things you name in a picture, such as "red car, person with a helmet", and returns a box around each one.

| Name | Type | Required | Default | Details |
|---|---|---|---|---|
labels | text | Yes | — | What to find, comma-separated ("cat, red car") or a JSON array (["cat", "red car"]): up to 32 labels of up to 64 characters. Grounding DINO reads them in at most 2 prompts of 256 tokens, which only very long or symbol-heavy lists exceed. 1–12418 characters |
image | file | Yes | — | The picture to search: PNG, JPEG or WebP, up to 20 MB and 40 megapixels. image/png, jpeg, webp |
box_threshold | number | No | — | Lowest box score to return, 0 to 1; higher returns fewer, surer boxes. Empty uses the model's recommended value. 0–1 |
text_threshold | number | No | — | How well a box must match its label, 0 to 1. Empty uses the model's recommended value. 0–1 |
Output. JSON array, best first: [{"label": "...", "score": 0.87, "box": [x0, y0, x1, y1]}, ...], box corners in pixels of the image, at most 100 boxes.
Send your API key in the X-API-Key header. The run is asynchronous: submit it, then poll it until it finishes. Create an API key.
curl -X POST "https://api.kainguru.com/api/v1/executions?mlFlowId=GROUNDING_DINO_BASE" \
-H "X-API-Key: kg_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"input": {
"image": "https://example.com/input.png",
"labels": "example"
},
"outputFormat": "json"
}'
# Poll until the execution reaches a terminal state
curl "https://api.kainguru.com/api/v1/executions/{executionId}" \
-H "X-API-Key: kg_your_api_key"from kainguru import KainguruClient
with KainguruClient(api_key="kg_your_api_key", base_url="https://api.kainguru.com/api") as client:
submitted = client.executions.execute(
"GROUNDING_DINO_BASE",
{
"image": "https://example.com/input.png",
"labels": "example"
},
output_format="json",
)
result = client.executions.await_completion(submitted.id)
print(result.execution.output)You can fine-tune Grounding DINO Base on your own data and run the tuned model through the same API. Dataset: Images plus a JSONL manifest, one {"file", "boxes", "labels"} per image: file as its upload returned it, boxes [[x0, y0, x1, y1], ...] in pixels, a label per box, empty lists if nothing to find. 4 to 1000 images, up to 100 boxes each, 32 different labels.
The steps are in the docs.
Price per request: 0.0437 credits ($0.000437). The price is shown again before every run; all prices are on the pricing page.

Finds the things you name in a picture, even rare or unusual ones, and returns a box around each one.
Fine-tunable
Finds the layout of a document page, such as text blocks, titles, section headers, tables, pictures, captions…
Fine-tunable
Moondream 2 is a small vision model: it answers questions about a picture, writes short, normal or long captions and…
Fine-tunable
Detects the 80 everyday object classes of COCO, such as people, vehicles, animals, food and household items, with a…
Fine-tunable
One small vision model that captions images, reads text, boxes objects and finds things named by a phrase.
Fine-tunable
DePlot from Google reads a chart or plot image and returns the data table drawn in it.